Using custom DNS for cluster endpoint #58
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, Here's an example. Let's assume your db cluster has two instances ("instance-a" and "instance-b").
I hope that clarifies your case. |
Beta Was this translation helpful? Give feedback.
Hi,
You can use "?.account-identifier.region.rds.amazonaws.com" (not "?.cluster-account-identifier.region.rds.amazonaws.com" as you've mentioned) as clusterInstanceHostPattern. Another option is to use "?.customDomain.com" if your DNS can resolve it to db instance endpoints or corresponding IP addresses.
Here's an example. Let's assume your db cluster has two instances ("instance-a" and "instance-b").
"instance-a" -> "instance-a.account-identifier.region.rds.amazonaws.com"
"instance-b" -> "instance-b.account-identifier.region.rds.amazonaws.com"