Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pabluk/ec2alternate
A simple command to alternate two EC2 instances.
https://github.com/pabluk/ec2alternate
Last synced: about 6 hours ago
JSON representation
A simple command to alternate two EC2 instances.
- Host: GitHub
- URL: https://github.com/pabluk/ec2alternate
- Owner: pabluk
- Created: 2012-05-03T10:20:07.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-05-04T15:17:35.000Z (over 12 years ago)
- Last Synced: 2024-06-13T20:27:19.785Z (5 months ago)
- Language: Python
- Size: 113 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
============
ec2alternate
============:author: Pablo SEMINARIO
:version: 0.1A simple command to alternate two EC2 instances.
ec2alternate provides simple commands to alternate two Amazon EC2 instances
and always point to the last ip address.You can find more information at https://github.com/pabluk/ec2alternate
Requirements
------------ec2admin has a easily-met set of requirements.
* Python 2.5+
* boto 2.0+and only needed to run tests
* mock 0.8.0+
Available commands
------------------Show instance id and status::
$ ec2alternate status
Instance:i-2362e830 running
Instance:i-5483c012 stoppedStart all ec2 instances at same time::
$ ec2alternate start
Instance:i-2362e830 running
Instance:i-5483c012 runningStop all ec2 instances at same time::
$ ec2alternate stop
Instance:i-2362e830 stopped
Instance:i-5483c012 stoppedRestart all ec2 instances at same time::
$ ec2alternate restart
Instance:i-2362e830 running
Instance:i-5483c012 running