Forum Discussion
Himanshu Sethi
Feb 20, 2018Copper Contributor
Change NSG for an Azure VM
How can we add/change Network Security Group to an already configured Azure Virtual Machine? I am not getting any option of selecting a different NSG.
3 Replies
- Kasenga KapansaCopper Contributor
Select your VM > NIC > Network Security Group > then click Edit.
asdasd
- Chris O'DonoghueCopper ContributorIt is quite easy to associate an NSG to a NiC or subnet, Generally I think it is better to associate it to the subnet and have all the rules for that subnet in a single NSG. But this may require some thought and complexity. To Associate select the NSG in the list of resources, or create a new one, on the NSG blade there is two items Subnets and Network interfaces, select the appropriate one and click associate...
- RuudGijsbersIron Contributor
Hello Himanshu,
You can only associate a NSG to a classic VM. If you're using an Resource manager VM, you can associate the NSG to the NIC or the subnet.
Best regards,
Ruud Gijsbers