내용으로 건너뛰기

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

질문됨 6년 전832회 조회

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

답변함 6년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠