-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibility to Perform Fargate ECS blue/green deployments with CDK #8283
Comments
I implemented Blue/Green deployment recently in our SaaS solution and as far as I know it is currently not possible in the CDK. What we ended up doing is to create an initial task definition A for the very first CDK stack deployment. The following deployments create a new task definition A' which has the same 'family' property set. Next, we created a CodeDeploy pipeline which uses the Blue/Green deployment strategy and references the task definition A'. This works well. Actually, we decoupled the creation of task set and its deployment. I noticed that CloudFormation provides support for Blue/Green deployments in ECS since May 19, 2020. [1][2] References[1] https://aws.amazon.com/about-aws/whats-new/2020/05/aws-cloudformation-now-supports-blue-green-deployments-for-amazon-ecs/?nc1=h_ls |
@MartinLoeper
|
@uttarasridhar @SomayaB |
Any updates to this issue? Would be nice to have this in CDK - I might be able to take a look at implementing this as I’ve got a rough CDK application that deploys using this and should be fairly easy to put into a ECS pattern |
Hey there, we are working to implement this. Gonna close in favor of #1559 @richardhughes any contribution is super appreciated! if you want to make a PR or even a separate library (or just a gist) to help illustrate what we need to do it would be a big help. Using this doc as a starting place, but code would definitely help. Post anything relevant in #1559 |
Is it possible to synth a template like mentioned in the document https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/blue-green.html ?
Or any other way to perform this Fargate ECS blue/green deployments with CDK?
Use Case
Proposed Solution
Other
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: