Skill 5.3.1

Troubleshoot VPC configurations (for example, subnets, route tables, network ACLs, security groups, transit gateways, NAT gateways)

Key Concepts

Work along the path: source security group outbound rule, source subnet NACL outbound, route table entry to the next hop (IGW, NAT, peering, transit gateway, endpoint), destination subnet NACL inbound, destination security group inbound, and return traffic through both NACLs on ephemeral ports. NAT gateways must be in a public subnet (zonal mode) whose route goes to the IGW, and private subnets need a route to the NAT gateway.

With Transit Gateway, the attachment must be associated with a TGW route table that has a route (propagated or static) to the destination attachment, and each VPC's route tables must send the destination CIDR to the transit gateway. Overlapping CIDRs and asymmetric routing also break connectivity.