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回答
1
承認された回答

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
回答済み 1年前
profile picture
エキスパート
レビュー済み 1ヶ月前
  • 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.

回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ