cname for Elasticache Global Datastore primary cluster?

0

Is there a way to have a cname that points to the primary cluster of Elasticache Global Datastore?

The cname should stay the same and will always point to the primary cluster, even if it is changed to a different region.

Thanks.

已提問 1 年前檢視次數 942 次
1 個回答
3

Yes, it is possible to have a CNAME that points to the primary cluster of an Elasticache Global Datastore. You can create a CNAME record in your DNS settings that points to the endpoint of the primary cluster.

However, if you want the CNAME to always point to the primary cluster, even if it is changed to a different region, you will need to update the CNAME record each time the primary cluster is changed. This can be done manually or through an automated process.

Alternatively, you can use a service like Amazon Route 53 to create a DNS failover configuration that automatically redirects traffic to the primary cluster, even if it is changed to a different region. With Route 53, you can create a failover record set that includes the primary cluster endpoint and any standby endpoints. Route 53 will monitor the health of the primary cluster and automatically update the DNS records to point to a standby endpoint if the primary cluster becomes unavailable. When the primary cluster is restored, Route 53 will update the DNS records to point back to the primary cluster.

profile picture
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南