New featureMedium

Amazon ECS now supports configurable deployment circuit breaker settings

Amazon ECS now allows customization of deployment circuit breaker settings, enabling users to define failure thresholds as fixed counts or percentages and choose between consecutive or cumulative failure counting models.

Amazon Elastic Container Service (Amazon ECS) now provides more control over when a service deployment is considered failed and automatically rolled back. Users can now customize deployment circuit breaker settings to match their application's startup behavior, deployment needs, and tolerance for task failures. The ECS deployment circuit breaker automatically detects failed deployments and rolls them back to the last successful deployment once a failure threshold is reached. With this launch, users can set the deployment circuit breaker threshold using either a fixed task failure count or a percentage of the service's desired task count, and choose how failures are counted using either a consecutive model (where the counter resets when a healthy task starts) or a cumulative model (where failures keep adding up throughout the deployment). For example, lower thresholds can be set for faster rollbacks in development and test environments, or more tolerance can be allowed for applications that experience expected startup failures before stabilizing. This feature is available in all AWS Regions where Amazon ECS is offered. Deployment circuit breaker settings can be configured for new and existing ECS services using the AWS Management Console, AWS CLI, AWS SDKs, AWS CloudFormation, AWS CDK, and Terraform. For more information, see the ECS deployment circuit breaker documentation.

Read the original AWS announcement