Associating the NSG

Once you have the NSG created, you can associate it to either an NIC or a subnet.