Skip to content
Small script to get AWS account overview
Branch: master
Clone or download
Pull request Compare This branch is 3 commits ahead of partamonov:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
shell_scripts
.gitignore
README.md
cfn.go
ec2.go
elb.go
es.go
go.mod
go.sum
lambda.go
main.go
rds.go
s3.go
settings.go

README.md

Build Status

aws-overview

aws-overview is a small script to get AWS account overview. Available details are (number of):

  • EC2, EC2 Running instances, EC2 Windows running instances
  • ELB, ELB without assigned EC2 instances
  • Elasticsearch Domains
  • RDS, RDS MySQL/MSSQL/Oracle
  • CFN
  • Lambda functions
  • S3 buckets
  • Total of all above in all regions

Installing

  • go get github.com/tecracer/aws-overview
  • go install github.com/tecracer/aws-overview

For cross platform compilation:

  • env GOOS=windows GOARCH=amd64 go build

Usage

AWS Credentials expected in $HOME/.aws/credentials or as environment variables AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY

Usage: aws-overview [-h] [-log-file=path] [-daemon=true] [-repeat-every=60] [other options]
 -h, --help
 -daemon=false/true:           [bool], Run as daemon. Default value is 'false'
 -repeat-every=<INT>:          Repeat period in seconds. Used only in daemon mode. Default value is 180
 -log-file=<PATH>:             Log file location, if skipped logs to STDOUT
 -verbose=true/false:          [bool], if true prints details information about objects
 -machine-readable=true/false: [bool], if true convert output to Logstash format, false print json output

Thank you for original script by partamonov.

You can’t perform that action at this time.