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

Service · Networking and Content Delivery · Builds on CLF-C02

AWS Site-to-Site VPN

Encrypted tunnels from your network to AWS: two tunnels per connection, to a virtual private gateway or a transit gateway.

You know from Cloud Practitioner

  • It joins a data center or office to your VPCs with encrypted IPsec tunnels over the internet.
  • Each connection has two tunnels for availability.
  • AWS side: a virtual private gateway for one VPC, or a transit gateway for many.
Read the Cloud Practitioner lesson
Customer gateway
Virtual private gateway
Transit Gateway
One VPC
Many VPCs
two tunnelstwo tunnels
The AWS end of the tunnels decides how many VPCs you can reach.
  • Static or dynamic

    BGP gives failover and ECMP
  • Speed

    1.25 Gbps per tunnel, 5 Gbps large tunnel (transit gateway only)
  • VGW or transit gateway

    One VPC, or many VPCs with ECMP
  • Accelerated

    Uses Global Accelerator, transit gateway only
  • Resilience

    Both tunnels, second device
Design choices for a Site-to-Site VPN.

1 / 2

  • Static or dynamic

    BGP gives failover and ECMP
  • Speed

    1.25 Gbps per tunnel, 5 Gbps large tunnel (transit gateway only)
  • VGW or transit gateway

    One VPC, or many VPCs with ECMP
  • Accelerated

    Uses Global Accelerator, transit gateway only

2 / 2

  • Resilience

    Both tunnels, second device
Design choices for a Site-to-Site VPN.

What it is

Each tunnel carries up to 1.25 Gbps. A large bandwidth tunnel option raises that to 5 Gbps, but only on a transit gateway (or Cloud WAN), not on a virtual private gateway (VGW). A VGW serves one VPC and does not support ECMP. A transit gateway serves many VPCs and supports ECMP over several connections with dynamic routing, so the total speed is more than one tunnel. Static routing is simple. Dynamic routing with BGP is better because routes update by themselves after a failure.

What it is

Use both tunnels, ideally with a second customer gateway device, so a device failure is survivable. Accelerated Site-to-Site VPN sends the tunnels through AWS Global Accelerator edge locations, so traffic reaches the AWS network sooner, with less internet jitter. It works with transit gateways only.

VPN CloudHub joins several branch sites to one virtual private gateway in a hub-and-spoke. Each site has its own customer gateway and VPN connection, and the sites can reach each other as well as the VPC.

Remember

  • Two tunnels per connection, in different Availability Zones.
  • Up to 1.25 Gbps per tunnel. Large bandwidth tunnels: up to 5 Gbps, transit gateway only.
  • VGW: one VPC, no ECMP. Transit gateway: many VPCs, ECMP with BGP.
  • Static routes: simple. BGP: automatic failover and ECMP.
  • Accelerated VPN: tunnels enter through the edge. Transit gateway only.

On the exam

  • “Encrypted connection to on-premises in a few hours” points to Site-to-Site VPN.
  • “More than 1.25 Gbps over VPN” points to ECMP on a transit gateway with several VPN connections.
  • “Reduce the effect of internet latency on a VPN” points to Accelerated Site-to-Site VPN.
  • “Remote employees from home” points to Client VPN, not Site-to-Site VPN.
  • “Connect several branch offices to each other and to AWS over VPN” points to VPN CloudHub.