Network Security Group (NSG) vs Application Security Group

2023-03-20T03:30:37+00:00

  Network Security Group Application Security Group Description A network security group is used to enforce and control network traffic. An application security group is an object reference within an NSG. Features Controls the inbound and outbound traffic at the subnet level. Controls the inbound and outbound traffic at the network interface level. Rules Rules are applied to all resources in the associated subnet. Rules are applied to all ASGs in the same virtual network. Direction Has separate rules for inbound and outbound traffic. Has separate rules for inbound and outbound traffic. Limits NSG has a limit of 1000 rules. [...]