How can I keep updated of changes to the range of IP addresses that Amazon will use for EC2 instances. I want to add a range of IPs to my firewall settings to allow access to my 'ground based' mysql database from instances started by my autoscale policy. As i understand each instance will have an IP address that will be in this range? is this correct?
https://ip-ranges.amazonaws.com/ip-ranges.json
This question has been answered before, but here is the link to the forums, select the sticky link to the list of Ip ranges used by Amazon, it gets updated reliably when they add new information.
EDIT: Changed link, whenever the post is updated the link breaks, so just gave a static link to the forum page with the sticky, should be safer.
To stay up to date you can now (2015-08-31) subscribe to AWS public IP address changes via SNS.
Subscribe to the topic:
Every time the addresses are changed, you get a message like this:
You can then download
https://ip-ranges.amazonaws.com/ip-ranges.json
and update your systems.A later list, published in 2012: https://forums.aws.amazon.com/ann.jspa?annID=1528
Update dated January 2016: AWS IP Address Ranges - http://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html