NSG-Can i assigned 1 NSG to multiple Instance , what is the limit

Mahendra Sahu 0 Reputation points


I want to use same NSG on all my Virtual Machine , need to understand if that is possible and do we have any limitation or drawback of doing that

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
5,907 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
1,648 questions
{count} votes

2 answers

Sort by: Most helpful
  1. TP 42,691 Reputation points


    Yes, you can associate same NSG for multiple network interfaces and/or subnets. The network interfaces/subnets must be in the same Azure Region. So one drawback is if you need same NSG to apply to VMs in different regions you can't do that.

    Please click Accept Answer if the above was helpful.



  2. Dillon Silzer 45,381 Reputation points

    Just adding to TP, here is a guide (if you were looking for reusing NSGs):

    Reusing Network Service Groups across Virtual Machines


    Just a note from the article:

    Network Security Groups is an important feature in Azure Virtual Networking that allows you to filter traffic to and from Internet and across Azure resources. The intent of this article is to share a quick Azure tip but NSG shouldn't be used as a first line of defense to your Azure resources.

    If this is helpful please accept answer.

    0 comments No comments