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

preguntada hace un año734 visualizaciones
2 Respuestas
1
Respuesta aceptada

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 hace un año
profile picture
EXPERTO
revisado hace un mes
  • 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 hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas