aws autoscaling update-auto-scaling-group

From wikieduonline
(Redirected from Update-auto-scaling-group)
Jump to navigation Jump to search

aws autoscaling update-auto-scaling-group --auto-scaling-group-name my-asg --min-size 2 --max-size 10
(no output)
aws autoscaling update-auto-scaling-group --auto-scaling-group-name my-asg --termination-policies OldestInstance


aws ec2 describe-instances | jq -r '.Reservations[].Instances[]|.InstanceId+" "+.InstanceType+" "+.State.Name+" "+(.Tags[] | select(.Key == "Name").Value)'


See also[edit]

Advertising: