You can use Alibaba Cloud Client to view and connect to Elastic Compute Service (ECS) instances, elastic container instances, simple application servers, and instances managed by Alibaba Cloud. This topic describes how to use Alibaba Cloud Client to view, connect to, and manage simple application servers.

Prerequisites

One or more Alibaba Cloud accounts are added to Alibaba Cloud Client. For more information, see Add one or more accounts to Alibaba Cloud Client.

Background information

For information about simple application servers, see What is Simple Application Server?

View simple application servers

  1. On the homepage of Alibaba Cloud Client, click SWAS.
  2. On the Servers page, you can view the information of simple application servers, as shown in the following figure.
    Search for servers
    • ①: The section shows the location information of simple application servers displayed on the page. You can click the Arrow icon on the right side of a region to switch to another region.
    • ②: The section shows the list of simple application servers.
    • ③: The section shows the paging toolbar. You can navigate through pages by using the paging toolbar.
    • ④: The section shows the server search box.
      1. Enter the ID or IP address of a simple application server to search for it.
      2. Press the Enter key to search for the server in the current region.
    • ⑤: The section shows the Actions column of simple application servers. You can click the More icon in the Actions column to show the following options:
      • Connect: an action to connect to a simple application server.
      • Stop Instance: an action to stop a simple application server. Reboot Instance: an action to restart a simple application server.
      • Show Properties: an action to show the details of a simple application server.

Connect to a simple application server

Alibaba Cloud Client uses the SSH connection method to connect to simple application servers. Only simple application servers that run Linux operating systems can be connected by using Alibaba Cloud Client. Simple application servers that run Windows operating systems cannot be connected by using Alibaba Cloud Client.

  1. On the homepage of Alibaba Cloud Client, click SWAS.
  2. In the upper-left corner of the page, select the region of the server to which you want to connect.
  3. Find the server to which you want to connect and click Connect in the Actions column.
  4. Specify Username. Default value: root. You can specify a username based on your business requirements. Specify Port Num. Default value: 22. You can specify a port number based on your business requirements. Set Certifier.
    Valid values of Certifier:
    • Password: Enter the password of the simple application server.
      Note In Alibaba Cloud Client, you can click the Settings icon in the upper-right corner. On the Settings page, click SSH in the left-navigation pane. Then, set the Save Password to parameter. To save the instance password to the /.aliyun/secrets.json file on your computer, set the parameter to Local File. To save the instance password to Key Management Service (KMS), set the parameter to KMS. For more information, see Configure system settings.
    • Identity: Select an SSH private key file from the ~/.ssh/ directory or another directory on your computer.
  5. Click Connect.

Manage simple application servers

Restart a simple application server

  1. On the homepage of Alibaba Cloud Client, click SWAS.
  2. In the upper-left corner of the page, select the region of the server to which you want to connect.
  3. Find the server that you want to restart. Then, in the Actions column, click the More icon and select Reboot Instance.
  4. In the message that appears, confirm server information and click Reboot Instance.

Stop a simple application server

  1. On the homepage of Alibaba Cloud Client, click SWAS.
  2. In the upper-left corner of the page, select the region of the server to which you want to connect.
  3. Find the simple application server that you want to stop. Then, in the Actions column, click the More icon and select Stop Instance.
  4. In the message that appears, confirm server information and click Stop Instance.

View the attributes of a simple application server

  1. On the homepage of Alibaba Cloud Client, click SWAS.
  2. In the upper-left corner of the page, select the region of the server to which you want to connect.
  3. Find the server whose attributes you want to view. Then, in the Actions column, click the More icon and select Show Properties.
    In the message that appears, you can view the attributes of the server, such as the server name, the image used by the server, and the expiration time of the server.