How do you design hybrid connectivity for production?
IntermediateProductionVPC and Network Design
Answer
Direct Connect for bandwidth and predictable latency, with Site-to-Site VPN as a backup (or as the primary for small sites). For resilience, two DX connections at two different DX locations (the "high resiliency" model), terminated on a Direct Connect gateway associated to the Transit Gateway. BGP handles failover; use AS path prepending or local preference to prefer DX over VPN. Test failover by shutting down a BGP session, not by assuming.
More on VPC and Network Design
Walk through a production VPC layout for a multi-tier app.BeginnerHow do you size VPC CIDRs to avoid painting yourself into a corner?IntermediateOne NAT gateway or one per AZ?BeginnerWhat are the biggest levers to reduce NAT gateway cost?IntermediateWhich VPC endpoints do you create by default in a private EKS or ECS VPC?IntermediateHow do you lock down what can go through a VPC endpoint?Advanced