AWS-Native Method of Draining Fargate Tasks
12:22 18 Apr 2026

I'm working on an ECS Fargate system that needs to drain tasks. Let's assume the drain time is 1 hour, which is the ALB's deregistration max.

Without building a service that actively does this; does AWS provide any ways to manage draining Fargate tasks?

As far as I can tell, ECS has a hard `stopTimeout` of 120 seconds, meaning any AWS-foo I do is moot.

amazon-web-services amazon-ecs