I moved my Master/slave database architecture to Amazon RDS and everything works fine.

But I have a slave out of the RDS service which should keep sync with the new Master server, to do so I have to point my DB domain name master-db.myawsserver.com on the Master (RDS) private address IP.

AWS console didn't provide this information and I am connected directly to the MySQL database.


RDS instances can change their IPs unexpectedly, so they should not be used nor are they provided in the console or API (although you can technically dig for them). The DNS endpoint provided in the AWS console will resolve to the internal IPs from within Amazon's network.


its pretty easy, telnet your RDS endpoint using command prompt on windows or through unix terminal

for example: telnet "you RDS endpoint" "Port"

trying to connect "You get your RDS internal IP here"

  • See my answer. You should never directly use the IP, as it can change without warning. – ceejayoz Sep 27 '16 at 14:16
  • 1
    There are simpler ways to do reach the same thing (even more so since telnet is not installed in default installations of windows nowadays if I'm not mistaken). If you want to get the IP address associated with a hostname or FQDN you'd be better off using ping or nslookup which are default even on newer Windows systems. – pacey Sep 27 '16 at 17:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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