CmdID

CmdID / aws / aws autoscaling

aws autoscaling put-warm-pool

Creates or updates a warm pool for the specified Auto Scaling group. AWS CLI reference

1 example 5 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create a warm pool

The following put-warm-pool example creates a warm pool for the specified Auto Scaling group.

aws autoscaling put-warm-pool --auto-scaling-group-name my-asg --min-size 2Identify
--auto-scaling-group-nameThe name of the Auto Scaling group.
--min-sizeSpecifies the minimum number of instances to maintain in the warm pool.

This command produces no output. If a warm pool already exists, it will be updated.

For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Options

5 in the AWS CLI reference
--auto-scaling-group-nameThe name of the Auto Scaling group.
--instance-reuse-policyIndicates whether instances in the Auto Scaling group can be returned to the warm pool on scale in.
--max-group-prepared-capacitySpecifies the maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group.
--min-sizeSpecifies the minimum number of instances to maintain in the warm pool.
--pool-stateSets the instance state to transition to after the lifecycle actions are complete.