- Notifications
You must be signed in to change notification settings - Fork0
Simple tool to manage EC2 instances
License
NotificationsYou must be signed in to change notification settings
geekysuavo/aws-instance-tool
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A super simple tool for starting, stopping, and connecting toAmazon EC2 instances.
Installation is managed bysetuptools
:
cd aws-instance-toolpython3 setup.py install
You'll need to write a~/.config/aws-instance.yaml
filethat contains a dictionary of names and instance identifiers,e.g.:
ident:/path/to/amazon.pemusername:foobarinstances:g4dn.xl:i-00123456789abcdefm5.mt:i-abcdef00123456789
The script is then callable asaws-instance
, e.g.:
aws-instance start g4dn.xl
If you would like shell completion, then add this to your~/.bashrc
:
eval"$(_AWS_INSTANCE_COMPLETE=bash_source aws-instance)"
These sources are released under theMIT License. See theLICENSE.md file for the complete license terms.