3

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.

Milen A. Radev
  • 962
  • 5
  • 17
Nikolay Fominyh
  • 286
  • 4
  • 11

1 Answers1

7

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).

ceejayoz
  • 32,910
  • 7
  • 82
  • 106