I am looking for generic software which performs the following:
- Spins up a server on a cloud (vendor agnostic) or local VM (ideally)
- Transfers a bash script to the new server
- Runs the bash script, waiting as long as is necessary before
- Performs post-script actions such as downloading a file
It could look like this:
./runOnCloud.sh --credentials=filecontainingcloudcredentials.json --cloud=amazon --type=x3.3large --preemptible=true --download=/tmp/filetodownloadfromremotemachine.tar.gz scriptToRunOnRemoteMachine.sh
runOnCloud.sh doesn't have to be a Bash script of course, it could be Java or a binary or anything, as long as it automates and takes the trouble out of provisioning the machine, I don't really mind.