Connecting VNets using network peering
Another way to connect two Azure VNets is to use network peering. This approach doesn't require the use of a virtual network gateway, so it's more economical to use it if the only requirement is to establish a connection between Azure VNets. Network peering uses the Microsoft backbone infrastructure to establish a connection between two VNets, and traffic is routed through private IP addresses only. However, this traffic is not encrypted; it's private traffic that stays on the Microsoft network, similar to what happens to traffic on the same Azure VNet.
Getting ready
Before you start, open your browser and go to the Azure portal at https://portal.azure.com.
How to do it...
To create network peering, we must take the following steps:
- In the Azure portal, locate one of the VNets that you want to connect to.
- In the Virtual network pane, select the Peerings option, and select Add to add a new connection:
Figure...