Connecting Networks and Users with Site-to-Site VPN and Client VPN
This lesson explains AWS Site-to-Site VPN and AWS Client VPN, the in-scope services for SOA-C03 that link on-premises networks and remote users to VPCs.
Learning outcomes
After completing this lesson, you will be able to:
- Describe Site-to-Site VPN components and tunnels.
- Configure Client VPN endpoints and authorisation rules.
- Make a VPN connection resilient.
AWS Site-to-Site VPN
A Site-to-Site VPN connection links a customer gateway (the on-premises router or firewall, represented in AWS by a customer gateway resource with its public IP and BGP ASN) to a virtual private gateway attached to one VPC, or to a transit gateway. Each connection has two IPsec tunnels to different AWS endpoints for redundancy; both should be configured on the customer device. Routing is static (you list on-premises prefixes) or dynamic with BGP, which also enables automatic failover between tunnels. On the VPC side, enable route propagation in route tables for a virtual private gateway, or add routes in TGW route tables. Throughput is up to 1.25 Gbps per tunnel (up to 5 Gbps with large bandwidth tunnels on transit gateways), and ECMP across multiple VPNs on a transit gateway increases bandwidth. Accelerated VPN routes through Global Accelerator edge locations for better performance.
The following diagram shows a VPN connection with both tunnels in use.

1.25Gbps
Throughput per tunnel
5Gbps
Per large bandwidth tunnel on a transit gateway
Site-to-Site VPN
AWS Client VPN
AWS Client VPN is a managed, OpenVPN-based remote access service for users. A Client VPN endpoint has a client CIDR range (which must not overlap the VPC), a server certificate in ACM, an authentication method (mutual certificate authentication, Active Directory or SAML federation), target network associations with subnets (one per AZ for availability), authorisation rules that say which users or groups can reach which destination CIDRs, and routes for each destination, including 0.0.0.0/0 for internet access through the VPC. Split tunnel sends only routed traffic through the VPN. Connection logging to CloudWatch Logs records connection attempts.
| Need | Service |
|---|---|
| Connect a data centre network to VPCs over the internet | Site-to-Site VPN |
| Connect many VPCs and VPNs through one hub | Site-to-Site VPN on a Transit Gateway |
| Remote employees access VPC resources | Client VPN |
| Dedicated private bandwidth (not in scope as a service) | Direct Connect, optionally with VPN on top |
Client VPN settings
Setting up a resilient VPN
A branch office connects to a transit gateway with a Site-to-Site VPN using BGP. Only one tunnel was configured on the office firewall, and during AWS maintenance on that tunnel's endpoint the office lost connectivity. The engineer downloads the device configuration for the connection, configures the second tunnel with its own pre-shared key and inside CIDR, and verifies with the TunnelState metric that both tunnels are up and both BGP sessions advertise routes. CloudWatch alarms on each tunnel's state notify the team of future outages.
What must be enabled on VPC route tables for routes learned over a VPN to appear?
Show answer
Route propagation from the virtual private gateway.
Exam Tips
Remember for the exam
- Each Site-to-Site VPN connection has two tunnels; configure both.
- Use BGP for dynamic routing and automatic failover; enable route propagation on VPC route tables.
- Terminate VPNs on a transit gateway to reach many VPCs; ECMP increases bandwidth.
- Client VPN needs target network associations, authorisation rules and routes.