KirosG / ec2instances.info

Amazon EC2 instance comparison site

Home Page:https://ec2instances.info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ec2instances.info

I was sick of comparing EC2 instance metrics and pricing on Amazon's site so I made this. Improvements welcome!

Project status

Build Status

I'm actively maintaining the site with the help of contributors here, but am not working on large new features.

People have suggested many neat ideas and feature requests but it remains unclear how long the site will be necessary. I've heard from teams at Amazon that they use the site internally and some have mentioned that that they might be building something similar. They certainly have access to better data.

Running locally

Make sure you have LibXML and Python development files. On Ubuntu, run sudo apt-get install python-dev libxml2-dev libxslt1-dev libssl-dev.

  1. Clone the git repo
  2. cd ec2instances.info/
  3. virtualenv env (make sure you have virtualenv package installed)
  4. source env/bin/activate
  5. pip install -r requirements.txt
  6. fab build
  7. fab serve
  8. Browse to http://localhost:8080
  9. deactivate (to exit virtualenv)

Requirements

  • Python 2.7+ with virtualenv (not Python 3 yet due to Fabric dependency)
  • Fabric 1.1+
  • Boto
  • Mako
  • lxml

Docker

To build a docker image follow these steps:

  1. Clone the git repo
  2. cd ec2instances.info
  3. docker build -t ec2instances.info .
  4. Start a container docker run -d --name some-container -p 8080:8080 ec2instances.info
  5. Update files docker exec -it some-container bash -c "fab build"

Also this image can be found at quay.io/ssro/ec2instances.info

To use this instead of building your own:

docker run -d --name some-container -p 8080:8080 quay.io/ssro/ec2instances.info

Update files as described at step 5.

About

Amazon EC2 instance comparison site

https://ec2instances.info

License:MIT License


Languages

Language:HTML 99.0%Language:Python 0.5%Language:Mako 0.4%Language:JavaScript 0.1%Language:CSS 0.0%Language:Dockerfile 0.0%Language:Makefile 0.0%