Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Amazon have published this - – undefined Mar 30 '11 at 22:18
up vote 36 down vote accepted

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.

share|improve this answer
The link no longer leads to this info – undefined Mar 25 '11 at 15:52
Thanks, fixed it to be more durable. – Flashman Apr 6 '11 at 14:29
Thanks, the legions of idiots at amazonaws are scraping terabytes of data from us, it is a black hole of awfulness. Every website should block the amazonaws IP range by default. – soupagain Sep 11 '12 at 11:27
Just to supplement this, if you want a parsed list of the above URL, use wget -qO - | grep -Eoh "[0-9.]+{4}/[0-9]+" – Ben Lessani - Sonassi Mar 22 '13 at 16:38
@soupagain you are 100% correct. Its even worse 2 years after your comment! – SmartMethod Sep 17 '14 at 20:33

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 and update your systems.

share|improve this answer

A later list, published in 2012:

share|improve this answer

Update dated January 2016: AWS IP Address Ranges -

share|improve this answer

protected by Sven Apr 30 '14 at 5:52

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.