Autoscaling instance are protected from scale-in

1

We have enabled "Not protected from scale in" for the auto-scaling group but still the scale-in protection is getting enabled for instances launched.

質問済み 2年前1019ビュー
2回答
2

The setting on the AutoScaling Group (ASG) is defining the default behavior for a newly launched instance. Disabling scale-in protection at the group level just means new instances don't launch with protection enabled by default. It can still be enabled on instances after they're launched via the ASG console or API. Check in CloudTrail fro the EventName SetInstanceProtection to see who is enabling it

Note: ASG scale-in protection is a different feature than EC2 Termination protection, so make sure you're looking at the right feature

AWS
回答済み 2年前
0

Can you provide a little more information about this? Basically wondering if you're using launch configs, launch templates, the EC2 launch wizard, and where the termination protection was "disabled" (EC2 panel, in the template file, etc). The more we know about how those instances are set up/scaled out, will help find where the conflict between those settings may be.

AWS
Dan_H
回答済み 2年前
  • I'm using asg with launch template. And i have set the below configuration in Auto-scaling group Instance scale-in protection: Not protected from scale in

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

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

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

関連するコンテンツ