- Documentation
Elastic Compute Service
Elastic Compute Service
User Guide
Deployment and scaling
Managing deployment sets
Deployment and scaling
Managing deployment sets
Managing deployment sets
A deployment set enables you to manage the distribution of instances across underlying hardware while ensuring physical isolation. You can create a deployment set to distribute instances across different underlying hardware. This ensures underlying disaster recovery capability and high availability for your business.
You are not charged when you use a deployment set. However, fees will be charged for the services you have created, such as ECS instances, volumes, snapshots, images, and EIPs. Learn more. Deployment policy and granularity
Deployment policies
Deployment granularity
Deployment sets support the Availability and AvailabilityGroup policies. The following table describes the policies.
tip
Instances within the same deployment set can be distributed across different availability zones within the same region. Deployment across regions is not supported.
Typically, when deployed in a data center, multiple hosts are placed in a single rack, sharing the infrastructure such as power and network of the rack. Additionally, a single switch can connect multiple racks, enabling physical machines within a rack to connect to the network through the switch.
The functionality and effect of deployment sets are closely tied to their granularity, and deployment policies with different granularities can meet various business needs. Below is a detailed description based on physical machine, rack, and switch granularities.
- Merging between deployment sets is not supported.
- When you use a deployment policy, if the underlying resources are insufficient to distribute the instances, some instances fail to be created.
- When resources in a region are limited, you may not be able to create ECS instances in the region. You can wait for a period of time and then try to create the instances again.
Step 1: Create a deployment set
- In the top menu bar, select a region.
- Click "Create" to complete the operation.
- After you create a deployment set, you can go to the deployment set list page to view the newly created deployment set.
Step 2: Create instances in a deployment set
- In the top menu bar, select a region.
- Click the "Create instance" button in the "Actions" column of the target deployment set to go to the custom instance purchase page.
- After you confirm that the parameters are configured correctly, purchase and create the instances.
Modify the deployment set of instances
tip
- Migrate instances from one deployment set to another deployment set.
- Add instances that are not in a deployment set to a deployment set that meets the requirements.
- Remove instances from a deployment set.
- If you fail to change the deployment set to which instances belong, you do not receive a notification of the instance migration failure, and the instances remain in the original deployment set.
Add or remove instances on the Deployment Set page
Change the deployment set or remove instances from a deployment set on the Instances page
warning
- Instances to be added to a deployment set must be in the Stopped state and billing continues (that is, Normal Mode). For information about how to stop instances, see Stopping instances.
- You cannot add multiple instances to or remove multiple instances from a deployment set at the same time.
- In the top menu bar, select a region.
- Click the "Configure instances" button in the "Actions" column of the target deployment set.
- In the instance information section on the deployment set details page, add or remove instances.
- Add instances: Click the "Add instances" button, select the instances to add, and then click the "Add" button to complete the operation.
tip
- During instance migration, the instances are in the Migrating status. After the instances change to the Stopped status, you need to manually start the instances.
- On the deployment set details page, you can view information about instances that have been added to the deployment set.
- Remove instances: Click the "Remove" button in the "Actions" column of the instances that you want to remove, and then click the "OK" button to complete the operation.
- The deployment set information for the instance is empty on the instance details page. At the same time, the instance is no longer listed on the deployment set details page.
warning
- To change the deployment set for instances, the instances must be in the Stopped state and billing continues (that is, Normal Mode). For information about how to stop instances, see Stopping instances.
- To remove instances from a deployment set, the instances must be in the Stopped or Running state.
- In the left-side navigation pane, click "Instances & Images > Instances".
- In the top menu bar, select the region and project to which the target instance belongs.
- On the Instances page, click "··· > Instance settings" in the "Actions" column of the target instance.
- Modify the deployment set of instances based on your business requirements.
- Modify deployment set: Click the "Modify deployment set" button, select the target deployment set, and then click "Save". If there are no available deployment sets, click the "Create deployment set" button to create a deployment set. For more information, see Creating deployment sets.
tip
- After you change the deployment set, the instance status is Migrating. Once the status changes to Stopped, you need to manually start the instance.
- You can view the information of the deployment set to which the instance belongs on the instance details page, or view the information of instances that have already been added to the target deployment set on the deployment set details page.
- Remove from deployment set: Click the "Remove from deployment set" button and click "OK".
- After you remove the instance from the deployment set, the deployment set information for the instance is empty on the instance details page. At the same time, the instance is no longer listed on the deployment set details page.
warning
- A deployment set can be deleted only when there are no instances in the deployment set. For information about how to remove instances from a deployment set, see Modify the deployment set of instances.
- You cannot delete multiple deployment sets at the same time.
- In the top menu bar, select a region.
- On the deployment set list page, click the "Delete" button in the "Actions" column of the target deployment set.
- Click "Delete" to complete the procedure. On the deployment set list page, the original deployment set information has been deleted.
Last updated: 2026.09.11 19:20:17