Your profile

One profile for every MSDEVBUILD site. Only you can see it, and the site owner if you write in.

Azure VPN Gateway in 60 seconds

NetworkingHybrid connectivityAWS: Site-to-Site VPN

What it is

Encrypted IPsec tunnels over the internet between Azure and your offices (site-to-site) or individual devices (point-to-site).

Simulate it »

✅ Use it when

  • Quick, low-cost hybrid connectivity
  • Backup for ExpressRoute
  • Remote workers into a VNet

🚫 Not the best fit when

  • Very high, predictable bandwidth needs (ExpressRoute)

💰 Price feel: ●●○○ Low

VpnGw1 ≈ $139/month plus data out.

Illustrative pay-as-you-go list prices at approximate exchange rates. Use the Azure pricing calculator for real quotes.

Simulate it

3D Inside an Azure virtual network Send office traffic through the tunnel.

🖱️ Drag to rotate · scroll or pinch to zoom

Loading the 3D scene…
</> Embed

Embed this simulation

Free for trainers, teachers and bloggers. Paste this into your page:

VPN gateway

The office on the left connects with a site-to-site VPN. Traffic travels encrypted (IPsec) over the public internet to the VPN gateway.

Read this tour as text
  1. A virtual network. The blue glass box is a virtual network (VNet): your private network in Azure with its own address range, 10.0.0.0/16. Nothing gets in unless you allow it.
  2. Subnets. The VNet is split into subnets: web (10.0.1.0/24) for web servers and data (10.0.2.0/24) for the database. Each VM gets a private IP from its subnet.
  3. Network security group. An NSG is a list of allow and deny rules on a subnet or network card. Here: allow HTTPS 443 from the internet, deny RDP 3389. Send both and watch.
  4. VNet peering. A second VNet joins with peering. Traffic between them uses private IPs over Microsoft’s backbone, never the public internet.
  5. VPN gateway. The office on the left connects with a site-to-site VPN. Traffic travels encrypted (IPsec) over the public internet to the VPN gateway.
  6. ExpressRoute. ExpressRoute is a private connection from your office through a connectivity provider to Microsoft. It does not go over the internet, so it is more reliable and predictable.
  7. Private endpoint. A storage account normally has a public endpoint on the internet. A private endpoint gives it a private IP (10.0.2.5) inside your VNet, so traffic never leaves your network.
  8. Azure DNS. People type names, networks use numbers. DNS turns www.contoso.com into an IP address like 20.50.1.4, and then the browser connects.
📘 Full lesson: Azure VPN Gateway ❯ ⚖️ VPN Gateway vs ExpressRoute ❯

Similar services

Install MSDEVBUILD Azure

Free · no account · works offline

Save the whole course for offline ›

Hi, I’m your Nimbus

Your study buddy. Pick what we do next.

MSDEVBUILD · Multi-Stack Dev Build

Sign in to MSDEVBUILD

One account for Azure certifications and the blog: sign in here and you are signed in on both. Your XP, streak, practice deck and certificate stay in sync on every device. Optional: everything works without an account.