All Products
Search
Document Center

Elastic Compute Service:Modify an auto provisioning group

Last Updated:Oct 26, 2023

This topic describes how to modify the name, target capacity, and specific capacity-related settings of an auto provisioning group.

Prerequisites

Your account is granted permissions on Auto Provisioning. For more information, see Manage the service-linked role for Auto Provisioning.

Procedure

  1. Log on to the ECS console.

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

  3. In the upper-left corner of the top navigation bar, select a region. 地域

  4. On the Auto Provisioning page, find the auto provisioning group that you want to modify and click Modify in the Actions column.

    The following table lists the parameters that can be modified.

    Section

    Description

    Basic Information

    The auto provisioning group name can be modified.

    Group Capacity

    The following capacities can be modified:

    • Target Capacity: the capacity that the auto provisioning group is scheduled to provision. You can specify this capacity in terms of instances or vCPUs. After you select Use Pay-as-you-go Instances to Provide Computing Power, you can specify the compute capacity (computing power) provided by the pay-as-you-go instances.

    • Target Capacity of Pay-As-You-Go Instances: the target capacity of pay-as-you-go instances that the auto provisioning group is scheduled to provision. You can specify this capacity in terms of instances or vCPUs. You can use pay-as-you-go instances to ensure that the lowest computing power requirement can be met because preemptible instances may be reclaimed.

    Note

    When you create an auto provisioning group by calling the CreateAutoProvisioningGroup operation, you can specify the target capacity in terms of instances, vCPUs, and the memory size.

    Capacity-related Settings

    The following capacity-related settings can be modified:

    • Default Billing Method of Supplemental Instances: Preemptible Instances and Pay-As-You-Go Instances are supported. When the sum of the Target Capacity of Pay-As-You-Go Instances and Target Capacity of Preemptible Instances values is less than the Target Capacity value, the auto provisioning group automatically creates instances that use the specified billing method to fulfill the target capacity.

    • Global Maximum Price for Preemptible Instances: You can modify the global maximum hourly price. If the specified maximum hourly price is less than the market price, preemptible instances fail to be created and high instance costs are prevented.

    • Shut Down Instances Upon Group Expiration: This setting affects the status of instances in the auto provisioning group after the auto provisioning group expires. If the switch is turned on, instances in the auto provisioning group are released. If the switch is turned off, instances are removed from the auto provisioning group but not released.

    • Shut Down Excess Instances When Target Capacity Is Exceeded: This setting affects the status of scaled-in instances in the auto provisioning group when the real-time capacity of the auto provisioning group exceeds the target capacity and the group is triggered to scale in. If the switch is turned on, scaled-in instances are released. If the switch is turned off, scaled-in instances are removed from the auto provisioning group but not released.

    Note

    Regardless of the auto provisioning group type, a scheduling task is triggered after you modify the capacity or capacity-related settings.

  5. Click OK.

References

ModifyAutoProvisioningGroup