Skip to content

geekysuavo/aws-instance-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

aws-instance-tool

A super simple tool for starting, stopping, and connecting to Amazon EC2 instances.

Usage

Installation is managed by setuptools:

cd aws-instance-tool
python3 setup.py install

You'll need to write a ~/.config/aws-instance.yaml file that contains a dictionary of names and instance identifiers, e.g.:

ident: /path/to/amazon.pem
username: foobar
instances:
  g4dn.xl: i-00123456789abcdef
  m5.mt: i-abcdef00123456789

The script is then callable as aws-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)"

Licensing

These sources are released under the MIT License. See the LICENSE.md file for the complete license terms.

About

Simple tool to manage EC2 instances

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages