AWS · Networking and Content Delivery
AWS Site-to-Site VPN
Encrypted IPsec tunnels over the internet between an on-premises network and AWS, set up in minutes.
On the SAA-C03 exam listHybrid connectivityEncryption and key management
What it is and what problem it solves
AWS Site-to-Site VPN connects a data centre or office to your VPCs with IPsec tunnels over the public internet. On the AWS side the connection ends on a virtual private gateway (one VPC) or a Transit Gateway (many VPCs); on your side it ends on a customer gateway device. Each connection has two tunnels in different AWS locations for redundancy, and routing can be static or dynamic with BGP.
Accelerated VPN sends the traffic through Global Accelerator edge locations for a more stable path.
When to use it
- You need hybrid connectivity quickly, without waiting for a dedicated circuit.
- Traffic volume is modest and internet latency is acceptable.
- As an encrypted backup for a Direct Connect link.
- To encrypt traffic that runs over Direct Connect (VPN over a public virtual interface or with a Transit Gateway).
When to avoid it
- Large, steady data volumes or strict latency needs: Direct Connect gives consistent bandwidth.
- Individual users connecting from laptops: that is Client VPN.
- Bandwidth beyond what tunnels allow, unless you use several tunnels with ECMP on a Transit Gateway.
Scaling model and bottlenecks
Bandwidth is per tunnel. To go higher, use larger-bandwidth tunnels where supported, or terminate several VPN connections on a Transit Gateway and spread traffic with ECMP, which needs BGP.
Performance, latency and throughput
Throughput and latency depend on the internet path between your site and AWS, so they vary. Accelerated VPN can make the path more consistent.
Limits and quotas
| Item | Value | Context | Source |
|---|---|---|---|
| Maximum bandwidth per standard VPN tunnel | Up to 1.25 Gbps Fixed limit |
Source checked |
|
| Maximum bandwidth per large-bandwidth VPN tunnel | Up to 5 Gbps Fixed limit |
Source checked |
|
| Maximum packets per second per standard tunnel | Up to 140,000 Fixed limit |
Source checked |
|
| VPN connections per virtual private gateway | 10 Can be raised with a quota request |
Source checked |
|
| VPN connections per Region | 50 Can be raised with a quota request |
Source checked |
|
| Customer gateways per Region | 50 Can be raised with a quota request |
Source checked |
Quotas and limits change. Check the linked source before designing around a number.
Cost model
What you pay for
- Connection-hours for each VPN connection (standard and higher-bandwidth connections are priced differently).
- Data transfer out at standard rates.
- Accelerated VPN adds Global Accelerator hourly fees and premium data transfer; public IPv4 addresses for tunnels are billed.
- A Transit Gateway attachment adds its own hourly and per-GB charges.
Where it is cost-efficient
Low to moderate traffic, backup links, and quick connections for proofs of concept.
Where costs grow
Large volumes of data sent out from AWS over the VPN, and many connections each billed per hour.
Cost controls and common surprises
Move heavy, steady traffic to Direct Connect, delete unused connections, and share connections through a Transit Gateway instead of one per VPC.
Prices differ by Region and change over time; see the pricing page linked under Sources.
Security
Controls the service provides
IPsec encryption in transit with configurable encryption and integrity algorithms, and two tunnels per connection.
What you configure
Configure strong IKE and IPsec settings, protect pre-shared keys or use certificate authentication, restrict routes, and keep the customer gateway device patched.
Logging and monitoring
Tunnel logs to CloudWatch Logs, CloudWatch tunnel state metrics, and CloudTrail.
Related security services
Transit Gateway, Direct Connect, Network Firewall for inspection.
Shared responsibility
AWS runs the AWS endpoints of the tunnels. You run the customer gateway and its configuration.
Availability, backup and failure behavior
Each connection has two tunnels; configure both so a tunnel replaced during maintenance does not cut traffic. For higher resilience use two customer gateway devices, or pair VPN with Direct Connect.
Common service combinations
Virtual private gateway or Transit Gateway; Direct Connect (VPN as backup or for encryption); Route 53 Resolver endpoints for hybrid DNS.
Business application examples
- A branch office connected to a VPC within an hour.
- A data centre whose Direct Connect link fails over to VPN.
Exam cues and common confusions
- Quick, encrypted, over the internet: Site-to-Site VPN. Consistent, high bandwidth, private: Direct Connect.
- Direct Connect is not encrypted by default; add VPN (or MACsec) when encryption is required.
- More VPN bandwidth: several tunnels with ECMP on a Transit Gateway.
- Many VPCs sharing one VPN: Transit Gateway.
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 Direct Connect · Service
- AWS Transit Gateway · Service
- AWS Client VPN · Service
- Amazon VPC · Service
- VPC peering vs Transit Gateway · Comparison
- Site-to-Site VPN vs Direct Connect · Comparison
Sources
Independent study material, not affiliated with or endorsed by Amazon Web Services. AWS and service names are trademarks of Amazon.com, Inc. or its affiliates.