pcluster dcv-connect
Permits to connect to the head node through an interactive session by using Amazon DCV.
pcluster dcv-connect [-h] --cluster-nameCLUSTER_NAME[--debug] [--key-pathKEY_PATH] [--login-node-ip LOGIN_NODE_IP] [--regionREGION] [--show-url]
Named arguments
-h, --help-
Shows the help text for
pcluster dcv-connect. --cluster-name, -nCLUSTER_NAME-
Specifies the name of the cluster.
--debug-
Enables debug logging.
--key-pathKEY_PATH-
Specifies the path of the SSH key to use for the connection.
--login-node-ip-
Specifies the public or private IP address of a login node in the cluster. Using this argument allows connection to a login node in the cluster with DCV enabled.
Note
This argument is added in AWS ParallelCluster version 3.11.0.
--region, -rREGION-
Specifies the AWS Region to use. The AWS Region must be specified, using the
AWS_DEFAULT_REGIONenvironment variable, theregionsetting in the[default]section of the~/.aws/configfile, or the--regionparameter. --show-url-
Prints the URL that would be used for the DCV connection and exits.
Example using AWS ParallelCluster version 3.11
$pcluster dcv-connect -ncluster-3Dcv--login-node-ip198.51.100.44-rus-east-1--key-path/home/user/.ssh/key.pem