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
feita há 3 anos389 visualizações
1 Resposta
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
respondido há 3 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas