Updated on 2023-09-28 GMT+08:00

Creating an Auto Launch Group

Scenarios

This section describes how to create an auto launch group on the management console.

Constraints

Currently, auto launch groups are supported in AP-Singapore and CN-Hong Kong regions.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Click . Under Compute, click Elastic Cloud Server.
  4. In the navigation pane on the left, choose Auto Launch Groups.
  5. On the Auto Launch Groups page, click Create Group.
  6. Set the name of the auto launch group.

    The name can contain 2 to 64 characters, including letters, digits, underscores (_), and hyphens (-).

  7. Set the total target capacity.

    You can specify the number of ECSs or vCPUs.

    If you choose to include pay-per-use ECSs, set the quantity of pay-per-use ECSs or vCPUs.

    The target capacity of each auto launch group is limited.
    • If the number of ECSs is used as the target capacity, a maximum of 500 ECSs can be created.
    • If the number of vCPUs is used as the target capacity, a maximum of 40,000 vCPUs can be created.
  8. Select a launch template.

    You can select a launch template and its corresponding version as the configuration source. You can also select other required ECS configurations.

  9. Set the allocation strategy.
    • Lowest price: The auto launch group will create the least expensive ECSs possible.
    • Compute balancing: The auto launch group will prioritize balancing compute loads by creating ECSs distributed across multiple AZs as evenly as possible.
    • High specifications: The auto launch group creates ECSs with the highest specifications possible.

      If you have configured a target number of ECSs, ECSs with more vCPUs will be prioritized and if the target is vCPUs, then that target will be met with as few ECSs as possible.

  10. Select a delivery type.
    • Single use: The auto launch group only attempts to create ECSs to meet the target capacity when it is started, but will not create ECSs again even if the target capacity is not reached.
    • Continuous: The auto launch group continues to create ECSs until the total target capacity is reached.
  11. Set the start time.

    Set the time when the auto launch group starts to launch ECSs. You can set both the start time and the end time to determine the validity period of the group.

    • Immediately: The auto launch group starts to launch ECSs immediately after the group is created.
    • Custom: You can specify when the auto launch group starts to launch ECSs.
  12. Set the end time.
    Set the time when the auto launch group expires. You can set both the start time and the end time to determine the validity period of the group.
    • Never expire: The auto launch group does not expire.
    • Custom: You can specify when the auto launch group expires.
  13. Set the global maximum price.

    Set the allowed maximum price of a single spot ECS in the auto launch group. If the market price of a spot ECS in the group exceeds the global maximum price, the spot ECS will be deleted.

    If both the specific maximum price of a spot ECS and the global maximum price are set, the specific maximum price of the spot ECS will be used.

    The price cannot be less than 0. If the price is set to be greater than the pay-per-use ECS price, there is no upper limit on the spot ECS price.

  14. Configure ECS deletion settings.
    • Delete ECSs When Auto Launch Group Expires: ECSs in the auto launch group will be deleted when the group expires.
    • Delete ECSs When Target Capacity Is Exceeded: When the number of ECSs or vCPUs in the auto launch group exceeds the target capacity, the ECSs or vCPUs that exceed the target capacity will be deleted.

      If you do not select Delete ECSs When Target Capacity Is Exceeded, the ECSs that exceed the target capacity will be removed from the group but not deleted. The removed ECSs will be displayed in the ECS list. To avoid charges on such ECSs, manually delete them.

  15. Click Create Now.

Execution Result

After an auto launch group is created, the group starts to create ECSs at the specified time. If you select the Continuous delivery mode, the auto launch group monitors the target and current capacity in real time, and automatically creates a new ECS if a spot ECS is reclaimed.