Forum Discussion
MS Guidance on NSGs on NICs vs on Subnets
Hi i would say always use subnet when possible because of the recommendation below :
Unless you have a specific reason to, we recommend that you associate a network security group to a subnet, or a network interface, but not both. Since rules in a network security group associated to a subnet can conflict with rules in a network security group associated to a network interface, you can have unexpected communication problems that require troubleshooting.
https://docs.microsoft.com/en-us/azure/virtual-network/network-security-group-how-it-works
In fact if you decide to associate NSG to NIC you will need to do it for every NIC in the subnet to have rules applied in the overall subnet ( Say Hello to Management Overhead) . Also if subnet is already associated you will have risk of conflicts mentionned above since you will configure both .