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 Answer
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.

EXPERT
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions