PNGC Slurm Cluster Connection

**Connection Information by internal/external Users
Username: The username comes from the username of your email address.
• UPenn Employee (internal users)
• Project Cooperation external users

UPenn Employee (internal users):
To access PNGC head node by SSH in Penn Network through our local gateway.
If you are not in Penn Network, please connect Penn VPN first. (Please download Penn VPN client at https://vpn.upenn.edu.)

Local Gateway host IP: xxx.xxx.xxx.xxx (IP address will provide in account welcome email)
In your computer terminal such as MobaXterm for PC. (You can download free MobaXterm Home Edition at https://mobaxterm.mobatek.net/, we usually download Portable edition)
# ssh <user-name>@xxx.local.gateway.xxx
Temporary password: ########### (it will provide in account welcome email)

After login to gateway, you can SSH into PNGC head node (IP address will provide in account welcome email)
# ssh xxx.head.node.xxx (or # ssh <user-name>@xxx.head.node.xxx)

Project Cooperation external users & UPenn Employee (internal users):

To access PNGC head node by AWS SSM commands:
https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

If you are a root, then
$ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
$ unzip awscliv2.zip
$ sudo ./aws/install
$ aws --version

If you are just a user, then
$ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
$ unzip awscliv2.zip
$ sudo ./aws/install --bin-dir /home/<your-username>/bin --install-dir /home/<your-username>/aws-cli
$ aws --version

After installed the AWS CLI, we can apply your AWS account by
# aws configure

Your AWS account (info will be sent to you by encryption email):
Access Key: <ABCDEFGHIJKLMNOPQRST>
Secret Access Key: <A123456789B123456789C123456789D123456789>
region name: us-east-1
output format: json

After AWS configure, you can use “aws s3 ls” command to view your project s3 bucket.
# aws s3 ls s3://<your-project-s3-bucket-name>

After AWS configure, you can use “aws ssm” command to make the Slurm Cluster Head Node of the PNGC connection.
# aws ssm start-session --target <head-node-i-instance-id>

How to connect PNGC RStudio WebApp (includes RSTudio, JupyterLab, Jupyter Notebook, VScode):
Amazon MFA App account
An invite email will be sent to you.
If any reason, you didn’t receive the email, please just click https://rstudio.penn-ngc.org/ to activate your account.
Username: <your-user-name>
Temporary password: XXXXXXXXX (will be expired in 7 days)

After your MFA has been verified, then you can login to RStudio WebApp.
RStudio webApp:
https://rstudio.penn-ngc.org/
Each user can only have three sessions which can be open to use.

Sign up to receive journal club/seminar announcements