- Newest
- Most votes
- Most comments
When accessing VPC resources over Amazon VPC Lattice, the process is slightly different from using AWS PrivateLink directly. In your scenario with VPC Lattice, you need to use a different DNS name to connect to your RDS instance.
When you associate a resource configuration with a VPC Lattice service network, VPC Lattice generates a new DNS name for accessing the resource. This DNS name is different from the original RDS endpoint.
To find the correct DNS name to use:
- Go to the VPC Lattice console and select your service network.
- Look for the resource configuration associated with your RDS instance.
- You should see a new DNS name generated by VPC Lattice for this resource.
This new DNS name will resolve to the appropriate IP addresses within the CIDRs that were added to your Client VPC route table (129.224.0.0/17, 169.254.171.0/24, and fd00:ec2:80::/64).
When connecting from your EC2 instance in the Client VPC to the RDS database, use this new VPC Lattice-generated DNS name instead of the original RDS endpoint. This ensures that your connection goes through the VPC Lattice service network.
Remember that when using VPC Lattice, you're not directly connecting to the original RDS endpoint. Instead, you're accessing it through the VPC Lattice service network, which provides the necessary routing and connectivity.
If you're having trouble finding the new DNS name or if it's not working as expected, double-check your VPC Lattice configuration, ensuring that the resource configuration is correctly associated with the service network and that the Client VPC association is properly set up.
Sources
VPC resources in VPC Lattice - Amazon VPC Lattice
Resource configurations for VPC resources - Amazon VPC Lattice
Access VPC resources through AWS PrivateLink - Amazon Virtual Private Cloud
When you create a resource for RDS using ARN, you get parent and child resource. My mistake was to look for DNS entry in parent resource. Lattice DNS name is found from child resource association details.
Relevant content
- AWS OFFICIALUpdated 4 years ago

Will this support secure connection ?