How to remove an Instance from Auto Scaling group

0

Hi, Help needed, for some reason I now have 6 instances running vs 1 previously, which is costing me a lot more money. I have tried to stop 5 of the instances but as they are part of an Auto Scaling group they have all kicked in again. I cannot see how to remove the instances from the Auto Scaling group they are part of.
How do I remove the instances from the Auto Scaling group? Thanks

2 Antworten
1
Akzeptierte Antwort

I think you have two options. Firstly you can adjust your Auto Scaling Group to have a smaller maximum size. https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-capacity-limits.html

Alternatively you can remove nodes from the Auto Scaling Group and then terminate them as you wish: https://docs.aws.amazon.com/autoscaling/ec2/userguide/detach-instance-asg.html

AWS
Alex_K
beantwortet vor einem Jahr
profile picture
EXPERTE
überprüft vor einem Monat
  • Hi Alex K, thanks for your answer, I have tried the first option and I have now been able to reduce the maximum capacity on 2 of my Auto scaling groups and already my total instances running have reduced from 6 to 4 - thank you very much. I will also try your second option later so hopefully I can reduce my total instances running to 1.

0

Hi Alex, thanks very much, I did the 2nd option too and have now further reduced my instances down to 2.

beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen