Am I really using my AWS EC2 Reserved Instances? Audit your EC2 Reserved Instances. Inspired by a Matthew G Keller's post
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