Hands-On Networking with Azure
上QQ阅读APP看书,第一时间看更新

Associating the NSG to a subnet

To associate the NSG to a subnet, you need to follow these steps:

  1. Navigate to the Network security groups that you have created and then select Subnets, as shown in the following screenshot:
Figure 2.18: Associated subnets to an NSG
  1. Click on Associate.
  2. A new blade will pop up, where you have to specify the virtual network within which the subnet exists, as shown in the following screenshot:
Figure 2.19: Choosing the VNet within which the subnet exists
  1. Then, you need to specify which subnet of the VNet you want to associate the NSG to, as shown in the following screenshot:
Figure 2.20: Selecting the subnet to which the NSG will be associated
  1. Once the subnet is selected, click on OK, and it will take some seconds to get it associated to the NSG.