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

posta un anno fa734 visualizzazioni
2 Risposte
1
Risposta accettata

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
con risposta un anno fa
profile picture
ESPERTO
verificato un mese fa
  • 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.

con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande