I just recently realized that amazon exposes all of their ip ranges in a easy to
get json format here (https://ip-ranges.amazonaws.com/ip-ranges.json)
you can also read the docs here (
http://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html)
So I made this python script to