ECS Blue-Green with CodePipeline

0

A customer who is building a B/G deployment for a ECS cluster using the following approach https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/blue-green.html.

They also using AWS CodePipeline for deployment pipeline. Due to this combination of Cloudformation based ECS B/G and CodePipeline they are running into issues where the deployment-controller has to be EXTERNAL instead of CODE_DEPLOY. is there any suggestions to overcome this?

Or given this combination , should the recommendation be to use the CodePipeline inbuilt ECS Blue-green deployment provider and use the Cloudformation only to create the necessary resources (ECS Cluster, ALB etc.,)

1 Answer
0
Accepted Answer

At the moment it is not possible to do native CodePipeline - ECS b/g using CloudFormation. It is currently tracked here https://github.com/aws-cloudformation/aws-cloudformation-coverage-roadmap/issues/483 . Alternatively, you could potentially use a custom resource to create the desired ecs b/g cluster and then add it to the pipeline which will help solve the issue ( But adds extra work in terms of create/update/delete operations of the ecs resources).

AWS
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions