- Hands-On Networking with Azure
- Mohamed Waly
- 142字
- 2021-06-24 18:41:27
Associating the NSG to a subnet
To associate the NSG to a subnet, you need to follow these steps:
- 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
- Click on Associate.
- 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
- 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
- Once the subnet is selected, click on OK, and it will take some seconds to get it associated to the NSG.