Reviewed-by: Pristromskaia, Margarita <margarita.pristromskaia@t-systems.com> Co-authored-by: wanghuijuan738 <wanghuijuan738@huawei.com> Co-committed-by: wanghuijuan738 <wanghuijuan738@huawei.com>
10 KiB
Managing ECS Groups
Scenarios
An ECS group logically groups ECSs. ECSs in an ECS group comply with the same policy.
Currently, only the anti-affinity policy is supported.
You can perform the following operations:
- Creating an ECS Group
- Adding an ECS to an ECS Group
- Add an ECS to an ECS group during ECS creation.
For details, see Step 3: Configure Advanced Settings.
- Add an existing ECS to an ECS group.
- Add an ECS to an ECS group during ECS creation.
- Removing an ECS from an ECS Group
- Deleting an ECS Group
Creating an ECS Group
Create an ECS group and select a policy for the group. This policy applies to all ECSs in the same group. ECS groups are independent of each other.
- Log in to the management console.
- Click
in the upper left corner and select a region and project. - Under Computing, click Elastic Cloud Server.
- In the navigation pane on the left, choose ECS Group.
- On the ECS Group page, click Create ECS Group.
- Enter the name of the ECS group.
- Select a policy for the ECS group.
- Click OK.
Adding an ECS to an ECS Group
To improve service reliability, you can add ECSs to an ECS group so that these ECSs in this group can run on different hosts.
- After an ECS is added to an ECS group, the system reallocates a host to run this ECS to ensure that ECSs in this group run on different hosts. When you attempt to restart the ECS, the startup may fail due to insufficient resources. In such a case, remove the ECS from the ECS group and try to restart the ECS again.
- ECSs with local disks can be added to an ECS group only during the creation process. Once created, they cannot be added to any ECS groups.
- ECSs that have local disks, GPU cards, or FPGA cards attached can be added to an ECS group only during the creation process. Once created, they cannot be added to any ECS groups.
- Log in to the management console.
- Click
in the upper left corner and select a region and project. - Under Computing, click Elastic Cloud Server.
- In the navigation pane on the left, choose ECS Group.
- Locate the row that contains the target ECS group and click Add ECS in the Operation column.
- On the Add ECS page, select an ECS to be added.
- Click OK. The ECS is added to the ECS group.
Removing an ECS from an ECS Group
After an ECS is removed from an ECS group, the ECS does not comply with the ECS group policy anymore.
- Log in to the management console.
- Click
in the upper left corner and select a region and project. - Under Computing, click Elastic Cloud Server.
- In the navigation pane on the left, choose ECS Group.
- Expand the ECS group information and view the ECSs in the ECS group.
- Locate the ECS to be removed and click Remove in the Operation column.
Alternatively, select multiple ECSs to be removed and click Remove above the list.
- In the displayed dialog box, click OK.
The ECS is removed from the ECS group.
Deleting an ECS Group
After an ECS group is deleted, the policy does not apply to the ECSs in the ECS group anymore.
- Log in to the management console.
- Click
in the upper left corner and select a region and project. - Under Computing, click Elastic Cloud Server.
- In the navigation pane on the left, choose ECS Group.
- Locate the ECS group to be deleted and click Delete in the Operation column.
- In the displayed dialog box, click OK.