Why Hybrid Connectivity?
Most enterprises don’t operate solely in Azure. They need hybrid connectivity between on-premises datacenters and Azure for workloads like Active Directory sync, legacy apps, or compliance-driven systems.
Azure provides two primary hybrid connectivity options: VPN Gateway and ExpressRoute.
VPN Gateway
Definition:
-
A virtual network gateway that establishes an encrypted tunnel over the public internet between on-premises and Azure.
Key Features:
-
Supports Point-to-Site (P2S) → individual clients connect securely.
-
Supports Site-to-Site (S2S) → entire on-prem network connects to Azure VNet.
-
Uses IPSec/IKE encryption.
-
Bandwidth typically limited to a few Gbps (depends on SKU).
Best For:
-
Small to medium enterprises.
-
Development and test environments.
-
Quick, cost-effective hybrid connectivity.
ExpressRoute
Definition:
-
A dedicated private connection from on-premises datacenter to Azure via a connectivity provider.
Key Features:
-
Bypasses the public internet → more secure and reliable.
-
Offers higher bandwidth (50 Mbps to 100 Gbps).
-
Lower, predictable latency.
-
Can connect to multiple Azure regions.
-
Supports ExpressRoute Direct for high-throughput needs.
Best For:
-
Large enterprises with mission-critical workloads.
-
Financial services, healthcare, government (compliance-heavy).
-
High-throughput scenarios (big data, large backups, SAP).
Design Considerations
-
Security
-
VPN Gateway → encrypted traffic over public internet.
-
ExpressRoute → private, not exposed to internet.
-
Performance
-
VPN Gateway → variable latency, lower throughput.
-
ExpressRoute → predictable latency, higher throughput.
-
Cost
-
VPN Gateway → cheaper, subscription-based.
-
ExpressRoute → more expensive (circuit fees + provider costs).
-
Redundancy
-
Both support active-active for high availability.
-
ExpressRoute can be paired with VPN as backup (dual connectivity).
Example Enterprise Scenario
A bank requires:
-
Secure, high-bandwidth connectivity for financial transactions.
-
Compliance with data residency rules.
-
Backup path for connectivity in case the primary fails.
Correct design:
-
Use ExpressRoute as primary for reliability and compliance.
-
Configure VPN Gateway as backup path (failover).
Confusion Buster
-
P2S vs S2S:
-
P2S = individual user devices.
-
S2S = entire on-prem network.
-
-
VPN vs ExpressRoute:
-
VPN = encrypted over internet.
-
ExpressRoute = private dedicated link.
-
-
ExpressRoute vs ExpressRoute Direct:
-
ExpressRoute = provider-managed private link.
-
ExpressRoute Direct = customer connects directly to Microsoft’s global network.
-
Exam Tips
-
“Which hybrid solution provides private dedicated link?” → ExpressRoute.
-
“Which solution uses IPsec over internet?” → VPN Gateway.
-
“Which option provides predictable low latency for mission-critical apps?” → ExpressRoute.
-
“Which solution is cheaper and faster to deploy for Dev/Test?” → VPN Gateway.
-
“What’s the best design for financial services?” → ExpressRoute with VPN backup.
What to Expect in the Exam
-
Direct Q: “Which Azure service creates encrypted tunnels over public internet?” → VPN Gateway.
-
Scenario Q: “Enterprise requires compliance-grade private connection with 10 Gbps throughput.” → ExpressRoute.
-
Scenario Q: “Small business wants quick hybrid connectivity for Dev/Test.” → VPN Gateway.
-
Trick Q: “ExpressRoute sends traffic over the public internet but encrypted.” → False.