best way to orchestrate code deploy

0

Hi experts, We have a use case where we deploy application this way. We run code deploy on first node, once it finishes, code deploy has to run on rest of the nodes in parallel. Once remaining nodes complete, there should be a code which should run on the first node. all these are ec2 instances. Was wondering how to orchestrate it the best way and what options we have.

1 回答
0

Step Functions would work for this. You can define sequential & parallel steps, branching paths etc. You can use this with or without CodePipeline too, see https://www.sentiatechblog.com/aws-step-functions-the-deployment-orchestrator-that-codepipeline-should-have-been.

CodeDeploy is a supported service integration - https://docs.aws.amazon.com/step-functions/latest/dg/supported-services-awssdk.html.

专家
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则