All Products
Search
Document Center

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

Last Updated:Sep 04, 2023

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

Prerequisites

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

Background information

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

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.

Procedure

  1. Log on to the ECS console.

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

  3. In the upper-left corner of 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.创建实例

    • 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 more information, 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.

    • Zone: The number of instances that can be created in each zone of the deployment set varies based on the deployment strategy that is adopted by the deployment set. For more information, see the Limits section in Overview.

    • 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) Choose System Configurations > Sequential Suffix to add sequential suffixes to names and hostnames for the instances that you want to batch create. The sequential suffixes can range from 001 to 999.

    • Choose Grouping > Deployment Set to select the deployment set in which you want to create the instances.

    • (Optional) Choose Preview > Save as Launch Template to save the configurations as a launch template to facilitate your subsequent instance creation. For more information, see Overview.

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

  8. Return to the Deployment Sets page, 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.

What to do next

After you create the instances, you can perform the following operations: