You can use deployment sets to deploy Elastic Compute Service (ECS) instances on different physical servers to ensure the high availability of business on the ECS instances and improve the disaster recovery capabilities of the underlying physical servers of the ECS instances. Alternatively, you can centrally deploy ECS instances within the same network topology to decrease the communication latency between the instances. This topic describes how to create ECS instances in a deployment set in the ECS console after you create a deployment set.
Prerequisites
A deployment set is created in a specified region. For more information, see Create a deployment set.
Procedure
The number of instances that can be created in a deployment set varies based on the deployment strategy that is adopted by the deployment set. For more information, see the Limits section in the "Overview" topic.
Log on to the ECS console.
In the left-side navigation pane, choose .
In the top navigation bar, select the region and resource group to which the resource belongs.
On the Deployment Sets page, find the deployment set in which you want to create an instance.
You can use one of the following methods to go to the instance creation page:
In the Actions column corresponding to the deployment set, click Create Instance.
Click the deployment set ID. On the Instances tab of the panel that appears, click Create Instance.
On the instance creation page that appears, complete the instance configurations on the Custom Launch tab.
Region: Select the region where the deployment set is located. The ECS instance and the deployment set must be located in the same region.
Network and zone: The number of instances that can be created in each zone of the deployment set varies based on the deployment strategy of the deployment set. For more information, see the Limits section in the "Overview" topic.
Instance Type: Select an instance type from an instance family that supports deployment sets. The following table describes the instance families that support deployment sets.
g8y, g7se, g7a, g7, g7t, g7ne, g6, g6e, g6a, g6h, g5, g5ne, sn2ne, sn2, and sn1
c8y, c7se, c7, c7t, c7a, c6, c6a, c6e, c5, ic5, and sn1ne
r8y, r7, r7se, r7t, r7a, r6, r6e, r6a, re6, re6p, r5, re4, se1ne, and se1
hfc7, hfg7, hfr7, hfc6, hfg6, hfr6, hfc5, and hfg5
d3c, d2s, d2c, d1, d1ne, d1-c14d3, and d1-c8d3
i3g, i3, i2, i2g, i2ne, i2gne, and i1
ebmg5, sccgn6, scch5, sccg5, scch5s, and sccg5s
t6, xn4, mn4, n4, e4, n2, and n1
gn6i
g8a and g8y
c8a and c8y
r8a and r8y
(Optional) When you configure Quantity to specify the number of instances that you want to create, take note of the number of instances that already exist in the specified zone of the deployment set.
(Optional)Use the automatic sorting feature to batch configure sequential instance names or hostnames.
: After you create multiple ECS instances, you can add sequential suffixes to the instance names and hostnames. The sequential suffixes can range from 001 to 999. For more information, see: Select a deployment set.
Confirm that the configurations are correct, click Create Order, and then complete the payment.
Return to the Deployment Sets page, and click the ID of the deployment set in the Deployment Set ID column to view the information of instances that are created in the deployment set.
For information about how to create an ECS instance, see Create an instance by using the wizard. Take note of the following configurations when you create an instance:
Some instance families support only specific deployment set strategies. You can call the DescribeDeploymentSetSupportedInstanceTypeFamily operation to query the instance families that support different deployment strategies.
Deployment strategy | Instance family that supports the strategy |
High availability strategy and high availability group strategy | |
Low latency strategy |
References
After you create ECS instances in a deployment set, you can perform the following operations:
View and manage ECS instances in the deployment set. For more information, see Instances.
Change the deployment set of an ECS instance. For more information, see Change the deployment set of an instance.
Modify the deployment set name or description. For more information, see Modify a deployment set.
For more information about how to add ECS instances that are not in any deployment sets to a deployment set, see Change the deployment set of an instance.
Call an API operation to create ECS instances in deployment sets. For more information, see RunInstances.