Azure networking

Azure ExpressRoute vs. site-to-site VPN for a data center

Choose between ExpressRoute and a site-to-site VPN using a worked bandwidth example, encryption requirements and a realistic test of your backup path.

Which connection does the workload need?

A site-to-site VPN can be a good fit when existing internet access meets the workload's throughput and latency needs. It uses an encrypted IPsec tunnel between the data center and Azure. ExpressRoute is worth evaluating when you need private connectivity through a provider or when variation in the internet path makes it difficult to meet a measured application requirement.

Compare the whole path from the application to its dependency. For a database call, measure the time to complete a transaction during busy periods. For replication, measure how much data actually transfers inside the allowed window. A fast circuit can still deliver a slow transaction when the application makes many sequential round trips.

Size the busiest window before asking for a quote

Averages across the entire day hide this requirement. Check usable upstream capacity while the replication runs. Compare throughput at the application with gateway and edge-device measurements. If a busy VPN path sustains only 500 Mbps of application data, moving 2 TB would take about nine hours even if that throughput held steady.

The decision can change on either side of the equation. If the data owner can extend the window or transfer fewer bytes, test VPN again. If the six-hour deadline is firm, ask the provider for an ExpressRoute design and a delivery estimate. Compare the circuit, gateway, carrier access, transfer charges and redundant connections over the same planning period.

Which risks does a private circuit cover?

Encryption
ExpressRoute supplies a private path. Network-layer encryption requires a separate design. If your policy requires encryption between specific endpoints, identify where protection starts and ends. Evaluate IPsec over private peering where appropriate and include the encryption overhead in your throughput test.
Shared dependencies
One ExpressRoute circuit has two connections to Microsoft edge routers at one peering location. Review what both paths share at your site and at the provider. A single building entrance, edge device or peering location can still interrupt service. Ask which dependency a proposed second circuit would remove.
Time to deliver
Ask the provider who orders the local access link and cross-connect, who activates private peering, and when the team can test with real workloads. Put those dates on the migration plan alongside the application cutover.

Decide what a VPN backup must carry

When ExpressRoute is primary, a site-to-site VPN can back up private peering if workloads can tolerate its degraded performance. List the traffic that must survive, such as identity lookups and order entry, and the work that can pause, such as bulk replication. Confirm how the application or scheduler will enforce that choice during an outage.

  • Compare routes in both directions before the test. Identify the primary path and which prefixes the backup will carry.
  • During an agreed test window, fail the primary path and time a representative user transaction through recovery. Record errors, reconnects and elapsed time.
  • Restore the primary path, verify that traffic returns as planned, and confirm that queued work clears before its deadline.

The Azure hybrid connectivity planning guide covers the DNS, inspection and application dependencies to include in that test.

Sources