This topic describes how to view and manage Elastic Compute Service (ECS) clusters. This topic also describes how to manage ECS instances and applications in an ECS cluster.
View the cluster list
- Log on to the EDAS console.
- In the left-side navigation pane, choose .
- On the ECS Cluster page, select the region in which you want to view the cluster list in the top navigation bar. In the upper part of the page, select the microservice namespace to which the clusters belong from the Microservice Namespace drop-down list. From the Cluster Type drop-down list, select ECS Clusters to view the list of ECS clusters in the microservice 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 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 in the EDAS console.
- To delete a cluster, click Delete in the Actions column of the cluster list. Important 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
- On the ECS Cluster page, click the ID of the cluster whose information you want to view.
- 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 cluster information such as the cloud to which the cluster belongs, cluster ID, cluster name, microservice namespace, cluster type, VPC ID, network type, and cluster status.
You can also manage the cluster on the Cluster Details page.
- On the Cluster Details page, click Delete in the upper-right corner to delete the cluster. Important 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 navigated to the VPC details page in the VPC console.
- 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.
- On the Cluster Details page, click Delete in the upper-right corner to delete 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. You can view the application information such as the 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. You are navigated to the Basic Information tab of the application details page.
- In the Cluster Information section, you can view the cluster information such as the cloud to which the cluster belongs, cluster ID, cluster name, microservice namespace, cluster type, VPC ID, network type, and cluster status.
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 Instance section.
- Purchase ECS instances to scale out the cluster
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 an existing ECS instance to purchase ECS instances based on the specifications of the existing ECS instance. For more information, see Purchase ECS instances.
- Add existing ECS instances to the cluster
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 a 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 navigated to the Instance Details page in the ECS console.
- View the details of the application deployed on an ECS instance
In the ECS Instance section, find the ECS instance on which an application is deployed, 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 tab of the application details page.
- Remove an ECS instanceIf no application is deployed on an ECS instance, you can remove the instance from the cluster.
- Find the ECS instance on which no applications are deployed, and click Remove in the Actions column. In the Remove ECS Instance message, click Remove.
- In the ECS Instance section, you can select multiple ECS instances on which 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 instanceYou can change the billing method for ECS instances in the cluster from pay-as-you-go to subscription.
- In the ECS Instance section, select the pay-as-you-go instances for which you want to change the billing method, and click Switch from Pay-as-you-go to Subscription in the lower part of the section.
- In the Switch to Subscription wizard, click Batch Change.
- 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 clusterIf no applications are deployed on ECS instances in a cluster, you can transfer the instances to another cluster at a time.
- In the ECS Instance section, select the ECS instances on which no applications are deployed, and click Transfer ECS Instance in the lower part of the section.
- In the Select 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.
- In the Ready to Import step, click Confirm and Import. Note If an ECS instance cannot be directly imported, select the check box for I agree to convert the preceding instances that need to be imported, and I understand that the data in the original system will be lost after the conversion. Then, set a new logon password for the ECS instance.
Delete a cluster
- On the ECS Cluster page, check whether the value of Instances for the cluster that 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 for the cluster is 0, go to the next step.
- If the value of Instances for the cluster is not 0, you must first remove the ECS instances from the cluster. For more information, see the "Remove an ECS instance" section in Manage ECS instances in a cluster.
- On the ECS Cluster page, click Delete in the Actions column of the cluster that you want to delete.
- In the OK message, click OK.