After you create a cluster, you can log on to the cluster to perform operations on it. This topic describes how to log on to a cluster by using the Elastic High Performance Computing (E-HPC) console or a tool.
Prerequisites
A user is created. For more information, see Create a user.
An IP address is configured for the logon node of the cluster. The IP address can be a public IP address or an elastic IP address.
The logon node is in the Running state.
Security group rules are added to the security group where the logon node resides. Access to ports is allowed. For more information, see Add security group rules.
Rule direction
Action
Port range
Priority
Authorization object
Inbound
Allow
SSH (22)
1
0.0.0.0/0
Remotely connect to the cluster
Log on to the E-HPC console.
In the top navigation bar, select a region.
In the left-side navigation pane, click Cluster.
On the Cluster page, find the cluster to which you want to log on. Click Connect.
In the Connect panel, enter the username, logon password, and port number of the cluster. Then, click Connect via SSH or Browse.
Use SSH tool to connect to the cluster
Run the following SSH command:
ssh root@<Public IP address or EIP of the cluster>
Enter the cluster logon password.
If the
Welcome to Alibaba Cloud Elastic Compute Service !
message appears, the connection to the cluster is successful.