How would you let on-prem users resolve and reach private AWS resources over VPN?
IntermediateScenarioVPC & Cloud Network Design
Answer
Situation read → Network reachability alone is not enough; DNS has to cross the VPN too.
What I'd do →
- Establish Site-to-Site VPN or Direct Connect and propagate routes in both directions
- Create a Route 53 Resolver inbound endpoint in the VPC
- Point on-prem DNS conditional forwarders for
corp.aws.exampleto the inbound endpoint IPs - Test with
dig @10.0.1.10 db.corp.aws.examplefrom on-prem - Open 53 UDP/TCP in security groups
Why → Private hosted zones are visible only inside VPCs, so on-prem needs the resolver endpoint to ask.
Interview tip → Mention an outbound endpoint for the reverse direction.
More on VPC & Cloud Network Design
What makes a subnet public versus private in AWS?BeginnerExplain internet gateway versus NAT gateway and when you use each.BeginnerPrivate instances need to pull packages from the internet but must not be reachable from it. What do you set up?BeginnerWhy shouldn't production run in the default VPC?BeginnerPublic IP, Elastic IP and private IP: how do they differ on EC2?BeginnerWhy use SSM Session Manager instead of a bastion host?Beginner