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 →
- Add routes both ways
- Allow ICMP or app port in SG
- Fix NACL
Prevent → Use Reachability Analyzer in CI.
More on VPC and Connectivity
`ssh: connect to host 3.250.1.1 port 22: Connection timed out`. Walk the checks.Beginner`ssh: connect to host ... port 22: Connection refused`. How is it different from a timeout?Beginner`Permission denied (publickey)` on a new EC2 instance.IntermediatePrivate instances cannot reach the internet; `curl: (28) Connection timed out after 10000 milliseconds`.IntermediateNAT gateway shows `ErrorPortAllocation` in CloudWatch and connections drop.IntermediateVPC Reachability Analyzer says `BLACKHOLE`. What does it mean?Advanced