All Products
Document Center

Elastic Compute Service:Create an ECS instance in a deployment set

Last Updated:Jan 29, 2024

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.


A deployment set is created in a specified region. For more information, see Create a deployment set.



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.

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Deployment & Elasticity > icon1 > Deployment Sets.

  3. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

  4. 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.

  5. On the instance creation page that appears, complete the instance configurations on the Custom Launch tab.

  6. 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:

    • 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.

    • Note

      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

      • 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

      Low latency strategy

      • 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)Advanced Options (Optional) > Sequential Suffix: 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 Use the automatic sorting feature to batch configure sequential instance names or hostnames.

    • Advanced Options (Optional) > Deployment Set: Select a deployment set.部署集

  7. Confirm that the configurations are correct, click Create Order, and then complete the payment.

  8. 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.


  • After you create ECS instances in a deployment set, you can perform the following operations:

  • 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.