Interview Prep/Networking/VPC & Network Architecture

How do you troubleshoot "A cannot reach B" systematically in a VPC?

IntermediateProductionVPC & Network Architecture
Answer

Walk the path in order: DNS resolves correctly, source security group egress, source subnet route table, NACLs both ways, destination route table (return path), destination security group ingress, the service listening on the right interface, host firewall. Use Reachability Analyzer, flow logs and nc.

REJECT in flow logs on the destination ENI points to security group or NACL; no record at all points to routing.

All Networking questions Roadmap: Networking for DevOps

More on VPC & Network Architecture