Hybrid cloud connects on-premises data centers to AWS using AWS Direct Connect, Site-to-Site VPN, or both, so workloads and data can move securely between environments. Most enterprises don't migrate everything to the cloud overnight — regulatory constraints, legacy systems, latency-sensitive applications, and sunk investment in existing infrastructure mean a hybrid model is often the destination, not just a waypoint.
This article walks through the practical decisions behind hybrid cloud architecture on AWS: how Direct Connect and VPN actually work, when to use one, the other, or both together, and how routing, redundancy, and security fit into the picture. We'll use a realistic example — a financial services company connecting a regional data center to AWS — to ground the concepts.
What Is Hybrid Cloud Architecture on AWS?
Hybrid cloud architecture on AWS is any design where compute, storage, or networking resources run partly on-premises and partly in AWS, connected by persistent, secure network links. It's distinct from a simple one-time migration — hybrid implies ongoing, bidirectional traffic between environments, often for years.
Typical drivers include:
- Data residency or compliance requirements that keep certain datasets on-premises (common in healthcare, banking, and government).
- Legacy applications with hardware dependencies (mainframes, specialized appliances) that can't easily be re-platformed.
- Latency-sensitive workloads where round-trip time to a public AWS region is unacceptable.
- Gradual migration strategies, where teams move workloads incrementally (the "lift and shift, then modernize" pattern) rather than in one cutover.
- Burst capacity, where on-prem handles steady-state load and AWS absorbs spikes.
The two foundational connectivity options are AWS Direct Connect (a dedicated, private network circuit) and AWS Site-to-Site VPN (an encrypted tunnel over the public internet). Understanding how they differ — and how they complement each other — is the first architectural decision most teams face.
Direct Connect vs. VPN: The Core Trade-off
AWS Direct Connect gives you a dedicated physical connection with predictable performance, while Site-to-Site VPN gives you fast, encrypted connectivity over the public internet with no special hardware. The right choice depends on bandwidth needs, latency sensitivity, budget, and how quickly you need to be operational.
Direct Connect works by provisioning a physical cross-connect between your router (in a colocation facility or through an AWS Direct Connect Partner) and an AWS Direct Connect location. Connections come in 1 Gbps, 10 Gbps, 100 Gbps ports (and hosted connections down to 50 Mbps for smaller needs). Traffic never traverses the public internet, which improves both latency consistency and — for many compliance frameworks — audit posture. Setup typically takes anywhere from a few days (hosted connections via a partner) to several weeks (dedicated connections requiring physical cross-connects).
Site-to-Site VPN, by contrast, establishes IPsec tunnels (using IKEv1 or IKEv2, encapsulated over UDP 500/4500) between a customer gateway device on-premises and a virtual private gateway or AWS Transit Gateway in AWS. Each VPN connection provisions two tunnels for redundancy, each capable of up to roughly 1.25 Gbps of throughput per tunnel (AWS's published aggregate figure for a standard VPN connection is up to 1.25 Gbps, though actual throughput depends on packet size, MTU, and the customer gateway hardware). You can provision it in minutes through the console or API, with no physical wiring.
Many organizations run both: Direct Connect as the primary path for production traffic, with Site-to-Site VPN as an automatic failover if the dedicated circuit goes down. This is one of the most common hybrid cloud patterns in production AWS environments.
Comparing the Connectivity Options
Before designing the rest of the architecture, it helps to see the trade-offs side by side.
| Factor | Direct Connect | Site-to-Site VPN | DX + VPN Failover |
|---|---|---|---|
| Setup time | Days to weeks | Minutes to hours | Weeks (for DX portion) |
| Bandwidth | 50 Mbps–100 Gbps | ~1.25 Gbps per tunnel | Combines both |
| Encryption | Not encrypted by default | IPsec encrypted | Encrypted failover path |
| Cost model | Port-hour + data transfer | Connection-hour + data transfer | Both cost components |
| Best for | Steady, high-volume production traffic | Quick setup, dev/test, backup path | Production requiring high availability |
A few clarifications worth calling out: Direct Connect traffic is not encrypted at the network layer by default, because it's a private physical circuit rather than a tunnel over shared infrastructure. Organizations with strict encryption-in-transit requirements often layer MACsec (available on 10 Gbps and 100 Gbps dedicated connections at supported locations) or run a VPN over Direct Connect (via a public VIF) to get both dedicated bandwidth and IPsec encryption. This is a common requirement in PCI-DSS and HIPAA-adjacent architectures.
Building Blocks: Virtual Interfaces, Gateways, and Transit Gateway
A working hybrid connection depends on three architectural layers: the physical or tunnel connection itself, the virtual interfaces that carry traffic to specific AWS resources, and a gateway construct that routes traffic once it's inside AWS.
For Direct Connect, once the physical connection is up, you provision virtual interfaces (VIFs):
- A private VIF connects to resources in a VPC via a virtual private gateway or Direct Connect gateway — this is what most workloads use.
- A public VIF gives access to AWS public services (S3, DynamoDB endpoints, etc.) using public IP addressing, without traversing the internet.
- A transit VIF connects to a Direct Connect gateway associated with a Transit Gateway, which is the standard pattern for connecting one physical connection to multiple VPCs across multiple accounts and regions.
For organizations with more than a handful of VPCs, AWS Transit Gateway is now the default hub for hybrid connectivity rather than attaching a Direct Connect connection or VPN directly to each VPC's virtual private gateway. Transit Gateway acts as a regional router: VPCs, VPN connections, and Direct Connect gateways all attach to it, and route tables control which attachments can talk to which. This avoids the operational mess of managing dozens of individual VPN connections or VIFs when you have, say, 40 VPCs across 6 accounts under AWS Organizations.
A practical routing note: Transit Gateway supports equal-cost multi-path (ECMP) routing across multiple VPN tunnels, which lets you exceed the ~1.25 Gbps single-tunnel ceiling by aggregating several tunnels — something not possible with a VPN attached directly to a virtual private gateway.
Example: A Regional Bank Connecting a Data Center to AWS
Consider a mid-sized bank with a primary data center that must keep core banking and customer PII on-premises for regulatory reasons, but wants to run analytics, fraud detection, and customer-facing web applications in AWS.
Architecture outline:
- Primary path: Two 10 Gbps Direct Connect dedicated connections, terminated at two different Direct Connect locations, each routed to a different device on-premises for physical redundancy. Both connections use transit VIFs to a Direct Connect gateway, which attaches to a Transit Gateway in
us-east-1. - Failover path: A Site-to-Site VPN connection (two tunnels, using BGP over IPsec) attached to the same Transit Gateway, configured with a higher BGP AS path prepend so it's used only if both Direct Connect paths fail.
- Routing: BGP (Border Gateway Protocol) runs over both the Direct Connect VIFs and the VPN tunnels. On-premises routers advertise the data center's CIDR ranges; AWS advertises VPC CIDR ranges back. Route preference is controlled via BGP AS path prepending and local preference, not static routes, so failover is automatic.
- Security boundary: A dedicated "shared services" VPC hosts a fleet of AWS Network Firewall instances and an on-prem-facing proxy layer, so no VPC hosting sensitive workloads talks directly to the Transit Gateway attachment — all cross-environment traffic is inspected first.
- DNS: Route 53 Resolver endpoints (inbound and outbound) allow on-premises DNS servers to resolve AWS-hosted names and vice versa, avoiding hairpin lookups or hardcoded IPs.
- Monitoring: VPC Flow Logs, Direct Connect CloudWatch metrics (
ConnectionState,ConnectionBpsEgress/Ingress), and BGP session status are aggregated into a central observability account.
This design gives the bank sub-10ms, predictable latency for its analytics pipeline pulling data from on-prem core banking systems, encrypted automatic failover if a Direct Connect circuit is cut, and a clear inspection point for compliance auditors.
Security Considerations: It's Not Just Encryption
Hybrid connectivity security goes beyond whether traffic is encrypted — it also covers network segmentation, identity federation, and how much of the on-prem network is exposed to AWS. Teams that only ask "is this encrypted" tend to miss bigger risks.
Key considerations:
- Least-privilege routing: Don't advertise your entire on-prem CIDR block into AWS route tables. Advertise only the specific subnets that need reachability, and use route table associations on the Transit Gateway to limit which VPCs can see which on-prem routes.
- Security groups and NACLs still apply: Traffic arriving via Direct Connect or VPN is still subject to VPC security groups and network ACLs — it isn't implicitly trusted just because it came from a private circuit.
- AWS Network Firewall or third-party NGFW (e.g., Palo Alto, Fortinet, Check Point available via AWS Marketplace) is commonly inserted at the Transit Gateway inspection VPC to apply IDS/IPS rules to east-west hybrid traffic.
- Identity federation: Most hybrid architectures also connect AWS IAM Identity Center (formerly AWS SSO) to an on-prem Active Directory via AD Connector or a two-way trust with AWS Directory Service, so identity — not just network — spans both environments.
- MACsec for Direct Connect encrypts at Layer 2 between your router and the AWS device, useful when public-VIF or transit-VIF traffic must be encrypted without the overhead of IPsec.
A common mistake is treating Direct Connect as inherently "trusted" simply because it's private. Private doesn't mean isolated from misconfiguration — an overly broad route table or permissive security group on a Direct Connect-connected VPC is just as exploitable as one exposed to the internet.
Resilience Patterns
Redundancy in hybrid architecture means avoiding single points of failure at every layer — physical connection, AWS Direct Connect location, virtual interface, and routing protocol. AWS explicitly recommends against relying on a single Direct Connect connection for production traffic.
Common resilience tiers, from AWS's own Direct Connect resiliency guidance:
- Development and test: A single connection is acceptable.
- Production, moderate resiliency: Two connections into two different Direct Connect locations, terminating on separate devices on-premises.
- Production, high resiliency: Four connections across two Direct Connect locations, with two connections per location on separate devices (AWS calls this the "maximum resiliency" model).
- Production with VPN backup: One or two Direct Connect connections plus a Site-to-Site VPN as a lower-bandwidth failover path — cheaper than full DX redundancy, with a bandwidth trade-off during failover events.
For most mid-market companies, the pragmatic choice is two Direct Connect connections at different locations plus a VPN backup — it balances cost against the operational risk of a full outage, without requiring the four-connection topology reserved for the most latency- and availability-sensitive workloads (trading platforms, real-time payment processing).
Cost Considerations
Hybrid connectivity costs stack across a few dimensions: Direct Connect port-hours (billed regardless of usage), data transfer out of AWS (data transfer into AWS over Direct Connect is free), VPN connection-hours, and any colocation or partner cross-connect fees for reaching a Direct Connect location. Data transferred over Direct Connect is also typically billed at a lower per-GB rate than standard internet egress, which matters at scale — for data-heavy workloads (large analytics exports, backup replication), this difference alone can justify a Direct Connect port even before considering latency or reliability.
VPN is usually cheaper to start (no port fees, pay only for connection-hours and standard data transfer), which is why many hybrid architectures begin with VPN during a pilot phase and migrate to Direct Connect once traffic volume and criticality justify the fixed cost.
Key Takeaways
- Hybrid cloud on AWS is a long-term architecture, not just a migration phase — driven by compliance, legacy dependencies, latency, or gradual modernization strategies.
- Direct Connect provides dedicated, predictable bandwidth but isn't encrypted by default; pair it with MACsec or a VPN overlay if encryption-in-transit is mandatory.
- Site-to-Site VPN is fast to provision and encrypted out of the box, but capped at roughly 1.25 Gbps per tunnel, making it better as a backup path or for lower-bandwidth needs.
- Running Direct Connect as primary with VPN failover, orchestrated by BGP, is the most common resilient hybrid pattern in production AWS environments.
- Transit Gateway is the standard hub for hybrid connectivity at scale, avoiding the need to attach VPNs or VIFs to every individual VPC.
- Security requires more than encryption — least-privilege route advertisement, security groups, network inspection, and identity federation all matter as much as the transport layer.
- True resiliency requires redundant physical connections across separate Direct Connect locations and devices, not just redundant virtual interfaces on the same physical link.
Frequently Asked Questions
What's the difference between AWS Direct Connect and Site-to-Site VPN?
Direct Connect is a dedicated physical network connection between your infrastructure and AWS, offering consistent low latency and higher bandwidth (up to 100 Gbps). Site-to-Site VPN is an IPsec-encrypted tunnel over the public internet, faster to set up but limited to roughly 1.25 Gbps per tunnel with variable latency since it depends on internet routing.
Can I use Direct Connect and VPN together?
Yes, this is a common and recommended pattern — Direct Connect serves as the primary path and Site-to-Site VPN acts as an encrypted failover if the dedicated connection fails. BGP route preferences (via AS path prepending or local preference) control which path is used, enabling automatic failover without manual intervention.
Is traffic over AWS Direct Connect encrypted?
Not by default — it travels over a dedicated private physical circuit rather than the public internet, but that's not the same as encryption. Organizations needing encryption-in-transit typically add MACsec (Layer 2 encryption on supported 10G/100G connections) or run an IPsec VPN over a public virtual interface.
How long does it take to set up AWS Direct Connect?
A hosted connection through an AWS Direct Connect Partner can often be provisioned in a few days to a couple of weeks. A dedicated connection requiring a physical cross-connect at an AWS Direct Connect location typically takes several weeks, depending on your colocation provider and local logistics.
What is a Direct Connect gateway, and do I need one?
A Direct Connect gateway lets a single Direct Connect connection reach multiple VPCs across different AWS Regions and accounts by connecting through a transit virtual interface. You need one if you have more than a simple single-VPC setup — most production hybrid architectures pair it with a Transit Gateway for centralized routing.
How many Direct Connect connections should a production workload have?
AWS recommends at least two connections terminating at two different Direct Connect locations on separate on-premises devices for production resiliency. Highly critical workloads may use four connections across two locations, while cost-sensitive production workloads often pair a single Direct Connect connection with a VPN backup instead.
Does hybrid cloud always mean using both Direct Connect and VPN?
No — some hybrid architectures run entirely on VPN if bandwidth and latency requirements are modest, especially during a pilot or early migration phase. Direct Connect becomes worthwhile once traffic volume, latency sensitivity, or data transfer costs justify the additional setup time and fixed port cost.
Draw this in seconds with draft1. Describe your architecture in plain English and draft1 generates an editable AWS/cloud diagram plus documentation — no dragging boxes around. Try it free.
Draw this in ~20 seconds
Describe your own version of this architecture and draft1 generates an editable draw.io diagram — boxes, arrows, labels, the lot.
Generate this diagram free ➔Free demo — no signup. Then 3 free diagrams with an account, no card.