CLI to start/stop ec2's and rds instances.
- Ensure pip and pipenv are installed
- Clone repository:
https://github.com/milindchawre/clusterops cd clusterops- Fetch development dependencies
make install - Activate virtualenv:
pipenv shell
Start/Stop ec2 machines based on tags or instance-ids.
$ cluster-ops [start/stop] ec2 --tag NAME=VALUE NAME2=VALUE2 --instance-ids id1 id2
Start/Stop rds.
$ cluster-ops [start/stop] rds db-name-1 db-name-2
Run tests locally using make if virtualenv is active:
$ make
If virtualenv isn’t active then use:
$ pipenv run make