What is the AWS VPC reachability analyzer used for?
IntermediateProductionVPC & Network Architecture
Answer
It statically analyzes the configuration between a source and destination (security groups, NACLs, route tables, endpoints, TGW) and tells you whether a path exists, or which component blocks it, without sending packets.
aws ec2 create-network-insights-path --source i-0abc --destination i-0def --protocol tcp --destination-port 443
aws ec2 start-network-insights-analysis --network-insights-path-id nip-0123
First tool we use for "A cannot reach B" inside AWS.
More on VPC & Network Architecture
How would you design a production VPC for a three-tier web application?IntermediateHow many AZs and subnets should a production VPC use, and why?BeginnerWhat makes a subnet public versus private?BeginnerHow do you avoid NAT gateway single points of failure and cross-AZ charges?IntermediateWhen should you use VPC endpoints?IntermediateHow do you design connectivity for 50+ VPCs across accounts and regions?Advanced