I have a script which takes multiple arguments and i need to run this script on multiple instances in parallel on AWS. For example, for sake of simplicity, if i have three instances in AWS, i would like to run the following:
On instance-a: script.sh a b
On instance-b: script.sh s t
On instance-c: script.sh y z
I will be spawning the instances using an AMI which will have the runtime (MATLAB) and the program (using the runtime) installed as part of the image.
I was checking this link and i saw Capistrano mentioned. Will that work in my case? Any other lightweight alternative that can be explored? Just to mention, i will be needing the return status and output (CSV file) generated from each instance.