Select a VPC connectivity path
Trace a packet through routes and filters and choose how a private workload reaches its destination.
Select a VPC connectivity path
Start with source, destination, IP family and connection initiator. Inspect the route table associated with the source subnet and select the most specific matching destination. An internet gateway can provide a path for a public IPv4 address. A public NAT gateway can provide outbound IPv4 connectivity for private instances when both subnet routes and the internet gateway path are correct. Return traffic for an established NAT connection follows the mapping.
A gateway endpoint adds routes for supported S3 or DynamoDB access. An interface endpoint presents private network interfaces, and may use private DNS to resolve service names. Security groups are stateful, while custom network ACLs must permit both directions, including applicable ephemeral ports. Weigh service scope, Region, endpoint hourly and data processing costs, and how traffic crosses availability zones.
For private IPv6 workloads that initiate internet connections, an egress-only internet gateway can supply the outbound route. For VPC peering, check non-overlapping address ranges and routes on both sides. On a protected HTTP application, inspect the associated AWS WAF web ACL, rule action and request logs. DNS Firewall rules apply to DNS queries and Network Firewall policies apply to traffic routed through the firewall endpoints. Verify that the appropriate policy actually saw the affected traffic.
Worked case 1
A private subnet needs S3 in the same Region and the team wants traffic to avoid its NAT gateway. Where should it start?
Check your reasoning
Associate an S3 gateway endpoint with the subnet’s route table and verify endpoint, bucket and identity policies. Compare the selected S3 prefix-list route with the default NAT route.
Worked case 2
A private IPv4 instance has a default route to a public NAT gateway but cannot reach an approved internet update service. Which second route matters?
Check your reasoning
Inspect the route table for the NAT gateway’s public subnet. It needs a path to the internet gateway. Then verify filters and the expected source address at the destination.
Connect to AWS services with gateway endpoints · Official SOA-C03 objectives for this domain
Related lesson in Azure Administrator Associate. Trace the effective network route.
Practice with the recording
An application using an interface endpoint still resolves a service to a public address. How would you isolate the cause?
Check your reasoning
Check private DNS for the endpoint and name resolution from the application’s actual network. Then verify connectivity to the endpoint interfaces and their security group. A working endpoint in another subnet does not establish which address this client resolves.
Practice the individual exam skills
- 5.1.1–5.1.4 Draw the subnets, route tables and return path for a private service call. Compare a VPC endpoint with peering or a hybrid path. Decide whether DNS Firewall, WAF or Network Firewall can observe the traffic, then estimate transfer and gateway charges for the chosen path.
Select a VPC connectivity path quiz
Answer 3 questions. Check each answer for an explanation.