In the previous section, we have seen how to setup peering. But this comes with a cost. Before discussing network gateways in azure, let’s understand the costing part of peering.
- One thing to note here, although virtual networks upto 50 is free but peering comes with a cost.
- Below, I have explained the costing for the same.
- Costing is both ways applicable means for inbound and outbound. Detailed costing information region wise can be found here https://azure.microsoft.com/en-in/pricing/details/virtual-network/
- In the previous section,, we have already seen how to setup peering network, but there is also another way to do that and that is via network gateways.
- Therefore, we will go in of the virtual networks and then into subnet. Here, we will see
Currently, we have only one default subnet, but that we will discuss in coming section, how to create more subnets. From here, we can create gateway subnet as highlighted in which we can install a network gateway.
- Network gateway setup site to site vpn between two points. Normally, this will be used as VPN between your office and azure. Therefore, we can setup a VPN device, physical device in our premises to connect to this network gateway and allow people on your network to talk to azure and vice versa.
- We can use the same network gateway to setup site to site connection between two vnets. Because of that only, I have left IPV4 addresses unused.
Hence, let’s go ahead create gateway subnet.
- Once, I click on OK, it will create new GatewaySubnet like shown below. Other settings, I have just kept as default.
- In order to use this, I have to add a network gateway to this as a virtual device. In order to do so, I have to go to all services and search for network gateway like shown below.
- Next, I will create like this.
- I have given it a name and location should be same as of virtual network and then we will put one in different location and then we will setup these two. I have kept other options as default.
- Next, I have selected the virtual network where I have gateway. Therefore, it already picked up the gateway address range.
- It does require Public IP address name, hence gave one and leave other settings as it is. Now, I will click on save
- This deployment will take some time. Now, I can see in my virtual network that device is connected like shown below.
- Now, let’s go into the newly created gateway.
Next part of this setup, we will discuss in 2nd part of this article. Till then stay tuned and happy Coding.
231 total views, 2 views today