This topic describes how to view, manage, and delete an Elastic Compute Service (ECS) cluster, and how to manage ECS instances and applications in the cluster.

View the cluster list

  1. Log on to the EDAS console.
  2. In the left-side navigation pane, choose Resource Management > ECS Clusters.
  3. On the ECS Cluster page, select the region where your cluster is located in the top navigation bar. In the upper part of the page, select the namespace to which your cluster belongs from the Namespace drop-down list. From the Cluster Type drop-down list, select ECS Clusters to view the list of ECS clusters in the namespace.
    The cluster list contains all the ECS clusters and their basic information within the current Alibaba Cloud account or the Alibaba Cloud account to which the current Resource Access Management (RAM) user and the sub-account of Enterprise Distributed Application Service (EDAS) belongs.
    • On the ECS Cluster page, click Create Cluster in the upper-left corner to create an ECS cluster. For more information, see Create an ECS cluster by using the console.
    • To delete a cluster, click Delete in the Actions column of the cluster list.
      Notice If a cluster contains one or more ECS instances, you cannot delete the cluster.
    • Click the ID of the cluster whose information you want to view. On the Cluster Details page, you can view cluster information, manage ECS instances, and view the applications deployed in the cluster.

View cluster information

  1. On the ECS Cluster page, click the ID of the cluster whose information you want to view.
  2. On the Cluster Details page, view information in the Cluster Information, ECS Instance, and Applications sections.
    • In the Cluster Information section, you can view the following information: Cluster, Cluster ID, Cluster Name, Namespace, Cluster Type, VPC ID, Network Type, and Cluster Status.

      You can also manage clusters on the Cluster Details page.

      • On the Cluster Details page, click Delete in the upper-right corner to delete the cluster.
        Notice If a cluster contains one or more ECS instances, you cannot delete the cluster.
      • In the Cluster Information section, click the link next to VPC ID. You are redirected to the VPC page of the cluster.
      • In the Cluster Information section, click View Details in the upper-right corner to view the details of the cluster.
      • In the Cluster Information section, click Edit in the upper-right corner to modify the description of the cluster.
    • In the ECS Instance section, you can view the ECS instances in the cluster and their basic information. You can also manage the ECS instances in the cluster. For more information, see Manage ECS instances in a cluster.
    • In the Applications section, you can view the applications in the cluster, application name, JDK version, application runtime environment, total number of instances, number of running instances, and owner. Click the name of the application whose information you want to view. The Basic Information page of the application appears.

Manage ECS instances in a cluster

On the Cluster Details page, you can view the ECS instances in the cluster and the overview of the ECS instances in the ECS Instance section. You can also manage ECS instances in the ECS Instances section.

  • Purchase ECS instances for scale-out

    In the ECS Instance section, click Purchase ECS for Scale-out in the upper-right corner to purchase ECS instances for the cluster. Alternatively, click Purchase Same Specifications in the Actions column of the ECS instance whose specifications you want to be the same as those of ECS instances you want to purchase. For more information, see Purchase ECS instances.

  • Add existing ECS instances

    In the ECS Instance section, select Add Existing ECS Instances in the upper-right corner to add existing ECS instances to the current cluster. For more information, see Add existing ECS instances to the cluster.

  • View details of an ECS instance

    In the ECS Instance section, click the ID of the ECS instance whose details you want to view. You are redirected to the Instance Details page in the ECS console, where you can view the details of the ECS instance.

  • View details of the application deployed on an ECS instance

    In the ECS Instance section, find the ECS instance deployed with an application, and click View Details in the Actions column to view basic information about the deployed application. Click the name of the application in the Deployed Application column to go to the Basic Information page of the application deployed on the ECS instance.

  • Remove an ECS instance
    If no application is deployed on an ECS instance, you can remove the instance from the cluster.
    • Find the ECS instance where no applications are deployed, and click Remove in the Actions column. In the Remove ECS Instance dialog box, click Remove.
    • In the ECS Instance section, you can select the check boxes before the running ECS instances where no applications are deployed, and click Batch Remove in the lower part of the section. In the OK message, click OK.
  • Convert a pay-as-you-go instance to a subscription instance
    You can change the billing method for ECS instances in a cluster from pay-as-you-go to subscription.
    1. In the ECS Instance section, select the check boxes before pay-as-you-go instances, and click Switch from Pay-as-you-go to Subscription in the lower part of the section.
    2. In the Switch to Subscription wizard, click Batch Change.
    3. In the Switch to Subscription dialog box, select a value from the Duration drop-down list. To convert your disk to a subscription disk, select Switch to subscription disk. Then, click OK.
  • Transfer ECS instances to another cluster
    If no applications are deployed on ECS instances in a cluster, you can batch transfer the instances to another cluster.
    1. In the ECS Instance section, select the check boxes before the ECS instances where no applications are deployed, and click Transfer ECS Instance in the lower part of the section.
    2. In the Select the target cluster step, select the namespace to which the destination cluster belongs from the Namespace drop-down list, select the destination cluster, and then click Next.
    3. In the Ready to Import step, click Confirm and Import.
      Note If the ECS instance cannot be directly imported, select Agree to convert the above instances that need to be imported, and know that data in the original system will be lost after conversion. Then, set a new logon password for the ECS instance.

Delete a cluster

  1. On the ECS Cluster page, check whether the value of Instances of the cluster you want to delete is 0 in the cluster list. For more information about how to view the cluster list, see View the cluster list.
    • If the value of Instances of the cluster is 0, perform the next step.
    • If the value of Instances of the cluster is not 0, you must first remove the ECS instances in the cluster. For more information, see the "Remove an ECS instance" section of the Manage ECS instances in a cluster topic.
  2. On the ECS Cluster page, click Delete in the Actions column of the cluster that you want to delete.
  3. In the OK message, click OK.