Share via

Unapplying default security groups

Anoop Kumar 21 Reputation points
2022-06-27T11:23:59.763+00:00

I was going thru MS Learn for module - "Create a Windows virtual machine in Azure" and in the submodule "Configure Azure virtual machine network settings" it says:

Keep in mind that security groups are optional at both levels. If no security group is applied, then all traffic is allowed by Azure. If the VM has a public IP, this could be a serious risk, particularly if the OS doesn't provide some sort of firewall.

Question: If the default security group cannot be modified, overridden or deleted, how can we say security groups are optional at both the subnet and network interface level?

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

Answer accepted by question author

Bjoern Peters 8,921 Reputation points
2022-06-27T11:28:18.627+00:00

Who said / Where is it stated that "default security group cannot be modified, overridden or deleted"?

Of cause, you can delete an NSG!
First, detach it and then delete it...
https://learn.microsoft.com/en-us/azure/virtual-network/manage-network-security-group

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.