Amazon ECS now supports configurable deployment circuit breaker settings

Amazon Elastic Container Service (Amazon ECS) Updates
Amazon ECS now provides enhanced control over service deployment failures and automatic rollbacks. You can now customize deployment circuit breaker settings to align with your application's startup behavior, deployment needs, and tolerance for task failures, ensuring rollbacks work as needed across different applications and environments.
The ECS deployment circuit breaker automatically detects failed deployments and rolls them back to the last successful deployment once a failure threshold is reached. You can set the deployment circuit breaker threshold using either a fixed task failure count or a percentage of your service's desired task count, and choose how failures are counted using either a consecutive model or a cumulative model.
What to do
- Configure deployment circuit breaker settings for your ECS services using the AWS Management Console, AWS CLI, AWS SDKs, AWS CloudFormation, AWS CDK, and Terraform.
- Set lower thresholds for faster rollbacks in development and test environments.
- Allow more tolerance for applications that experience expected startup failures before stabilizing.
Source: AWS release notes
If you need further guidance on AWS, our experts are available at AWS@westloop.io. You may also reach us by submitting the Contact Us form.



