Skip to content

Instantly share code, notes, and snippets.

@njeirath
njeirath / aws_instance_parser.py
Created November 1, 2017 03:29
Parses AWS instance list
# Download https://pricing.us-east-1.amazonaws.com/offers/v1.0/aws/AmazonEC2/current/index.json to local directory as index.json
#
# Install pandas
import json
import pandas as pd
f = file("index.json", "r")
raw_data = json.loads(f.read())

Keybase proof

I hereby claim:

  • I am njeirath on github.
  • I am njeirath (https://keybase.io/njeirath) on keybase.
  • I have a public key ASA-aGtIlXEnAmqng-avC1A3lfjNq2Rqj2JA3X05krUjuQo

To claim this, I am signing this object: