So I have 3 components all connecting to same db. Should I use:
comp1.domain.io
comp1db.domain.io
comp2.domain.io
comp2db.domain.io
comp3.domain.io
comp3db.domain.io
Or:
comp1.domain.io
comp2.domain.io
comp3.domain.io
db.domain.io
EDIT: I am wondering if the ease of API accessible Route 53 hostnames makes it more beneficial to create hostnames for the db server per application. This means if I need to transfer the DB of a particular application off to a different server, I just have to modify the hostname.
Traditionally it's usually db.domain.io
, but that's because DNS entries is just not easily accessible and editable.