A deployment set controls how instances are distributed across physical servers. Use the high availability strategy to spread instances across different physical servers and reduce the risk of service outages caused by a single-server failure.
Deployment strategy
A deployment strategy determines how instances are placed on physical servers. ENS currently supports the high availability strategy.
The high availability strategy distributes instances across different physical servers, reducing the risk of service interruptions caused by single-server failures. This strategy suits small-scale deployments that require 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. Instance creation, resizing, or migration can fail with 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
You can transfer an instance to a different deployment set, or add an unassigned instance to a 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
To delete a deployment set while retaining its instances, remove the instances first. Removed instances retain their current state.
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. The deployment set is removed from the list.
-
Before deleting a deployment set, ensure it contains no instances. If instances exist, remove them first.