Azure VPN Gateway is an encrypted VPN service that connects a VNet to on-premises networks or another VNet over IPsec/IKE tunnels. It's easier to adopt than ExpressRoute (dedicated line), cheaper, faster to deploy, and ships with a 99.9-99.95% SLA — making it a fit for everything from small hybrid setups to mission-critical production. This article covers SKU selection, connection types, BGP, Active-Active designs, and operational best practices end to end.
| Type | Target | When to Use | Protocol |
|---|---|---|---|
| Site-to-Site (S2S) | On-prem network | Production hybrid environments | IKEv1 / IKEv2 |
| Point-to-Site (P2S) | Individual PC | Remote work and admin access on the road | IKEv2 / OpenVPN / SSTP |
| VNet-to-VNet | Another Azure VNet | Multi-region connectivity | IPsec |
In production, combining S2S (office to Azure) with P2S (remote PCs to Azure) is the standard pattern.
| SKU | S2S Bandwidth | Tunnels | Monthly Cost | Use Case |
|---|---|---|---|---|
| Basic (being retired) | 100 Mbps | 10 | ~$70 | Don't use for new deployments |
| VpnGw1 | 650 Mbps | 30 | ~$140 | Dev / small scale |
| VpnGw2 | 1 Gbps | 30 | ~$370 | Mid-size production |
| VpnGw3 | 1.25 Gbps | 30 | ~$920 | Large-scale production |
| VpnGw4 | 5 Gbps | 100 | ~$1,650 | Multi-site / high bandwidth |
| VpnGw5 | 10 Gbps | 100 | ~$3,200 | Enterprise |
The AZ suffix (e.g., VpnGw1AZ) adds Zone Redundancy for about 30% more cost and improves the SLA to 99.95% (vs 99.9% for non-AZ). For new production environments, VpnGw2AZ or higher is recommended.
Enabling BGP (Border Gateway Protocol) lets routes between on-prem and Azure exchange dynamically, eliminating static route maintenance. For production, BGP is effectively mandatory.
BGP also requires BGP support on your on-prem VPN device. Major vendors — Cisco, Juniper, Fortinet, SonicWall, Sophos — all support it.
| Aspect | Active-Standby | Active-Active |
|---|---|---|
| Behavior | 1 active + 1 standby | Both instances active |
| Public IP | 1 | 2 |
| Max bandwidth | SKU limit | SKU limit x 2 |
| SLA | 99.9% (99.95% with AZ) | 99.95% (99.99% with AZ) |
| Failover | Yes (with switchover time) | Instant (both already running) |
For mission-critical production, Active-Active is recommended. To enable it: in the Azure Portal Gateway settings, turn on "Active-active mode" and add a second Public IP. Your on-prem firewall also needs to accept two tunnels (for Cisco ASA and Fortinet FortiGate, configure ECMP routing).
| Protocol | Supported OS | Characteristics |
|---|---|---|
| IKEv2 (Native VPN) | Windows / Mac / Linux | Built-in OS client |
| OpenVPN | Windows / Mac / Linux / iOS / Android | SSL/TLS, easier to traverse firewalls |
| SSTP | Windows only | SSL/TLS, legacy |
Microsoft Entra ID authentication + OpenVPN + Conditional Access is the modern best-practice combination for P2S.
A single VNet can host both a VPN Gateway and an ExpressRoute Gateway (coexistence configuration).
What is Azure VPN Gateway?
Azure VPN Gateway is an encrypted VPN service that connects a VNet to on-premises networks or another VNet over IPsec/IKE tunnels. It supports three connection types: Site-to-Site (S2S, on-prem to Azure), Point-to-Site (P2S, individual PC to Azure), and VNet-to-VNet (between Azure VNets). It's lower cost, faster to deploy (hours), and easier to adopt than ExpressRoute (dedicated line), with a 99.9-99.95% SLA. SKUs include VpnGw1-5, VpnGw1AZ-5AZ (Zone Redundant), and Basic (being retired). Deployment requires placing the Gateway in a GatewaySubnet (/27 or larger, Azure-reserved name), plus Public IP and Local Network Gateway resources.
How do I choose the right SKU (VpnGw1-5)?
Choose based on S2S bandwidth and tunnel count: VpnGw1 (650 Mbps, 30 tunnels, ~$140/mo), VpnGw2 (1 Gbps, 30 tunnels, ~$370/mo), VpnGw3 (1.25 Gbps, 30 tunnels, ~$920/mo), VpnGw4 (5 Gbps, 100 tunnels, ~$1,650/mo), VpnGw5 (10 Gbps, 100 tunnels, ~$3,200/mo). The AZ suffix (e.g., VpnGw1AZ) adds Zone Redundancy for about 30% more cost and bumps the SLA to 99.95% (non-AZ is 99.9%). For new production workloads, VpnGw2AZ or higher is recommended. Basic SKU has too many limitations (no BGP, static routing only) and is being retired, so don't pick it for new deployments. VpnGw2 is enough for mid-size on-prem connectivity (1-3 sites, sub-1 Gbps). For multi-region global topologies, consider VpnGw4-5 or migrating to Virtual WAN.
What's the difference between Site-to-Site and Point-to-Site?
Site-to-Site (S2S) connects an entire on-prem network (by CIDR) to an Azure VNet, establishing a tunnel between your on-prem firewall/VPN appliance and Azure. It supports IKEv1/IKEv2, stays connected continuously, supports multi-site topologies, and is built for production hybrid environments. Point-to-Site (P2S) connects individual PCs (Windows, Mac, Linux) to an Azure VNet — users connect on demand via a VPN client. It supports IKEv2 (Native VPN), OpenVPN (SSL/TLS), and SSTP (Windows only), and is aimed at remote work and admin access from the road. The two are commonly combined: S2S (office to Azure) + P2S (remote PCs to Azure) is the standard production pattern.
What's the relationship between Azure Virtual Network Gateway and Azure VPN Gateway?
This is a frequent source of confusion. Virtual Network Gateway is the umbrella resource for VPN/ExpressRoute gateways in Azure — its Type property selects either VPN or ExpressRoute. A Virtual Network Gateway with VPN type is what people usually call "VPN Gateway." The underlying resource type is Microsoft.Network/virtualNetworkGateways, which is the same in both Bicep and ARM templates. Key points to avoid mixing up: a single VNet can host both a VPN Gateway and an ExpressRoute Gateway (coexistence), but they share the same GatewaySubnet (/27 is tight, /26 recommended). With Azure Virtual WAN, the gateway is built into the Virtual Hub, so you don't need a standalone VPN Gateway.
Should I use BGP?
Strongly recommended. Enabling BGP (Border Gateway Protocol) lets routes between on-prem and Azure exchange dynamically, eliminating static route maintenance. It's essentially mandatory for production. Assign ASNs (Azure side: 65515 by default; on-prem side: e.g., 65010, picked from the Private ASN range 64512-65534) and configure BGP Peer on the Local Network Gateway. Benefits: 1) no Azure-side changes when on-prem networks are added, 2) automatic route advertisement across multi-site connections, 3) automatic path failover. Note: Basic SKU doesn't support BGP — you need VpnGw1 or higher. You also need BGP support on your on-prem VPN device. Major vendors like Cisco, Juniper, Fortinet, SonicWall, and Sophos all support it.
What's the difference between Active-Active and Active-Standby?
Active-Standby (default): of the two Gateway instances, one is active and one is on standby — it fails over when needed. SLA is 99.9-99.95%. Active-Active: both instances are active simultaneously, load-balancing across two tunnels, doubling max bandwidth with a 99.95-99.99% SLA. Each Public IP terminates its own tunnel. Active-Active is recommended for mission-critical production. To enable it: in the Azure Portal Gateway settings, turn on "Active-active mode" and add a second Public IP. Your on-prem firewall must also accept two tunnels (Cisco ASA and Fortinet FortiGate need ECMP routing configured). The only extra cost is one additional Public IP, so the availability return on investment is excellent.
What are the operational best practices for VPN Gateway?
Key practices: 1) Run production with Active-Active + BGP, 2) Use Zone Redundant SKUs (VpnGw1AZ-5AZ) to survive AZ failures, 3) Size GatewaySubnet as /26 (to support future ExpressRoute coexistence and FastPath), 4) Public IP must be Standard SKU (Basic doesn't support zones), 5) Send Diagnostic Logs to Log Analytics and monitor with KQL, 6) Use Azure Monitor for VPN Gateway to watch Tunnel Health, 7) Regularly check Connection Status (Connected / NotConnected frequency), 8) Customize IKE Policy (defaults are loose — harden with AES-256 + SHA-256), 9) Rotate pre-shared keys (PSK), 10) Keep on-prem device firmware up to date. These together are the production standard and strike the right balance between availability and security.
Which Azure certifications cover VPN Gateway?
AZ-700 (Network Engineer Associate) covers VPN Gateway deeply: SKU selection, S2S/P2S/VNet-to-VNet, BGP, Active-Active, and troubleshooting all show up frequently. AZ-104 (Administrator) touches the basics in Domain 4. AZ-305 (Solutions Architect Expert) tests it from a design angle (VPN vs ExpressRoute). AZ-800 / AZ-801 (Windows Server Hybrid) tests it in a hybrid networking context, and SC-100 (Cybersecurity Architect Expert) covers it under zero-trust networking. For Azure network engineers, VPN Gateway is, alongside ExpressRoute, one of the two core hybrid connectivity technologies.
Related Articles & Deep Dives
ExpressRoute Complete Guide: Circuits, Peering, Gateway (2026)
ExpressRoute architecture — circuits, peering types, gateway SKUs, common BGP patterns.
AZ-700 Azure Network Engineer Associate: Complete Guide (2026)
Pass AZ-700 — VNet, ExpressRoute, VPN, Front Door, Application Gateway. The network specialty cert.
Application Gateway vs Front Door: Choosing the Right L7 (2026)
L7 load balancers — regional (App GW) vs. global (Front Door). Features, WAF, and decision criteria.
Azure Policy Complete Guide: Initiatives & Effects (2026)
Azure Policy fundamentals — effects, initiatives, exemptions, evaluation. The governance backbone of Azure.
Technical information in this article is based on the Azure VPN Gateway Documentation. This article is not an official Microsoft Corporation product and has no affiliation or endorsement relationship with Microsoft. Microsoft and Azure are trademarks of the Microsoft group of companies. Information reflects officially published material as of May 24, 2026. Always check the official pages for the latest information.
Practice with certification-focused question sets
Browse Azure exam prepNicheeLab Editorial Team
NicheeLab editorial team focused on data engineering and cloud certification learning. Content is structured around practical study needs and official exam domains.
AZ-900 Azure Fundamentals: Complete Exam Guide (2026)
Pass AZ-900 — cloud concepts, Azure architecture, management...
Azure Certification Roadmap: Which Cert to Take Next (2026)
Choose your Azure certification path — Fundamentals, Associa...
AI-901 Azure AI Fundamentals (Beta): Complete Guide (2026)
Pass AI-901 — Microsoft Foundry, generative AI, responsible ...
Microsoft Entra ID Fundamentals for Azure Certs (2026)
Entra ID basics every cert candidate needs — tenants, identi...
DP-900 Azure Data Fundamentals: Complete Guide (2026)
Pass DP-900 — relational, non-relational, analytics, Power B...