blue green deployment to ECS via another CI server

0

Hello team

I've been reading documentation on how to setup Blue-Green deployments on ECS and I would like to know if it's tied to AWS CodeDeploy.

The problem is my company uses another CI server but in the end containers are deployed in ECS. Is there a work around. Can I just docker push from the CI server and trigger the BG deployment? So if the docker image is built before hand in another CI server how can I leverage the codedeploy ability to do the blue-green deployment

If not, can I just create a Deployment on CodeDeploy and just run one command, in this case docker push?

thanks

Edited by: elmagg on Feb 11, 2021 3:45 PM

Edited by: elmagg on Feb 11, 2021 3:55 PM

elmagg
已提問 3 年前檢視次數 373 次
1 個回答
0

No, you are not required to use AWS CodeDeploy for Blue/Green deployments however CodeDeploy does make it easier. The following is an example of using Jenkins to manage your deployments:

https://aws.amazon.com/blogs/containers/blue-green-deployments-with-the-ecs-external-deployment-controller/

Also, as another option, many of the popular CI servers have plugins to call CodeDeploy. In this scenario you can continue to use your existing CI server in conjunction with CodeDeploy and get the best of both worlds.

Thanks,

Chris

AWS
Chris_R
已回答 3 年前

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

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

回答問題指南