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
In the upper-left corner of the page, select a region and resource group.
-
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.
NoteThe 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.
NoteModifying capacity or capacity-related settings triggers a scheduling task regardless of whether the group is a request or maintain type.
-
-
Click OK.
References
You can also call the ModifyAutoProvisioningGroup API operation to modify group settings.