Aurora cluster endpoints won't resolve

0

We are using a Aurora Global Database in a few different regions. In one of our regions (Mumbai) our cluster endpoints suddenly stopped resolving, so our EC2's can't connect to it anymore. It's solved by changing the database hostname from .cluster-ro-.ap-south-1.rds.amazonaws.com to -instance-1..ap-south-1.rds.amazonaws.com. But that is a temporary solution.

Any thoughts on how we can re-activate resolving the cluster endpoints again?

JorisL
gefragt vor 2 Jahren245 Aufrufe
2 Antworten
0

Looks like the accessiblity flag issue. You can check the same via CLI using the describe-db-clusters API and filtering or searching for PubliclyAccessible. Here is an example:

aws rds describe-db-instances --region us-west-2 --output json --query 'DBInstances[?Engine==aurora].{instance:DBInstanceIdentifier, cluster:DBClusterIdentifier, isPublic:PubliclyAccessible }' [ { "instance": "MyInstance_1", "isPublic": true, "cluster": "MyAurora_Wrk-cluster" }, { "instance": "MyInstance_2", "isPublic": false, "cluster": "MyAurora_Wrk-cluster" } ] You modify an instance and enable public access on it using the modify-db-instance API.

beantwortet vor 2 Jahren
  • Our RDS servers are only available from private subnets. So no need for public accessibility.

0

Last night the same error occurred in an other region (us-west-1). Sounds like a problem that other AWS users should face too?

JorisL
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen