PrivateLink, DNS and hybrid diagnostics
Reach a service rather than a network
AWS PrivateLink provides private service access using supported endpoint types. An interface endpoint creates network interfaces in selected subnets with private addresses and security groups. Consumers can access a supported AWS service or published endpoint service without broad VPC-to-VPC connectivity; overlapping consumer and provider addresses can be accommodated in supported endpoint-service designs. A gateway endpoint instead adds routes for S3 or DynamoDB to selected VPC route tables; it does not create an interface endpoint or extend access to on-premises through TGW. Interface endpoints typically incur hourly and data processing fees; gateway endpoints have no additional endpoint charge, although other charges can apply.
DNS across the boundary
Split-horizon DNS returns different answers depending on the resolver context. In a VPC, private DNS on a supported interface endpoint can resolve a service hostname to its private IPs. For hybrid DNS, an inbound Route 53 Resolver endpoint receives forwarded queries from on-premises DNS; outbound endpoints and forwarding rules send matching queries from associated VPCs toward specified DNS servers. Ensure the private hosted zone is associated where needed and allow authorized UDP and TCP DNS traffic on port 53. Avoid forwarding loops and overly broad rules. Centralized endpoints require explicit DNS design; enabling private DNS in one VPC does not automatically make every connected VPC resolve the same private address.
Separate reachability from permission
An endpoint policy, where supported, constrains which principals and operations may use that endpoint. It does not replace identity policies or resource policies; service-specific policy support and conditions differ. For an S3 request, routing to the endpoint, endpoint policy, identity authorization and bucket policy are separate gates. For an interface endpoint also inspect its security group and TLS hostname. If DNS answers a public address unexpectedly, diagnose DNS before modifying routes. If a valid request receives AccessDenied, investigate authorization rather than opening a firewall. Use Reachability Analyzer for supported AWS configuration paths, VPC Flow Logs for traffic metadata, Resolver query logs for DNS and application logs for final errors; none alone proves end-to-end availability.
Offline diagnostic challenge
The synthetic fixture models route selection in two tables, address overlap, a simplified split DNS answer, path MTU and hypothetical cost. It deliberately omits AWS route tie priorities, route propagation timing, stateful firewalls, real DNS and IAM evaluation. Run the tests without a network connection. Change the data return route, a private DNS flag and the packet size, one at a time; identify the failing layer before proposing a correction. For real deployments use approved change plans and validate from authorized source hosts only.
{ "appCidr": "10.10.0.0/16", "dataCidr": "10.20.0.0/16", "appRoutes": [ [ "10.20.0.0/16", "tgw" ] ], "dataRoutes": [ [ "10.10.0.0/16", "tgw" ] ], "hubRoutes": [ [ "10.10.0.0/16", "app" ], [ "10.20.0.0/16", "data" ] ], "privateDns": true, "privateAnswer": "10.20.1.5", "publicAnswer": "192.0.2.5", "pathMtu": 1400, "hours": 10, "gb": 20, "hypotheticalHourly": "0.05", "hypotheticalPerGb": "0.02"}Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
PrivateLink, DNS and hybrid diagnostics — knowledge check
Reason about synthetic hybrid networking scenarios.
Which endpoint adds routes for S3 or DynamoDB to selected VPC route tables?
Which Resolver endpoint receives forwarded DNS queries from on-premises?
A valid signed API call returns AccessDenied. What should you inspect first?
What does interface endpoint private DNS in one VPC guarantee for connected VPCs?
What does the offline route fixture prove?