This simple script intends to help you to manage your clusters without needing to ssh to every one of them.
$ pip install -r requirements.txtSet host urls through environment
$ export EC2_HOSTS="{{username1}}@host1,{{username2}}@host2"Set pem file
$ export EC2_PEM_FILE="{{path of your pem file}}"Upload file to remote hosts
$ python src/main.py upload --file={{filepath}} --des={{destination folder}}Run command no remote hosts
$ python src/main.py run --command="echo 'hello world'"Both upload and run commands support --is-async to run asynchronously.