All Products
Search
Document Center

Log on to a cluster

Last Updated: Jul 30, 2021

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

  1. Log on to the E-HPC console.

  2. In the top navigation bar, select a region.

  3. In the left-side navigation pane, click Cluster.

  4. On the Cluster page, find the cluster to which you want to log on. Click Connect.

  5. In the Connect panel, enter the username, logon password, and port number of the cluster. Then, click Connect via SSH or Browse.

    SSH

Use SSH tool to connect to the cluster

  1. Run the following SSH command:

    ssh root@<Public IP address or EIP of the cluster>
  2. Enter the cluster logon password.

    If the Welcome to Alibaba Cloud Elastic Compute Service ! message appears, the connection to the cluster is successful.