Interview Prep/AWS/VPC and Connectivity

VPC peering is `active` but ping fails.

IntermediateTroubleshootingVPC and Connectivity
Answer

Likely causes → Missing routes, SG rule, or NACL.

Diagnose →

aws ec2 describe-vpc-peering-connections
aws ec2 describe-route-tables --filters Name=route.vpc-peering-connection-id,Values=pcx-0abc
aws ec2 describe-security-groups --group-ids sg-0abc

Fix →

  1. Add routes both ways
  2. Allow ICMP or app port in SG
  3. Fix NACL

Prevent → Use Reachability Analyzer in CI.

aws All AWS questions Roadmap: AWS core services

More on VPC and Connectivity