All Products
Search
Document Center

Elastic Compute Service:Modify an auto provisioning group

Last Updated:May 15, 2026

Modify the name, target capacity, and capacity-related settings of an auto provisioning group, such as whether to shut down instances when real-time capacity exceeds the target.

Procedure

  1. Go to ECS console - Auto Provisioning.

  2. In the upper-left corner of the page, select a region and resource group.地域

  3. On the Auto Provisioning page, find the target group and click Modify in the Actions column.

    The following table describes the modifiable settings.

    Category

    Description

    Basic Information

    The group name.

    Group Capacity

    Capacity settings:

    • Target Capacity: The computing power to provision, specified in Instances or vCPUs. If you select Use Pay-as-you-go Instances to Provide Computing Power, you can also specify the pay-as-you-go capacity portion.

    • Target Capacity of Pay-As-You-Go Instances: The pay-as-you-go capacity to provision, in instances or vCPUs. Use pay-as-you-go instances to guarantee minimum computing power since spot instances can be reclaimed.

    Note

    The CreateAutoProvisioningGroup API operation also supports specifying target capacity in memory size.

    Capacity related settings

    Capacity-related settings:

    • Default Billing Method of Supplemental Instances: Select Spot Instance or Pay-as-you-go Instance. When the combined spot and pay-as-you-go target capacity is less than the total target capacity, the group creates instances of this default type to fill the gap.

    • Global Maximum Price for Spot Instances: The price cap for spot instances. Instances are not created if the market price exceeds this value.

    • Shut Down Instances Upon Group Expiration: Specifies whether to release instances when the group expires. If disabled, instances are removed from the group but not released.

    • Shut Down Excess Instances When Target Capacity Is Exceeded: Specifies whether to release excess instances during scale-in. If disabled, instances are removed from the group but not released.

    Note

    Modifying capacity or capacity-related settings triggers a scheduling task regardless of whether the group is a request or maintain type.

  4. Click OK.

References

You can also call the ModifyAutoProvisioningGroup API operation to modify group settings.