Connect Azure Virtual Networks with VNet-to-VNet VPN Connections
Description
Azure virtual networks (VNets) connected with a VNet-to-VNet connection can communicate through a secure IPSec/IKE encrypted tunnel using Azure's backbone network without ever traversing the public internet. VNet-to-VNet connections can connect VNets in different regions, Azure subscription, and associated with different Microsoft Entra tenants. VNet-to-VNet connections are ideal for setting up your own geo-replication or synchronization with secure connectivity over Azure's backbone network and for connecting VNets in multi-tier applications with isolation or administrative requirements between tiers.
In this lab, you will establish a VNet-to-VNet connection to allow a virtual machine to access another virtual machine in a different VNet.
Lab Objectives
Upon completion of this lab, you will be able to:
- Understand VNet-to-VNet connections and when you would prefer them over other methods for connecting VNets
- Create VPN gateways using the Azure Portal and Azure CLI
- Configure VNet-to-VNet connections between VPN gateways
- Test VNet-to-VNet connection connectivity
Lab Prerequisites
You should be familiar with:
- Basic understanding of Azure networking concepts including VNets, subnets, and network security groups
- Working with at the command line in Linux and having prior experience with the Azure CLI is beneficial
You can fulfill the prerequisites by completing the Introduction to Azure Virtual Networking Course and the Linux Command Line Byte Session Learning Path.
Updates
October 25th, 2024 - Updated lab instructions and some provisioning resources
October 3rd, 2024 - Updated lab instructions and screenshots to reflect the latest UI
August 29th, 2024 - Updated VM Linux Images
April 12th, 2024 - Resolved Vnet-to-Vnet connection issue
January 18th, 2023 - Updated lab screenshots to reflect the latest UI
July 10th, 2023 - Updated lab instructions and screenshots to reflect the latest UI
September 28th, 2022 - Updated the lab to use the Cloud Academy Web Terminal
September 16th, 2021 - Corrected the name of a resource appearing in the portal's search results