3.1.1. VPN Gateway Architecture
Every S2S connection requires a VPN Gateway in Azure and a Local Network Gateway representing your on-premises device.
VPN Gateway SKUs determine throughput, tunnel count, and features:
| SKU | Max Tunnels | Aggregate Throughput | Zone-Redundant | Use Case |
|---|---|---|---|---|
| VpnGw1AZ | 30 | 650 Mbps | Yes | Small branches |
| VpnGw2AZ | 30 | 1.25 Gbps | Yes | Medium offices |
| VpnGw3AZ | 30 | 2.5 Gbps | Yes | Large sites |
| VpnGw4AZ | 100 | 5 Gbps | Yes | Datacenter |
| VpnGw5AZ | 100 | 10 Gbps | Yes | High-throughput |
New gateways use the AZ SKUs: since 1 November 2025 the non-AZ VpnGw1-5 SKUs can no longer be created, and existing ones are being migrated. The Basic SKU (10 tunnels, 100 Mbps, no BGP) still exists for dev/test and needs a Standard public IP.
Policy-based vs. Route-based:
- Policy-based (Static): Single tunnel, traffic selectors define what flows through. Legacy—avoid for new deployments.
- Route-based (Dynamic): Multiple tunnels, uses routing tables. Required for P2S, VNet-to-VNet, and active-active configurations.
⚠️ Exam Trap: Policy-based VPN gateways cannot coexist with P2S VPN or support multiple tunnels. If the scenario mentions "multiple branch offices" or "remote users," the answer is route-based.
Local Network Gateway represents your on-premises VPN device:
- Public IP address of your on-premises device
- Address prefixes for on-premises subnets (tells Azure what to route through the tunnel)
- BGP settings if using dynamic routing