After you create an Elastic High Performance Computing (E-HPC) cluster, you can remotely connect to the cluster to perform operations, such as managing files and submitting jobs. This topic describes how to connect to an E-HPC cluster in the E-HPC console.
Prerequisites
The Login component is configured for the cluster. A logon node is added and is in the Running state. For more information, see Install and uninstall custom services.
A user is created in the cluster. For more information, see Manage users.
ImportantWe recommend that you do not connect to the cluster as the root user, unless you have special requirements. If you need to connect to the cluster as the root user, you must enter the custom password that you set on the Confirm configuration page when you create the cluster.
Procedure
Go to the Cluster List page.
Log on to the E-HPC console.
In the left part of the top navigation bar, select a region.
In the left-side navigation pane, click Cluster.
On the Cluster page, find the cluster and click Connect in the upper-right corner.
NoteYou can also click SSH under Logon Node in the Custom Services section to connect to the logon node.
In the dialog box that appears, confirm that the status of the Logon Node is Running and click Log On.
ImportantFor a public cloud cluster of Standard Edition, the management node information is displayed. You can also connect to the management node for management and maintenance operations.
If you connect to the cluster by using a private IP address, make sure that the security group rules allow the
100.104.0.0/16CIDR block to access port 22.If you connect to the cluster by using a public IP address, associate an elastic IP address (EIP) with the management node. For more information, see Associate or disassociate an EIP.
In the Instance Login dialog box, configure the network connection and authentication method, and then click OK.
For more information, see Connect to an instance by using Workbench.
Related operations
In addition to using Workbench to connect to an E-HPC cluster, you can also use the following methods:
Connect to a cluster by using SSH
Run the following SSH command to connect to the cluster.
ssh <Username>@<Public IP address of the logon node>In the "Connect to the cluster" dialog box, you can view the public IP address of the logon node.

Enter the logon password.
If the
Welcome to Alibaba Cloud Elastic Compute Service !message appears, you are connected to the cluster.
Connect to a cluster by using VNC
Click VNC under Logon Node in the Custom Services section to connect to the logon node. For more information, see Connect to an instance by using VNC.
Connect to a cluster by using the E-HPC Portal
Click Web Portal under Logon Node in the Custom Services section to connect to the cluster by using the E-HPC Portal. For more information, see Log on to the E-HPC Portal.
You can also remotely access the visualized E-HPC GUI by using the E-HPC Portal. For more information, see Run VNCViewer to access a cluster.