Connect to an E-HPC cluster's logon node to manage files and submit jobs. The following connection methods are available:
Workbench: Connect through the E-HPC console using a browser-based terminal.
SSH: Connect from your local terminal using an SSH client.
VNC: Connect through a graphical remote desktop session.
E-HPC Portal: Connect through the web-based E-HPC Portal, including VNCViewer for GUI access.
Prerequisites
Before you begin, make sure you have:
The Login component configured for the cluster, with a logon node added and in the Running state. For more information, see Install and uninstall custom services.
A user account created in the cluster. For more information, see Manage users.
Avoid connecting as the root user unless required. If root access is necessary, use the custom password you set on the Confirm configuration page when you created the cluster.
Connect using Workbench
Workbench is the browser-based terminal built into the E-HPC console.
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 your cluster and click Connect in the upper-right corner.
Alternatively, click SSH under Logon Node in the Custom Services section.
In the dialog box, confirm that the Logon Node status is Running, then click Log On.
ImportantFor Standard Edition public cloud clusters, the management node is also displayed. To connect to the management node for administration tasks, configure the network access based on your connection type:
Private IP address: Make sure the security group rules allow the
100.104.0.0/16CIDR block to access port 22.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, then click OK. For more information, see Connect to an instance by using Workbench.
Connect using SSH
Run the following command to connect to the logon node. The public IP address of the logon node is displayed in the Connect to the cluster dialog box.
ssh <username>@<public-ip-of-logon-node>Enter your password when prompted. A successful connection displays the following message:
Welcome to Alibaba Cloud Elastic Compute Service !
Connect using VNC
Click VNC under Logon Node in the Custom Services section. For more information, see Connect to an instance by using VNC.
Connect using the E-HPC Portal
Click Web Portal under Logon Node in the Custom Services section to open the E-HPC Portal. For more information, see Log on to the E-HPC Portal.
To access the cluster's graphical interface through VNCViewer, see Run VNCViewer to access a cluster.