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 Antwort
0
Akzeptierte Antwort

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
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen