1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Hello Uladzimir,
Take a look and see if any of these options suit your needs.
Potential Solutions:
- Private Endpoint: If your primary use-case involves accessing the RDS instance from within the same VPC, consider switching the "Publicly accessible" setting to "No". This will ensure that only private IPs are associated with the RDS instance and its listener endpoint.
- Route 53 Resolver: Set up a custom DNS resolver using Amazon Route 53 Resolver. You can create a rule that forces resolution of the listener endpoint's domain name to its private IP.
Alternative Solution (not recommended):
- Hosts File: As a workaround, though not recommended for production systems, you can manually map the listener endpoint to the private IP in the /etc/hosts (or equivalent) file on your EC2 instance. This will force the EC2 instance to resolve the endpoint to the specified IP. However, if the IP ever changes, you will need to manually update it.
répondu il y a 8 mois
Contenus pertinents
- demandé il y a 7 mois
- demandé il y a un an
- demandé il y a 6 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 8 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 4 mois
Any update?