What does it mean to enable CB when a rollback is false?

Viewed 1926

what is the difference?

1.

--deployment-configuration "deploymentCircuitBreaker={enable=true,rollback=false}"
--deployment-configuration "deploymentCircuitBreaker={enable=false,rollback=false}"

What does it mean to enable CB when a rollback is false?

1 Answers

Circuit breaker is a new feature to help ECS detect that your service deployment failed and stop your service from continuously trying to restart tasks. I haven't used this feature directly but, based on documentation, if you enable circuit breaker without rollback, you will get the benefit of ECS failing fast and not thrashing your tasks until something tells it to stop trying (e.g. CloudFormation or manual intervention).

References:

Related