How can I prevent EC2 instance termination by Auto Scaling?

前端 未结 5 1292
[愿得一人]
[愿得一人] 2020-12-31 04:12

I would like to prevent EC2 instance termination by Auto Scaling feature if that instance is in the middle of some sort of processing.

Background:
Suppose I have

5条回答
  •  猫巷女王i
    2020-12-31 04:52

    Amazon has finally addressed this issue in a simpler way. There is now "instance protection" where you can mark your instance as protected and it will not be terminated during a "scale in".

    See https://aws.amazon.com/blogs/aws/new-instance-protection-for-auto-scaling

提交回复
热议问题