Search code examples
amazon-web-servicesdeploymentamazon-ecscircleciaws-code-deploy

How to enable blue/green deployment with CircleCI to ECS?


I'm using CircleCI's aws-ecs orb to deploy to ecs. As far as I know the default deployment type is rolling update.

I searched for a solution, however the solutions are only for AWS CodeDeploy. The CircleCI docs show support for blue/green deployment, but in the config I cannot set the deployment type.

How to do that?


Solution

  • Here is the example that orb has. You could also use CodeDeploy to enable blue-green deployment, orb supports CodeDeploy via deployment-controller parameter