luctus / riauditor

Am I really using my AWS EC2 Reserved Instances? Audit your EC2 Reserved Instances.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS EC2 RI Auditor

Am I really using my AWS EC2 Reserved Instances? Audit your EC2 Reserved Instances. Inspired by a Matthew G Keller's post

Development

You need to have Docker installed in your computer (if you are using a Mac, then I really recommend you to user Dinghy) and the nginx-proxy container up and running.

Now, make sure you edit the .env file with your Google credentials. It should looks like this:

RAILS_ENV=development
PASSENGER_APP_ENV=development
RACK_ENV=development
GOOGLE_CLIENT_ID=<<REPLACE HERE>>
GOOGLE_CLIENT_SECRET=<<REPLACE HERE>>

Then, check the configuration file at config/settings.yml and make sure it contains all the AWS regions you work with. It initially contains us-east-1, sa-east-1, eu-west-1, and ap-southeast-1.

Finaly, build, and start the container.

riauditor$ docker-compose build
riauditor$ docker-compose up -d

Point the hostname dev.riauditor.com to your docker proxy ip (in mac, vim /etc/hosts)

You are ready! visit: http://dev.riauditor.com in your browser

You will see something like this: RI Auditor sample

About

Am I really using my AWS EC2 Reserved Instances? Audit your EC2 Reserved Instances.


Languages

Language:Ruby 69.8%Language:HTML 16.9%Language:CSS 10.9%Language:JavaScript 1.0%Language:CoffeeScript 0.9%Language:Shell 0.5%