This topic describes how to create an Elastic Compute Service (ECS) instance in a deployment set by using the ECS console.


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

Background information

A single deployment set can contain up to 20 ECS instances in each zone. You can use the following formula to calculate the maximum number of ECS instances that you can create in a deployment set within a region: 20 × Number of zones within the region. These limits vary based on your ECS usage.

When you create an instance, you can use a launch template or use the batch creation feature to facilitate instance creation. For more information, see Overview.


  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Deployment & Elasticity > Deployment Sets.
  3. In the top navigation bar, select a region.
  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. Create Instance
    • Click the deployment set ID. In the panel that appears, click Create Instance below Instances.
  5. On the instance creation page that appears, complete the instance configurations on the Custom Launch tab.
    For more information, see Create an instance by using the wizard. Take note of the following configurations when you create an instance:
    • Parameters in the Basic configurations step:
      • Region: Select the region where the deployment set is located. The ECS instance and the deployment set must be located in the same region.
      • Zone: Select a zone. Up to 20 ECS instances can be created in each zone of a deployment set.
      • Instance Type: Select an instance type from an instance family that supports deployment sets. The following instance families support deployment sets:
        • g8m, c7, g7, g7ne, r7, c6, g6, r6, c5, g5, r5, c6e, g6e, r6e, c7se, g7se, r7se, r6se, c7t, g7t, r7t, c7a, g7a, r7a, c6a, g6a, r6a, g5ne, re6, re6p, re4, and ic5
        • hfc7, hfg7, hfr7, hfc6, hfg6, hfr6, hfc5, and hfg5
        • d2s, d2c, d1, d1ne, d1-c14d3, and d1-c8d3
        • i3, i3g, i2, i2g, i2ne, i2gne, and i1
        • se1ne, sn1, sn1ne, sn2, sn2ne, and se1
        • ebmg5, sccgn6, scch5, sccg5, scch5s, and sccg5s
        • s6, t6, xn4, mn4, n2, n1, and n4
        • gn6i
        You can call the DescribeDeploymentSetSupportedInstanceTypeFamily operation to query instance families that support deployment sets.
      • Quantity: optional. Specify the number of ECS instances that you want to create. This number must be specified based on the number of ECS instances that already exist in the current zone of the deployment set.
    • Sequential Suffix in the System Configurations (Optional) step: optional. Append incremental suffixes to the instance name and hostname when you create multiple instances. The incremental suffixes can range from 001 to 999.
    • Deployment Set in the Grouping step: Select the deployment set in which you want to create the ECS instance. Deployment set
    • Save as Launch Template in the Preview step: optional. Save your configurations as a launch template so that you do not need to repeat these configurations every time you create an instance. For more information, see Overview.
  6. Confirm that the configurations are correct, click Create Order, and then complete the payment.
  7. Go back to the Deployment Sets page, click the ID of the deployment set that you selected in Step 6 in the Deployment Set ID column. In the panel that appears, you can find the information of the instance that you created in the deployment set.

What to do next

After you create an ECS instance, you can perform the following operations:
  • View and manage ECS instances in the deployment set. For more information, see instance-related topics.
  • Change the deployment set in which the ECS instance is deployed. For more information, see Change the deployment set of an instance.