aws-ec2

command module
v0.0.0-...-64b39bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2016 License: GPL-3.0 Imports: 5 Imported by: 0

README

AWS CLI Tool

This project is mainly used for my own personal practice, but hopefully will grow to something I can use in my personal practice or at work. It is intended to be an AWS Command Line Tool to help me get lists of instances with some details about each. It also offers some filtering such as by region or environment.

Example Useage

You can build the project once you cloned it like so

go build

Then once you have the executable you can use it just by itself

./aws-tools

which will give you a full list of the default region us-west-1 plus all environments.

Or you can pass in region or environment

./aws-tools -region=eu-west-1
./aws-tools -environment=staging
./aws-tools -region=us-east-1 -environment=dev
Example output
Number of instances:  1
Name:  perfman
Environment:  dev
ID:  i-34052bf4
Private IP:  10.9.2.113
State:  running
Launched:  2015-10-21 22:56:34 +0000 UTC
Type:  c4.large

Other notes

It is a work in progress and already needs some refactoring in order to scale. I hope to add some error handling to it, as well as more filtering, possibly even colors to make it easier to read.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL