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 個回答
0
已接受的答案

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
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南