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 Respostas
1
Resposta aceita

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
respondido há um ano
profile picture
ESPECIALISTA
avaliado há um mês
  • 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.

respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas