Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 - forums.aws.amazon.com/ann.jspa?annID=935 –  undefined Mar 30 '11 at 22:18

3 Answers 3

up vote 27 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 - https://forums.aws.amazon.com/ann.jspa?annID=1701 | 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! –  Electric Automation Sep 17 '14 at 20:33

A later list, published in 2012: https://forums.aws.amazon.com/ann.jspa?annID=1528

share|improve this answer

Update dated March 2014: Amazon EC2 Public IP Ranges - https://forums.aws.amazon.com/ann.jspa?annID=1701

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 answers, posting an answer now requires 10 reputation on this site.

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.