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 ...