ladderlore
Request a guide
  • Type a service name, like S3 or IAM.

Service · Networking and Content Delivery

AWS Site-to-Site VPN

Joins your data center or office network to your VPCs through encrypted tunnels over the internet.

Customer gateway
Two encrypted tunnels
Virtual private gateway
VPCTransit Gatewayor
  1. 1A customer gateway device in your data center sends traffic into the VPN connection.
  2. 2The traffic crosses the internet through two encrypted IPsec tunnels. If one tunnel fails, the other carries on.
  3. 3A virtual private gateway on the AWS side delivers it into the VPC. A transit gateway can take its place, to reach many VPCs.
A Site-to-Site VPN connection from your data center to a VPC, with a gateway at each end.

Step by step

  1. 1A customer gateway device in your data center sends traffic into the VPN connection.
  2. 2The traffic crosses the internet through two encrypted IPsec tunnels. If one tunnel fails, the other carries on.
  3. 3A virtual private gateway on the AWS side delivers it into the VPC. A transit gateway can take its place, to reach many VPCs.

A Site-to-Site VPN connection from your data center to a VPC, with a gateway at each end.

What it is

AWS Site-to-Site VPN creates a secure connection between your own network, such as a data center or a branch office, and your AWS resources. Traffic travels over the internet inside encrypted IPsec tunnels, so it can use the internet connection you already have.

On your side, the connection starts at a customer gateway device, such as a router or firewall. On the AWS side, it ends at a virtual private gateway attached to one VPC, or at a transit gateway that reaches many VPCs. Each connection has two tunnels, so it keeps working if one tunnel goes down.

What it is

You pay for each hour the connection is available, plus data transfer out. A Site-to-Site VPN is quick to set up, and companies often keep one as a backup for AWS Direct Connect.

Remember

  • For whole networks: data centers and branch offices.
  • Encrypted IPsec tunnels over the internet.
  • Two tunnels per connection for high availability.
  • Your side: a customer gateway device. AWS side: a virtual private gateway for one VPC, or a transit gateway for many.
  • Quick to set up, but performance depends on the internet.

On the exam

  • “Securely connect an on-premises network to a VPC over the internet” points to AWS Site-to-Site VPN.
  • For one employee’s laptop rather than a whole office, the answer is AWS Client VPN.
  • “Which component is on the AWS side of a Site-to-Site VPN connection?” A virtual private gateway, or a transit gateway. Your side is a customer gateway.