Question: Difference between new "ECS managed_draining" and the "settings.ecs.enable-spot-instance-draining" #3746
-
Hello, ECS recently added managed_draining feature. It's activated by default on all new EC2 capacity providers. AWS says, in the documentation, it can manage spot interruption by putting the instance in DRAINING state. I was questioning if the settings enable-spot-instance-draining is now a duplicate, or should we still use it with managed_draining in an ec2 spot usage scenario? Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@remiflament I think your second link should go to: https://bottlerocket.dev/en/os/1.19.x/api/settings/ecs/#enable-spot-instance-draining |
Beta Was this translation helpful? Give feedback.
-
So, the difference is that spot instance draining only works for spot interruptions while managed draining works with several other types of interruptions. From the docs:
(Source) So it would only be useful if |
Beta Was this translation helpful? Give feedback.
So, the difference is that spot instance draining only works for spot interruptions while managed draining works with several other types of interruptions.
From the docs:
(Source)
So it would only be useful if
managedDraining
is notENABLED
and you're using spot.