Skip to content

Amazon RDS hostname/IP question #42

Discussion options

You must be logged in to vote

Alright, I just confirmed this... so I can officially say today I learned ;)

I checked an existing database CNAME => IP address using nslookup against that list and the EC2 IP ranges (this case specifically the 52.12.0.0/15 subnet) and it does indeed line up with the RDS instance. So these should be good to use for your firewall.

Here is the exact command I used (our North America region):

jq -r '.prefixes[] | select(.region=="us-west-2") | select(.service=="EC2") | .ip_prefix' < ip-ranges.json

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@jasonmccallister
Comment options

@jamesmacwhite
Comment options

@jasonmccallister
Comment options

Answer selected by jasonmccallister
@jamesmacwhite
Comment options

@jamesmacwhite
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants