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 VPN | Direct Connect | |
|---|---|---|
| Best for | Fast, encrypted, internet-based | Private, consistent, high bandwidth |
| Performance | Varies with the internet path; per-tunnel bandwidth limit | Consistent latency; ports from 1 to 400 Gbps |
| Security | IPsec encryption built in | Private but not encrypted by default; add MACsec or VPN |
| Availability | Two tunnels per connection | Two connections at two locations for high resilience |
| Cost | Per connection-hour plus data transfer | Per port-hour plus lower per-GB data transfer out |
| Operational complexity | Minutes to set up | Weeks to provision a circuit |
Scaling and topology
Limits and constraints
| Item | Value | Context | Source |
|---|---|---|---|
| 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
| Scenario | What happens to cost |
|---|---|
| A branch office with light traffic | VPN costs a connection-hour fee and normal data transfer; a Direct Connect port would sit mostly idle. |
| Tens of TB out of AWS every month | Direct 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
| Situation | Choose | Why |
|---|---|---|
| Connect a new office this afternoon. | Site-to-Site VPN | Ready in minutes. |
| Replicate 50 TB a month with steady latency. | Direct Connect | Consistent bandwidth and lower data transfer cost. |
| Encrypt traffic that already uses Direct Connect. | Site-to-Site VPN | Run 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
- AWS Site-to-Site VPN · Encrypted IPsec tunnels over the internet between an on-premises network and AWS, set up in minutes.
- AWS Direct Connect · A private, dedicated network connection from your premises to AWS, with consistent bandwidth and latency.
Related
Courses and lessons
- Hybrid networking: Site-to-Site VPN, Client VPN and Direct Connect · AWS Solutions Architect – Associate (SAA-C03) · Members
Services, comparisons and patterns
- AWS Site-to-Site VPN · Service
- AWS Direct Connect · Service
- AWS Transit Gateway · Service
- VPC peering vs Transit Gateway · Comparison
Sources
Independent study material, not affiliated with or endorsed by Amazon Web Services.