You see frequent ECS task restarts during a deployment. Which ECS configuration best prevents tasks from being killed before they can finish processing requests?

Answer

Increase the load balancer deregistration delay and set appropriate deployment circuit breaker settings

Explanation

Deregistration delay gives existing targets time to drain before termination. Combined with deployment settings, this reduces restart-related disruptions.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list