官术网_书友最值得收藏!

The Azure portal

VNets in Azure can be managed using various tools, including the Azure portal. The fact is that, for some people, the portal is the easiest way to use Azure, as they are used to graphic tools and the UI really helps them understand what is going on or how to use a particular feature.

To create a peering (which will allow you to access a network from another network) from the portal, you can go through the following instructions:

  1. In the Settings section, you will find a Peerings blade:
Figure 3.4 – Peerings blade
  1. Initially, you should not see any available peering for your network (I am assuming that you are doing this on a new VNet). To create a new connection, click on the + Add button:
Figure 3.5 – Creating a peering
  1. In the displayed form, you will have to enter all the required information regarding the connection. Before we dig deeper into the available options, look at my configuration:
Figure 3.6 – VNet peering configuration

Using the default options should suffice for the most common scenarios (put simply, scenarios that do not require external communication or need you to disable external communication); however, you may want to consider additional options here:

    • Allow virtual network access: By default, two peered networks can communicate with each other. With this option, you can change the behavior so that communication will be disallowed.
    • Allow forwarded traffic: If you want to allow external communication (not originating from the peer) to access your VNet, check this checkbox.
    • Allow gateway transit: When you want to use VNet gateways, you can allow the peer to use another peer gateway. With this option, you have to make sure that the peer does not use a gateway already.
    • Use remote gateways: This option is the opposite of the previous one. Use it if you want to use the gateway of the peer.

When everything is set, you can click the OK button and wait until the peering is created. 

Note that the selected options can be altered after the peering is created. If you want to forbid the communication between VNets later, you will have the option to do so.

Let's now try to use the CLI to do the same operation without accessing the portal.

主站蜘蛛池模板: 云安县| 莒南县| 内乡县| 共和县| 葫芦岛市| 济宁市| 库车县| 大丰市| 婺源县| 芦溪县| 威海市| 常山县| 大安市| 阿瓦提县| 罗平县| 五家渠市| 中牟县| 新民市| 景谷| 江华| 蓬莱市| 本溪| 佛冈县| 大宁县| 辽中县| 胶南市| 云阳县| 孝义市| 乌兰浩特市| 德阳市| 西盟| 边坝县| 长阳| 徐水县| 丰县| 鲁山县| 长葛市| 贵阳市| 灵武市| 伽师县| 若羌县|