Remove the terminated instances from the auto-scaling group in AWS

0 votes
How do I remove the terminated instances from the auto-scaling group in AWS?
Oct 9, 2019 in AWS by Hannah
• 18,550 points
480 views

1 answer to this question.

0 votes

Once you terminate the instance, detach it from the auto-scaling group. Use the following command:

aws autoscaling detach-instances --instance-ids YOUR-INSTANCE-ID --no-should-decrement-desired-capacity --auto-scaling-group-name YOUR-ASG-NAME

answered Oct 9, 2019 by Neel

Related Questions In AWS

0 votes
0 answers
0 votes
1 answer

How do I disable detailed monitoring for instances in an auto scaling group in a CloudFormation template?

The property you want is InstanceMonitoring, not ...READ MORE

answered Aug 31, 2018 in AWS by Archana
• 4,150 points
369 views
0 votes
1 answer
0 votes
1 answer

How to attach an instance to an Auto Scaling group in AWS?

Hi@akhtar, You can attach one or more EC2 instances ...READ MORE

answered Nov 26, 2020 in AWS by MD
• 95,160 points
71 views
0 votes
1 answer

Using Shapely on AWS Lambda with Python 3

For some reason, the pip install of ...READ MORE

answered Oct 8, 2018 in AWS by Priyaj
• 58,120 points
1,024 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer