VPN, Direct Connect and routing
Choose the hybrid connection
Hybrid networking links an organization’s own network with AWS. Site-to-Site VPN uses IPsec tunnels between a customer gateway device and AWS; configure both tunnels for redundancy and monitor each. A virtual private gateway attaches to one VPC; TGW is useful for shared multi-VPC connectivity. Direct Connect provides dedicated or hosted connectivity via a provider or colocation location, using virtual interfaces and compatible gateways. Direct Connect is not encrypted by default: consider supported MACsec for the physical link, IPsec over a supported architecture, and application TLS for end-to-end protection. Client VPN instead provides authenticated remote access for individual users, with authorization rules and routes.
Routes, failures and packet size
BGP (Border Gateway Protocol) exchanges reachable network prefixes dynamically; static routes require manual changes. For a branch using 172.16.0.0/16, advertise only the authorized range, verify the AWS side learns it and the branch learns the intended VPC prefixes. A tunnel marked up does not prove that the correct routes are advertised. Test withdrawal and failover in an authorized environment, accounting for convergence and stateful inspection. MTU is the largest IP packet a link can carry without fragmentation; encapsulation reduces effective payload size. A small request may work while a larger one stalls if path MTU discovery fails. Check tunnel-specific MTU/MSS, ICMP handling and IPv4/IPv6 support rather than assuming one size for all links.
Regional and global design
Choose redundant customer devices, links and locations according to the required failure domains. Two tunnels on one customer device do not protect against that device failing. Direct Connect can offer more predictable throughput and latency than internet paths, but provisioned link rate is not application throughput. Cloud WAN offers policy-driven global network connectivity with segments and regional core edges, suitable for managing multiple Regions; verify supported attachments and route policies. Global Accelerator is different: standard accelerators provide stable public entry addresses and direct application traffic to healthy supported endpoints. It is not a private site-to-site transit hub or a CDN cache.
Compare costs before deployment
Use a worksheet with link-hours, attachment-hours, processed GB, data transfer, provider charges, redundancy and operational effort. Hypothetically, one attachment at 0.05 USD/hour for 10 hours plus 20 GB at 0.02 USD/GB costs 0.90 USD in those two dimensions. This is arithmetic, not AWS pricing or a complete estimate. A VPN may be quicker to establish than a physical circuit; Direct Connect lead time, encryption options and partner costs need separate checks. For the practice, select a redundant connection for a fictional branch, state which failure it tolerates, and identify which route withdrawal should trigger fallback. No real links are created.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
VPN, Direct Connect and routing — knowledge check
Reason about synthetic hybrid networking scenarios.
Which connection is intended for individual remote users?
Is Direct Connect traffic encrypted by default?
Both VPN tunnels use one customer device. What remains a common failure point?
Small requests work but large ones stall. What should you investigate?
Which option provides a policy-driven global private network?