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 Respuesta
0
Respuesta aceptada

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
respondido hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas