A deployment set is a placement policy that controls how instances are distributed across physical servers. For small-scale cluster deployments that require high availability and fault isolation, use the high availability strategy to spread instances across different physical servers and reduce the risk of widespread service outages caused by a single-server failure.
Deployment strategy
A deployment strategy determines how instances are deployed on physical servers. ENS currently supports the high availability strategy.
The high availability strategy distributes instances within a deployment set across different physical servers, reducing the risk of service interruptions caused by single-server failures. This strategy is suited for small-scale deployments that require high service continuity and fault isolation.
Limitations
Each Alibaba Cloud account can have a maximum of 20 deployment sets.
A single deployment set can contain a maximum of 20 instances per node.
Deployment sets cannot be merged.
Only X86 instances are supported.
If a deployment set has too many instances on a single node, the node may lack sufficient redundant physical servers. This can cause instance creation, resizing, or migration to fail. In this case, the system returns the error:
Cannot complete creation/resizing/migration because the deployment set policy requirements are not met.
Create a deployment set
Log on to the ENS console.
In the left navigation pane, choose . On the Deployment Set page, click Create Deployment Set.
In the Create Deployment Set dialog, configure the following parameters, then click OK.
After you click OK, the new deployment set appears in the Deployment Sets list.
Parameter | Required | Description |
Name | Yes | 2–128 characters. Must start with a letter. Can contain letters, digits, colons ( |
Policy | N/A | Read-only. The strategy is fixed to High Availability Policy and cannot be changed. |
Description | No | 2–256 characters. Cannot start with |
Create an instance in a deployment set
On the Deployment Set page, find the target deployment set.
In the Actions column, click Create Instance.
Complete the instance configuration on the purchase page.
After creation, the instance appears in the instance list of the deployment set.
Only X86 instances can be added to a deployment set. Arm-based instances are not supported.
For detailed instance configuration parameters, see Create an ENS instance.
Adjust the deployment set of an instance
Transfer an instance to a different deployment set, or add an instance that is not in any deployment set to a target deployment set.
Log on to the ENS console.
In the left navigation pane, click Instances.
Find the target instance. In the Actions column, click
to expand more actions, then click Modify Instance Deployment Set.In the Adjust Deployment Set dialog, select a Target Deployment Set, then click OK.
Refresh the page. The Deployment Set column of the instance shows the new deployment set name.
Remove an instance from a deployment set
If you want to delete a deployment set while retaining its instances, remove the instances first. The instances retain their current state after removal.
The instance must be in Running or Stopped state.
Log on to the ENS console.
In the left navigation pane, click Instances.
Find the target instance. In the Actions column, click
to expand more actions, then click Remove from Deployment Set.In the confirmation dialog, click OK.
Refresh the page. The instance no longer appears in the deployment set's instance list.
Edit or delete a deployment set
Log on to the ENS console.
In the left navigation pane, choose . On the Deployment Set page, find the target deployment set. In the Actions column, click Edit or Delete, then follow the on-screen instructions.
Edit: Modify the deployment set name and description. The updated name or description takes effect immediately.
Delete: Delete a deployment set you no longer need to free up resources. The deployment set is removed from the list.
Before deleting a deployment set, ensure it contains no instances. If instances exist, remove them first.