What possible ways to translate entry point like my-name.ck4k21dvamqbq9.eu-west-1.rds.amazonaws.com:5432 to db.domain.com?

For own instances we use map in /etc/hosts based on private ip. Storing long entry point name a little bit confusing, and must be maintained in a lot of settings files.


Add a CNAME record in your DNS for db.example.com that points to your RDS endpoint (without the port, i.e. my-name.ck4k21dvamqbq9.eu-west-1.rds.amazonaws.com).

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.