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 Risposta
0
Risposta accettata

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
con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande