AWS · Comparison

Site-to-Site VPN vs Direct Connect

How should my data centre connect to AWS: an encrypted VPN over the internet, or a dedicated Direct Connect link?

Decision summary

Site-to-Site VPN is ready in minutes, encrypted, and cheap at low volume, but its bandwidth and latency depend on the internet. Direct Connect gives consistent bandwidth and latency over a private link and lower data transfer rates at high volume, but takes weeks to provision and is not encrypted by default.

Many companies run both: Direct Connect for daily traffic, VPN as the backup, or VPN over Direct Connect when encryption is required.

Best fit for each option

Site-to-Site VPN

Quick setup, encrypted traffic, modest bandwidth, branch offices, and backup for Direct Connect.

Direct Connect

High, steady volumes, consistent performance, large migrations and replication, and lower data transfer out costs at scale.

Side by side

 Site-to-Site VPNDirect Connect
Best forFast, encrypted, internet-basedPrivate, consistent, high bandwidth
PerformanceVaries with the internet path; per-tunnel bandwidth limitConsistent latency; ports from 1 to 400 Gbps
SecurityIPsec encryption built inPrivate but not encrypted by default; add MACsec or VPN
AvailabilityTwo tunnels per connectionTwo connections at two locations for high resilience
CostPer connection-hour plus data transferPer port-hour plus lower per-GB data transfer out
Operational complexityMinutes to set upWeeks to provision a circuit

Scaling and topology

On premisesCustomer gatewayrouter / firewallData centre routerAWS RegionVirtual private gwor Transit GatewayDX gateway → VPCsany RegionSite-to-Site VPN: IPsec over the internetminutes to set up · ~1.25 Gbps per tunnel · encryptedDirect Connectlocation (colo)private lineweeks to set up · 1-400 Gbps · consistent latency · not encrypted by default
Two ways to connect a data centre: Site-to-Site VPN over the internet, or a Direct Connect private line

Limits and constraints

ItemValueContextSource
Maximum bandwidth per standard VPN tunnel Up to 1.25 Gbps
Fixed limit
Source
checked
Direct Connect dedicated port speeds 1, 10, 100 and 400 Gbps Source
checked

Quotas and limits change. Check the linked source before designing around a number.

Cost trade-offs by scenario

ScenarioWhat happens to cost
A branch office with light trafficVPN costs a connection-hour fee and normal data transfer; a Direct Connect port would sit mostly idle.
Tens of TB out of AWS every monthDirect Connect's lower data transfer rate usually outweighs the port-hours.

Prices differ by Region and change over time; see the pricing pages linked under Sources.

When to avoid each option

Site-to-Site VPN

  • Large, steady data volumes.
  • Applications that need predictable latency.

Direct Connect

  • You need connectivity right away.
  • Traffic is light and port-hours would cost more than a VPN.

Example scenarios

SituationChooseWhy
Connect a new office this afternoon.Site-to-Site VPNReady in minutes.
Replicate 50 TB a month with steady latency.Direct ConnectConsistent bandwidth and lower data transfer cost.
Encrypt traffic that already uses Direct Connect.Site-to-Site VPNRun IPsec VPN over the Direct Connect link (or use MACsec).

Exam cues

  • Fast, encrypted, over the internet: VPN. Dedicated, consistent, private: Direct Connect.
  • Direct Connect + encryption: VPN over Direct Connect, or MACsec.
  • Cheapest resilient backup for Direct Connect: a VPN.

Service pages

Related

Courses and lessons

Services, comparisons and patterns

Sources

Independent study material, not affiliated with or endorsed by Amazon Web Services.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake