Connect to a cluster - Amazon ParallelCluster
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Connect to a cluster

When you use Amazon ParallelCluster, you can connect to the cluster head node to run jobs, view results, manage users, and monitor the cluster and job status. To connect to the cluster head node instance, use one of the following methods:

  • You can use ssh with a key pair to log in. Specify the private key in HeadNode / KeyName in the cluster configuration. For more information, see Connect to your Linux instance using SSH in the Amazon EC2 User Guide for Linux Instances.

  • You can use the pcluster ssh command line interface (CLI) command to log in. Specify the private key in the cluster configuration HeadNode / KeyName. For more information, see pcluster ssh.

  • You can use an SSM session to connect to the cluster head node. You must add the AmazonSSMManagedInstanceCore managed policy to HeadNode / AdditionalIamPolicies in the cluster configuration to connect by using an SSM session. For more information, see SSM session manager in the SSM User Guide.

  • You can use Amazon DCV to connect to the cluster head node. For more information, see Connect to the head and login nodes through Amazon DCV.

  • When you use the PCUI, you can also use an Amazon EC2 Connect command that the UI provides to connect to the cluster head node.