"To link your office to AWS you need a private cable." You don't, at least not to start. AWS Site-to-Site VPN builds an encrypted tunnel between your network and AWS over the internet connection you already pay for. It can be working the same day, which is why it is usually the first hybrid connection a company sets up, and often the backup for everything that comes later.
What it connects
A Site-to-Site VPN joins your on-premises network (an office, a data center, a factory) to your VPC. Once it is up, servers on both sides talk to each other using private IP addresses, as if they were on one network. The traffic is protected with IPsec, a standard that almost every business router and firewall supports.
Don't confuse it with AWS Client VPN, which connects individual laptops. Site-to-Site connects whole networks.
The two ends
- Customer gateway: your side. The customer gateway device is your physical router, firewall or software appliance; the customer gateway is the AWS resource that tells AWS about it.
- Virtual private gateway: the AWS side when you connect to a single VPC.
- Transit gateway: the AWS side when you want one VPN to reach many VPCs through a central hub.
Two tunnels, on purpose
Every Site-to-Site VPN connection includes two tunnels, and you can use both at once for high availability. AWS can take one tunnel down for maintenance, and devices fail. A common mistake is configuring only the first tunnel because "it works", and discovering the gap during an outage months later. Set up both, and test that traffic moves to the second when the first drops.
For more protection, use two customer gateway devices on your side, each with its own connection.
Routing: the step people forget
A tunnel that is "up" carries nothing until both sides know where to send traffic.
- Your network needs a route to the VPC's address range through the tunnel.
- The VPC's route tables need a route back to your on-premises range through the gateway.
- Routes can be static, or exchanged automatically with BGP (dynamic routing), which also handles failover between tunnels.
- Security groups and network ACLs must allow the traffic. See Security Groups vs NACLs.
Plan addresses first: AWS recommends non-overlapping ranges between your VPCs and your on-premises network.
Limits to know
- It rides the public internet, so throughput and latency can vary with your provider and the path.
- Each tunnel has a bandwidth ceiling: up to 1.25 Gbps as standard. AWS also documents large bandwidth tunnels of up to 5 Gbps for connections attached to a Transit Gateway or Cloud WAN.
- You pay for each hour the connection is provisioned, plus data transfer out.
When you need steady performance or much more capacity, the next step is a dedicated link, AWS Direct Connect, often with the VPN kept as a backup.
Where AI fits
Many companies want AI but keep their systems of record on premises: an ERP, a document archive, a hospital system. A Site-to-Site VPN lets those systems call models that run in AWS without exposing anything publicly.
A common pattern: create an interface VPC endpoint for Amazon Bedrock in your VPC, then let on-premises applications reach that endpoint's private address through the tunnel. The request travels encrypted over the VPN to your VPC and then on the AWS network to the model. You will also need DNS set up so the on-premises systems resolve the Bedrock name to the private address.
Quick recap
- Site-to-Site VPN is an encrypted IPsec tunnel over the internet between your network and AWS.
- Each connection has two tunnels: configure and test both.
- Add routes on both sides, and expect internet-grade performance with a per-tunnel bandwidth ceiling.