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 using Amazon ParallelCluster, you can connect to the cluster head node to run jobs, view results, manage users, and monitor the cluster and job status. Connect to the cluster head node instance by using the following methods:

  • Log in by using ssh with a key pair. 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.

  • Log in by using the pcluster ssh command line interface (CLI) command. Specify the private key in the cluster configuration HeadNode / KeyName. For more information, see pcluster ssh.

  • Connect to the cluster head node by using an SSM session. 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.

  • Connect to the cluster head node by using NICE DCV. For more information, see Connect to the head node through NICE DCV.

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