Amazon EC2 IP Detector for Python

20. November 2014 Blog 0
The other day I need to be able to detect if an IP address was an Amazon EC2 IP address for a project I was working on. I couldn’t find any code but I did find this: https://forums.aws.amazon.com/ann.jspa?annID=1701 Which is a list of all the ip ranges for Amazon EC2 servers. So first a wrote a ...