A Hybrid Network Is More Than A Connection
A company needs production, development, and shared-services VPCs to communicate with selected systems in its data center. Production must stay isolated from development, private names must resolve in both directions, and one failed path must not disconnect the business.
That creates five separate jobs:
- Transport provides a physical or encrypted path between locations.
- Routing tells packets which next hop reaches a destination and how replies return.
- Segmentation decides which networks should learn routes to one another.
- DNS translates names into addresses across the two DNS environments.
- Authorization and resilience decide which traffic is allowed and whether another usable path survives failure.
Before any of them, assign non-overlapping CIDR ranges. If two connected networks claim the same address range, routing cannot reliably infer which one was intended.
The Smallest Useful Architecture
Use AWS Transit Gateway as a Regional hub when many VPCs and hybrid attachments need transitive routing and centralized segmentation. Production, development, shared services, Site-to-Site VPN, and Direct Connect attach to the hub. Different Transit Gateway route tables expose only the intended destinations.
The components have distinct jobs:
- The public internet can reach public endpoints, but it does not by itself extend private on-premises routes into a VPC. Site-to-Site VPN adds an encrypted network tunnel while still using the internet as its underlay.
- Site-to-Site VPN creates IPsec tunnels over internet connectivity. It is relatively quick to establish, encrypted in transit, and useful as a first path or backup. Configure both AWS-provided tunnels, but remember that two tunnels to one customer gateway are not two independent customer devices or sites.
- Direct Connect supplies dedicated private connectivity with more predictable sustained network behavior and provider lead time. Private does not mean encrypted: add an appropriate encryption layer when required. Reaching Transit Gateway uses a transit virtual interface through a Direct Connect gateway associated with the hub; the physical connection is only the first layer.
- Transit Gateway replaces a growing peering mesh with a transitive hub. It does not automatically authorize every attachment, and it does not remove VPC route tables.
- Route 53 Resolver endpoints connect DNS worlds. An inbound endpoint receives queries entering AWS, such as on-premises clients resolving a private hosted zone. An outbound endpoint and forwarding rule send selected AWS queries toward corporate DNS.
- Security groups and optional network inspection authorize traffic that routing makes reachable. Connectivity itself grants no application permission.
For a small requirement involving only two VPCs, VPC peering may be simpler. Transit Gateway earns its place when centralized transitive routing, hybrid attachments, or segmentation justify the hub.
Follow One Conversation There And Back
Suppose a production EC2 instance calls an on-premises database:
- DNS returns the database's on-premises address. Name resolution identifies a destination; it does not create reachability.
- The VPC subnet route table matches the on-premises CIDR and selects the Transit Gateway attachment.
- The Transit Gateway route table associated with the production attachment selects the Direct Connect or VPN attachment.
- The on-premises router receives the packet and local controls allow it to reach the database.
- The reply needs corresponding on-premises, Transit Gateway, and VPC routes back to the instance. Security groups, firewalls, and network ACLs must also permit the conversation.
BGP can advertise and withdraw reachable prefixes as paths change. It helps routers converge on another route, but it does not carry packets, authorize traffic, or prove that the application at the destination is healthy.
Transit Gateway segmentation depends on two ideas that are easy to blur. Association chooses the route table used to evaluate traffic arriving from an attachment. Propagation determines which route tables learn routes to an attachment's destinations. For example, production can learn on-premises routes while development learns only shared-services routes. Missing routes form the first isolation boundary; security controls then filter traffic that remains routable.
Read deeper into Transit Gateway association and propagation Read deeper into hybrid DNS direction and forwardingDesign Failure As A State Transition
A common design uses Direct Connect as the steady primary path and Site-to-Site VPN as backup. When Direct Connect fails, BGP should withdraw its routes, the VPN path should become preferred, and both directions must converge without creating an asymmetric path through a stateful firewall.
The backup is real only if it has independent customer-side components where required, enough capacity for critical traffic, working DNS, correct return routes, and tested failover and recovery. A green tunnel status alone does not prove that the application can communicate.
SAA Recognition Signals
- “Encrypted hybrid connectivity needed quickly” points to Site-to-Site VPN because it establishes IPsec tunnels over existing internet connectivity.
- “Dedicated private connection with predictable sustained behavior” points to Direct Connect because the path is provisioned outside the public internet; add encryption separately when required.
- “Connect many VPCs and on-premises networks transitively” points to Transit Gateway because it is a managed hub rather than a pairwise peering mesh.
- “On premises must resolve an AWS private hosted zone” points to a Resolver inbound endpoint because the DNS query enters AWS.
- “AWS workloads must resolve corporate private names” points to a Resolver outbound endpoint plus forwarding rule because selected queries leave AWS.
- “Automatically exchange and withdraw network prefixes” points to BGP, while the actual packet path still uses route tables and attachments.
High-Value Traps
- Do not treat a working connection as proof that routes, DNS, return traffic, or authorization are correct.
- Do not say Direct Connect encrypts traffic by default.
- Do not expect VPC peering to provide transitive enterprise routing.
- Do not place every Transit Gateway attachment in one shared routing domain when environments need isolation.
- Do not reverse Resolver direction: inbound means queries enter AWS; outbound means queries leave AWS.
- Do not count two VPN tunnels as full customer-side redundancy or assume an untested backup has enough capacity.
One-Minute Review
non-overlapping addresses
-> VPN for quick encrypted transport and/or Direct Connect for a dedicated private path
-> Transit Gateway for transitive routing and segmented route visibility
-> VPC route decision, then Transit Gateway route decision
-> Resolver inbound/outbound for the required DNS direction
-> security controls authorize the routable flow
-> return routes and a tested, capable backup complete the conversation
If you remember only one thing: hybrid connectivity works only when transport, forward and return routing, DNS, authorization, and failure behavior agree; no single service supplies all five.