as — Auto Scaling
as · type

SpotMixedAllocationPolicy

4 fields

FieldTypeDescription
BaseCapacityintegerThe minimum number of the scaling group’s capacity that must be fulfilled by pay-as-you-go instances. It defaults to 0 if not specified. Its value cannot exceed the max capacity of the scaling group.
OnDemandPercentageAboveBaseCapacityintegerControls the percentage of pay-as-you-go instances for the additional capacity beyond `BaseCapacity`. Valid range: 0-100. The value 0 indicates that only spot instances are provisioned, while the value 100 indicates that only pay-as-you-go instances are provisioned. It defaults to 70 if not specified. The number of pay-as-you-go instances calculated on the percentage should be rounded up.
SpotAllocationStrategystringSpecifies how to assign spot instances in a mixed instance mode. Valid values: `COST_OPTIMIZED` and `CAPACITY_OPTIMIZED`; default value: `COST_OPTIMIZED`.
CompensateWithBaseInstancebooleanWhether to replace with pay-as-you go instances. Valid values:

Returned or accepted by

Nested inside