Free tech learning for everyone, from basics to pro

Cloud ArchitectureCloud SecurityIntermediate

Hybrid connectivity: site-to-site VPN versus Direct Connect and ExpressRoute

In short: Hybrid connectivity links your data centre or office to cloud networks. Site-to-site IPsec VPNs run over the internet and are quick and encrypted; dedicated links such as Direct Connect and ExpressRoute give steady bandwidth and latency but are not encrypted by default. Many designs use both, with BGP handling failover.

Why hybrid links matter

Few organisations move everything to the cloud at once. Applications in the cloud still need to reach on-premises databases, directory services or users. That traffic should not cross the public internet in clear text, and it needs to be reliable. There are two main options, plus the routing that ties them together.

Site-to-site VPN versus dedicated linkSite-to-site VPNOver the internetEncrypted by IPsecQuick and cheapVariable latencyDedicated linkPrivate carrier circuitNot encrypted by defaultWeeks to provisionConsistent performance
Figure 1. VPNs are fast to set up and encrypted; dedicated links give predictable performance but need extra steps for encryption.

Site-to-site VPN

A site-to-site VPN builds encrypted IPsec tunnels between your firewall or router and a cloud VPN gateway (AWS Site-to-Site VPN, Azure VPN Gateway, Google Cloud HA VPN). It uses your existing internet connection, so you can have it working the same day.

  • Use IKEv2 with strong algorithms, for example AES-256-GCM and SHA-256 or better, and Diffie-Hellman group 14 or above (prefer elliptic-curve groups such as 19 or 20).
  • Providers give two tunnels per connection to different endpoints; configure both.
  • Use BGP so routes update automatically and failover is fast.
  • Throughput per tunnel is limited (often around 1.25 Gbps on AWS), and latency varies with internet conditions.

Dedicated links

AWS Direct Connect, Azure ExpressRoute and Google Cloud Interconnect provide a private circuit from your site or a colocation facility, through a carrier or partner, into the provider's network. You get predictable latency, high bandwidth (from tens of megabits to 100 Gbps and more) and usually lower data transfer prices.

FactorSite-to-site VPNDedicated link
Setup timeHoursWeeks to months
CostLowPort, circuit and partner fees
EncryptionBuilt in (IPsec)Add MACsec where supported, or IPsec over the link
PerformanceBest effortConsistent, with SLA when built redundantly
Good forSmall sites, backup path, quick startLarge data flows, latency-sensitive apps

Tip: "private" does not mean "encrypted". Traffic on a dedicated link travels in clear unless you add MACsec or IPsec, and many compliance rules require encryption in transit.

Designing for resilience and security

Resilient hybrid designOfficerouterstwo devicesPrimary linkDirect Connect/ ERBackup VPNIPsec tunnelsCloud hubTGW or hubVNetSpokenetworksworkloads
Figure 2. A common pattern: a dedicated link as primary, IPsec VPN as backup, both terminating on a cloud hub, with BGP choosing the path.
  1. Use two customer routers and, for dedicated links, two circuits at different locations.
  2. Add a VPN as a backup path and use BGP attributes (such as AS path prepending) so the dedicated link is preferred.
  3. Terminate links on a cloud hub so all spokes share them and a central firewall inspects traffic.
  4. Filter routes: advertise only the prefixes needed in each direction.
  5. Plan non-overlapping IP ranges between on-premises and cloud.
  6. Monitor tunnel and BGP status and alert on any change.

For branch offices, SD-WAN products can also build and manage these tunnels; see SD-WAN introduction.

Practice

A company needs cloud access tomorrow for a small office. Which option fits?
A site-to-site IPsec VPN, which can be set up quickly over the existing internet link.
Is traffic over ExpressRoute or Direct Connect encrypted by default?
No. You need to add MACsec where supported or run IPsec over the link if encryption is required.
How do you make sure traffic prefers the dedicated link but fails over to VPN?
Run BGP on both and make the VPN routes less preferred, for example with AS path prepending or route priorities.

Key takeaways

  • Hybrid links connect on-premises networks to cloud networks.
  • Site-to-site VPNs are fast, cheap and encrypted, but best effort.
  • Dedicated links give steady performance but need added encryption.
  • Use redundant links, BGP and a VPN backup path.
  • Terminate on a cloud hub and filter routes carefully.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.