How to get the IP address of RDS instance in AWS

Elasticsearch Ninja picture Elasticsearch Ninja · Jan 26, 2015 · Viewed 55.4k times · Source

I got the same answer everywhere on the internet regarding my question of how to get the IP address of an RDS instance in AWS, but I don't know what dig is, and how to use it.

How to allocate IP address in VPC to RDS instance?

Please help me find the IP address of my RDS instance in AWS?

Answer

Gareth Burrows picture Gareth Burrows · Jan 24, 2017

It won't display the ip address on the configuration page for the RDS instance because RDS IP's are dynamic in nature. You can dig for them if you need them but you would be better server using the DNS endpoint for the instance. This remains static and can be found on the details tab of the RDS instance within AWS.