Connect

The pcluster ssh is a wrapper around SSH. Depending on the case, you can also log in to your head node using ssh and the public or private IP address.

You can list existing clusters using the following command. This is a convenient way to find the name of a cluster in case you forget it.

pcluster list --color

Now that your cluster has been created, log in to the head node using the following command in your AWS Cloud9 terminal:

pcluster ssh hpc-cluster -i ~/.ssh/${SSH_KEY}

The EC2 instance asks for confirmation of the ssh login the first time you log in to the instance. Type yes.

Congrats! Now that you are logged in, you can explore what is possible and submit jobs.