In this section, we are going to continue from the last section and delve further inside in network gateway.
- Here, we will create another gateway in another virtual network. Following the same approach, I have created in another Resource Group.
- Let’s click on connections now as shown in the left panel.
- As you can see that there is no connection available. Here, we will setup VNet to VNet connection.
- Here, we can also setup Point to Site or VPN to Site or Site to VPN.
- Click on add, and enter the following details.
- Here, we will select the other gateway, which we want to connect to.
- Next, we need to create a shared key that both gateways need to have a communication. In case of physical device, we could have used that physical device id. But, since this is VNet-to-VNet, hence we do have have to a key.
- We will keep other things as it is and click on OK.
- It will take some time for status of the connection to become succeeded.
- Currently, its is connecting state.
- Here, we have seen peering which can be local or global with one pricing stricture or we have got this network gateway, which can also be local or global.
- The advantage of network gateway is that its scalable. Hence, if you have higher amount of traffic coming in or going out, you can choose higher bandwidth sku from the configuration like shown below.
- We can also setup configurations for corporate network, using a site to site VPN get into azure using a gateway and then being able to further connect to other networks from there through a peering relationship.
- We did setup gateway on both end, which is not required in peering relationship as shown in the picture.
Here, we could have enabled remote gateway settings. This concept of remote gateway is having one VPN device and that remote gateways which are using that to communicate on the corporate network.
- Now, let’s switch over to the pricing portal. As you can see, VPN gateways are not free. They come with a cost.
- Here, is the link for the same.
- With this plan, we get a dedicated set of bandwidth and we get 30 S2S (site to site tunnels), which allow us to connect to other virtual networks.
- Pricing for traffic is different and its actually cheaper to do network gateway connection than peering. But, we are paying here for the device itself.
- But, we do get free inbound traffic, hence we are paying only one side in gateway connection.
- But, we have different traffic rates for outbound case. Hence, we need to little bit of maths here before choosing optimal one for our case.
Thanks for joining me.