Hybrid connectivity and blast radius
Build a non-overlapping address plan
A hybrid link allows traffic between otherwise separate networks, subject to routing and policy. Begin with a complete address inventory, including secondary ranges, container ranges and reserved growth. The following fictional ranges do not overlap; they are private addresses for an offline design, not an instruction to advertise them.
On-premises: 10.10.0.0/16AWS: 10.20.0.0/16Azure: 10.30.0.0/16Google Cloud: 10.40.0.0/16Each connection: independent owner, approved routes, return path, DNS and failover test.A second environment using 10.20.128.0/17 would overlap the AWS example because it lies inside 10.20.0.0/16. Stop and resolve the allocation before relying on direct routing. NAT can sometimes address an unavoidable overlap, but it changes source identity, observability and operational complexity; design and verify it explicitly. The supplied Python fixture uses ipaddress to verify example ranges, not to inspect a real network.
Choose transport and independent paths
Site-to-site VPN commonly uses encrypted tunnels over an underlying network. Dedicated connectivity options include AWS Direct Connect, Azure ExpressRoute and Google Cloud Interconnect; private connectivity is not a universal guarantee of encryption. Verify transport security, supported encryption features, redundancy, bandwidth, routing and commercial terms for the chosen service. A backup tunnel on the same customer gateway or physical circuit may fail at the same time as the primary. Separate the failure domains where the recovery objective requires it. AWS documents a second customer gateway for redundancy; Azure documents ExpressRoute with VPN fallback; Google describes VPN and Interconnect options. These are design candidates, not deployment instructions.
Primary: circuit A -> gateway ABackup: independently routed tunnel B -> gateway BShared dependencies: DNS, identity, application databaseTest: lose primary; confirm backup route and application responseTest: restore primary; confirm stable failback and no conflicting writersVerify more than a tunnel status
For each authorized flow record source and destination networks, protocol, port, forward and return routing, firewall rules, DNS resolution, TLS expectations and workload identity. Border Gateway Protocol (BGP) can exchange reachability information where supported; it does not grant application authorization. A tunnel marked up can still have no useful route or a blocked return path. Use narrowly scoped route advertisements and ingress/egress policies; verify both permitted and denied traffic. Ensure that private names resolve to the intended endpoints on each side. Do not assume a cloud peering or gateway automatically provides transit between all connected networks.
Flow: catalog client -> catalog.example.com:443Forward path: verifiedReturn path: missingDNS: resolves intended private endpointIdentity: approvedDecision: HOLD (a working forward route is insufficient)Design independent operational boundaries
A connectivity root may own the shared network attachment, while each application root owns its local resources. Agree on who can modify routing, firewall and DNS. Use separate credentials per environment and least privilege, including for pipelines. Publish a minimal network contract instead of giving every application team access to every state. Plan dependency order deliberately: create a network before consuming its identifiers, and remove consumers before retiring shared connectivity. Across separate roots, Terraform cannot automatically infer a global dependency graph; an external delivery workflow or explicit review must enforce the order. Never run all root applies merely because they share a repository.
Change: replace shared hubAffected: AWS catalog + Azure reports + on-premises identityGate: impact review, separate owner approvals, rollback planApply: only approved root(s), ordered by verified dependencyVerify: allowed/denied flows and application healthTest failover and account for data
Redundant connectivity is not application disaster recovery. An application can be reachable but unable to serve requests because its database, identity provider or message queue is unavailable. Decide how data is replicated and where writers are allowed. Document recovery point and time objectives, residency limits, failback, reconciliation and the risk of two active writers. Measure recovery time in a controlled rehearsal; never promise zero downtime from a diagram. Include idle backup circuit and gateway costs, egress in both directions and recovery capacity. The offline exercise checks a small set of design gates and CIDR overlaps. Passing means ready for architecture review, not production readiness. Next: enterprise landing zones and platform engineering.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Hybrid connectivity and blast radius — knowledge check
Review multi-cloud architecture and hybrid connectivity.
Which range overlaps 10.20.0.0/16?
Two paths share one customer gateway. What must be reviewed?
What does an established VPN tunnel prove about a particular application?
Who coordinates dependencies across separately managed Terraform roots?
Why test application failback after a connectivity recovery?