Public | Automated Build

Last pushed: 10 months ago
Short Description
aws tool to list your compute instances and their ips
Full Description

Getting started

  1. install golang build tools
  2. go get github.com/aws/aws-sdk-go
  3. go build listcompute.go
  4. Setup credential files

using

$ listcompute ops prd consul
ops-prd-consul-uswest1-3 46.35.123.200 10.1.14.49
ops-prd-consul-uswest1-2 46.35.123.201 10.1.13.232
ops-prd-consul-uswest1-1 46.35.123.202 10.1.14.215

$ listcompute -e ops prd consul
46.35.123.200
46.35.123.201
46.35.123.202

$ listcompute -i ops prd consul
10.1.14.49
10.1.13.232
10.1.14.215

$ AWS_PROFILE=default listcompute -n ops prd consul
ops-prd-consul-uswest1-3
ops-prd-consul-uswest1-2
ops-prd-consul-uswest1-1
Docker Pull Command
Owner
arwineap
Source Repository

Comments (0)