I started an Amazon RDS instance (with Multi-Az enabled) and was provided with a host name like instance.abc123.us-west-1.rds.amazonaws.com. Will this instance's hostname ever change? Can I use this hostname directly in my applications, or should I be using other DNS aliases (or AWS elastic IP addresses) or something?
How to refer to AWS RDS host name
amazon-rds
Related Topic
- AWS: Multi-region setup using single RDS instance
- If you can’t change the RDS endpoint of an AWS Beanstalk instance, how do you do a blue/green deployment
- How to redirect database traffic to a new master on RDS after promoting a read replica
- AWS – Invalid Storage Size for MySQL on Elastic Beanstalk and RDS
Best Answer
Amazon RDS instance hostnames don't change for as long as the instance is running. It persists reboots too. If you use a cluster, then you should use the cluster endpoint as the hostname in your applications. You could use the hostname as it is or create a simple CNAME record in your DNS to make it memorable.