Hybrid Cloud Connectivity
Site-to-site VPN architecture, SD-WAN to cloud integration, Transit Gateway with Direct Connect, and latency considerations.
Overview
Overview Hybrid cloud connectivity is the practice of linking on-premises infrastructure with public cloud environments (AWS, Azure, GCP) in a secure, performant, and resilient manner. It is one of the most common architectural challenges faced by enterprise SREs and cloud architects, as most large organizations have existing on-premises systems that must coexist and interoperate with cloud-native workloads.
The connectivity options exist on a spectrum of cost, bandwidth, latency, and reliability. At one end, public internet with TLS provides basic connectivity but with unpredictable latency and no bandwidth guarantees. VPN tunnels over internet add IPsec encryption and are cost-effective for low-to-medium bandwidth needs. SD-WAN solutions improve internet-based connectivity with intelligent path selection and application awareness. At the other end, dedicated circuits (AWS Direct Connect, Azure ExpressRoute, GCP Dedicated Interconnect) provide consistent performance, high bandwidth, and reduced data transfer costs at higher fixed expense and longer provisioning times.
Transit Gateway with Direct Connect Gateway represents the modern AWS reference architecture for large-scale hybrid connectivity: a single TGW acts as the centralized hub, all VPCs attach to it, a Direct Connect Gateway bridges the on-premises Direct Connect circuit to the TGW, and a Site-to-Site VPN provides backup. This architecture centralizes routing policy, enables any-to-any connectivity between on-premises and all VPCs, and provides redundancy.
Latency is a critical consideration in hybrid architectures. Even with Direct Connect, round-trip latency from an on-premises data center to an AWS region can be 5-50ms. Applications with synchronous calls crossing the hybrid boundary — particularly databases and distributed transactions — are highly sensitive to this latency and may require architectural changes.
Key concepts
- Hybrid Connectivity Options Spectrum
- Transit VIF + Direct Connect Gateway + TGW
- Latency Considerations
- SD-WAN to Cloud Integration
- DNS in Hybrid Environments
Interview questions
- Design a resilient hybrid connectivity architecture for an enterprise with a main data center and 20 branch offices needing to access AWS workloads.
Sign up free to read the full topic
More Networking topics
Start free on Cariara · Coding problems · System design studio