All Products
Search
Document Center

Elastic Compute Service:Use Alibaba Cloud Client to manage elastic container instances

Last Updated:May 27, 2024

You can install Alibaba Cloud Client on an on-premises computer to view, query, or connect to Elastic Compute Service (ECS) instances, elastic container instances, simple application servers, and Alibaba Cloud managed instances. This topic describes how to use Alibaba Cloud Client to manage elastic container instances. You can use Alibaba Cloud Client to view container groups, connect to containers, and manage container groups.

Prerequisites

An Alibaba Cloud account is added to Alibaba Cloud Client. For more information, see Add accounts to Alibaba Cloud Client.

View container groups

  1. On the Home page of Alibaba Cloud Client, click ECI.

  2. On the instance list page, you can view the information of elastic container instances as shown in the following figure.ECI.png

    • ①: The region of elastic container instances. You can click the region to switch to another region.

    • ②: The list of elastic container instances.

    • ③: The pagination toolbar. You can navigate through pages by using the pagination toolbar.

    • ④: The search box.

      1. Enter a container group ID or container group name in the search box.

      2. Press the Enter key to search for the container group in the current region.

    • ⑤: The Actions menu that provides buttons for performing the following actions:

      • Restart or delete a container group.

      • View the details of a container and container group.

      • Connect to an instance. You need to click the container group ID and then perform operations on the container list page.

      • Go to the Elastic Container Instance console.

    • ⑥: This section shows the events of elastic container instances.

Connect to a container

  1. On the Home page of Alibaba Cloud Client, click ECI.

  2. In the upper-left corner of the page, select the region where the desired instance resides.

  3. Find the container group and click the container group ID.

  4. Find the container to which you want to connect. In the Actions column, choose Actions > Terminal.

  5. Specify a command type and click Connect.

    If the following information is displayed, the connection is established.连接成功

View the properties of a container

  1. On the Home page of Alibaba Cloud Client, click ECI.

  2. In the upper-left corner of the page, select the region where the desired instance resides.

  3. Find the desired container group and click the container group ID.

  4. Find the container whose properties you want to view. In the Actions column, choose Actions > View Properties.

    You can view the basic information of the container, such as the name, image, and command type.

Manage a container group

Restart a container group

  1. On the Home page of Alibaba Cloud Client, click ECI.

  2. In the upper-left corner of the page, select the region where the desired instance resides.

  3. Find the container group that you want to restart. In the Actions column, choose Actions > Restart Container Group.

  4. In the message appears, check information and then click Restart Container Group.

Delete a container group

  1. On the Home page of Alibaba Cloud Client, click ECI.

  2. In the upper-left corner of the page, select the region where the desired instance resides.

  3. Find the container group that you want to delete. In the Actions column, choose Actions > Delete Container Group.

  4. In the message that appears, check the instance information and then click Delete Container Group.

View the properties of a container group

  1. On the Home page of Alibaba Cloud Client, click ECI.

  2. In the upper-left corner of the page, select the region where the desired instance resides.

  3. Find the container group whose properties you want to view. In the Actions column, choose Actions > Show ContainerGroup Properties.

    You can view the basic information of the container group, such as the name, specifications, security group, and vSwitch of the container group.

View the events of an elastic container instance

  1. On the Home page of Alibaba Cloud Client, click ECI.

  2. In the upper-left corner of the page, select the region where the desired instance resides.

  3. You can use one of the following methods to go to the event list page of a container group to view event details:

    • Method 1: In the list of container groups, find the container group whose events you want to view and click the number in the Events column.

    • Method 2: In the list of container groups, find the container group whose events you want to view. In the Actions column, choose Actions > Show Events.

    The following figure shows the most recent five events of the elastic container instance. For information about common events and the corresponding solutions, see Custom events of Elastic Container Instance.事件列表.png

References