I have one EMR cluster which is running 24/7. I can't turn it off and launch the new one.
What I would like to do is to perform something like bootstrap action on the already running cluster, preferably using Python and boto or AWS CLI.
I can imagine doing this in 2 steps:
1) run the script on all the running instances (It would be nice if that would be somehow possible for example from boto)
2) adding the script to bootstrap actions for case that I'd like to resize the cluster.
So my question is: Is something like this possible using boto or at least AWS CLI? I am going through the documentation and source code on github, but I am not able to figure out how to add new "bootstrap" actions when the cluster is already running.