Troubleshooting VPC Connectivity Systematically
This lesson sets out the fixed order in which to check each component along a network path, which solves connectivity problems faster than guessing, and the most common faults.
Learning outcomes
After completing this lesson, you will be able to:
- Check each hop along the path in both directions.
- Recognise common connectivity faults.
A systematic path check
For traffic from a source to a destination, check each hop in both directions. The following sequence covers almost every VPC connectivity problem.
-
DNS
Does the name resolve to the expected address (private hosted zone associations, Resolver rules, endpoint private DNS)?
-
Source security group
Outbound rules allow the destination and port.
-
Source subnet NACL
Outbound allows the traffic, and inbound allows the return traffic on ephemeral ports.
-
Source route table
A route to the destination via the right target (local, IGW, NAT, peering, TGW, endpoint, VGW), and the target is available.
-
Intermediate devices
NAT gateway in a public subnet with an IGW route; transit gateway association and routes; firewall endpoints with symmetric routing.
-
Destination subnet NACL
Inbound and outbound (ephemeral) rules.
-
Destination security group
Inbound rule for the source and port.
-
Destination host
Service listening on the port, OS firewall, correct binding address.
-
Internet access
Public IP or Elastic IP on the instance (or NAT), IGW route, and the destination's own restrictions.
The following diagram shows the hops in order.

Checking a path
Common faults
The following table lists faults that appear repeatedly in exam scenarios.
| Symptom | Likely cause |
|---|---|
| Instance in public subnet unreachable from internet | No public IP, no IGW route, or SG/NACL blocks |
| Private instance cannot reach internet | No NAT route, NAT in private subnet, or NAT in failed AZ |
| Inbound connection times out but SG allows it | NACL inbound or outbound ephemeral rule missing |
| Peered VPCs cannot communicate | Route missing on one side, overlapping CIDR, or SG does not allow peer CIDR/SG |
| VPC A reaches C through B's peering | Impossible: peering is non-transitive |
| TGW-attached VPCs cannot communicate | Attachment not associated, no propagation/static route, or VPC route to TGW missing |
| Interface endpoint unreachable | Endpoint SG blocks 443, private DNS disabled, wrong subnet/AZ |
| S3 access through gateway endpoint denied | Endpoint policy or bucket policy aws:SourceVpce mismatch, or route table not associated |
Connectivity faults
One subnet cannot reach a peer VPC
Application servers in VPC B (10.2.0.0/16) reach a service in VPC A (10.1.0.0/16) through a transit gateway, but a reporting job running in B's database subnets times out connecting to the same service. Both attachments are associated with one TGW route table that has propagated routes for both CIDRs, and VPC A's route tables send 10.2.0.0/16 to the transit gateway. Reachability Analyzer from the reporting instance to the service names the blocking component: the route table associated with B's database subnets has no route for 10.1.0.0/16, while the application subnets' route table does. Adding the route to the database subnets' route table fixes it, which shows why every subnet's route table must be checked, not just one per VPC.
Why do NACLs need ephemeral port rules?
Show answer
They are stateless, so return traffic must be allowed explicitly.
Exam Tips
Remember for the exam
- Check DNS, security groups, NACLs (both directions), route tables and the destination host in order.
- NACLs need ephemeral port rules for return traffic.
- Every subnet's route table needs the route, not just one in the VPC.
- Transit gateway: association, propagation or static route, and VPC routes to the TGW.