aws-samples/ecs-refarch-cloudformation

Implement connection draining

PaulMaddox opened this issue · 2 comments

Implement automatic connection draining on ECS hosts, via Auto Scaling Group lifecycle events.

https://aws.amazon.com/blogs/compute/how-to-automate-container-instance-draining-in-amazon-ecs/

Pull requests welcome, otherwise I will try and look at implementing this over the coming weeks.

How would you want this? Custom lifecycle hook -> SNS -> Step Function? Or is it easier than that?

This should be addressed by PR #59