Site-to-Site VPN Fundamentals
What you'll learn: How to create encrypted tunnels between your on-premises data center and cloud VPCs using site-to-site VPNs.
What Is a Site-to-Site VPN?
A site-to-site VPN establishes a secure, encrypted connection between your physical data center and your cloud Virtual Private Cloud (VPC). Think of it as a private tunnel through the public internet—data traveling through it is scrambled and protected from eavesdropping, while appearing to both networks as if they're directly connected.
Unlike client VPNs (where individual users connect), site-to-site VPNs connect entire networks to each other. Your on-premises servers can communicate with cloud resources as if they're on the same local network, without exposing traffic to the open internet.
How It Works
The connection requires two endpoints:
- Customer Gateway – A physical device or software in your data center (your VPN router/firewall)
- Virtual Private Gateway – The cloud provider's VPN endpoint attached to your VPC
These gateways negotiate an IPsec tunnel, establishing encryption keys and authentication. Once established, you configure routing tables on both sides so traffic destined for the other network automatically flows through the encrypted tunnel.
When to Use Site-to-Site VPN
Site-to-site VPNs excel for hybrid cloud scenarios where you need:
- Quick setup (hours, not months)
- Moderate bandwidth requirements (typically up to 1.25 Gbps per tunnel)
- Budget-conscious connectivity
- Backup paths for dedicated connections
Key Takeaway: Site-to-site VPNs provide cost-effective, encrypted connectivity between on-premises networks and cloud VPCs, enabling hybrid architectures without dedicated physical infrastructure—though they trade some performance and reliability for flexibility and lower cost.