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

EXPERTE
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen