spot Price Limits
Sets the maximum price hourly for instance types. See spot_price_limit
below for details.
NOTE: Before enabling the scaling group, it must have a active scaling configuration. NOTE: If the number of attached ECS instances by
instance_ids
is smaller than MinSize, the Auto Scaling Service will automatically create ECS Pay-As-You-Go instance to cater to MinSize. For example, MinSize=5 and 2 existing ECS instances has been attached to the scaling group. When the scaling group is enabled, it will create 3 instnaces automatically based on its current active scaling configuration. NOTE: Restrictions on attaching ECS instances:
The attached ECS instances and the scaling group must have the same region and network type(
Classic
orVPC
).The attached ECS instances and the instance with active scaling configurations must have the same instance type.
The attached ECS instances must in the running state.
The attached ECS instances has not been attached to other scaling groups.
The attached ECS instances supports Subscription and Pay-As-You-Go payment methods.
NOTE: The last scaling configuration can't be set to inactive and deleted alone.