Interview Prep/Networking/Addressing, CIDR & Routing

When do you pick static routes vs BGP between on-prem and AWS?

IntermediateScenarioAddressing, CIDR & Routing
Answer

Situation read → The decision depends on the number of prefixes, the need for failover and who owns changes.

What I'd do →

  1. Use static routes for a single site, a handful of stable prefixes and a single tunnel
  2. Use BGP when you have multiple tunnels or circuits, many prefixes or need automatic failover
  3. With BGP on Site-to-Site VPN or Direct Connect, control path with local preference and AS-path prepending
  4. Monitor tunnel state with the TunnelState CloudWatch metric and BGP session alarms

Why → BGP withdraws a dead path on its own, while static routes need a human or health tracking to fail over.

Interview tip → Say you always prefer BGP for anything production because failover without human action is the point.

All Networking questions Roadmap: Networking for DevOps

More on Addressing, CIDR & Routing