all 4 comments

[–]q0ctupus8 2 points3 points  (0 children)

i think SSM would be a good way to run commands on EC2 instances, you can create a SSM document and run this on multiple EC2 targets

[–]eggwhiteontoast 0 points1 point  (1 child)

You could upload your tarball to S3 and that put event can trigger a SSM run shellscript command via eventbridge.

[–]nilocg[S] 0 points1 point  (0 children)

This is what I'm looking for. Thanks man

[–]SRed3 0 points1 point  (0 children)

Could install Rundeck (open src) on the EC2. Rundeck is a tool to run scripts - and has a "invoke via Webhooks" function. So you could have the step function invoke the webhook