An open API service indexing awesome lists of open source software.

https://github.com/cldwalker/is_it_ec2

is it ec2?
https://github.com/cldwalker/is_it_ec2

Last synced: 13 days ago
JSON representation

is it ec2?

Awesome Lists containing this project

README

          

## Description
App to lookup if IP or hostname is on Amazon's EC2 infrastructure.

## Setup and Usage

Using ruby 1.9.3:

```sh
$ bundle install
# start server
$ bundle exec shotgun

# In another tab
$ curl http://localhost:9393/google.com -> NOPE
$ curl http://localhost:9393/heroku.com -> YEP
```

## Heroku Setup

```sh
$ heroku create -s cedar
# for analytics
$ heroku config:add GA_CODE=YOUR_CODE
```

## Credits
* @hundredwatt for [the gist](https://gist.github.com/2464999) that kicked this off