What are service tags and why use them in NSG rules?
BeginnerConceptNetworking
Answer
Service tags are Microsoft-maintained groups of IP prefixes for a service: Internet, VirtualNetwork, AzureLoadBalancer, AzureCloud.centralindia, Storage.CentralIndia, AzureMonitor, AzureContainerRegistry, GatewayManager. Microsoft updates the prefixes; your rule stays the same.
Example: allow outbound to Azure Monitor and deny other internet egress from a locked-down subnet, without maintaining IP lists.
More on Networking
What is a VNet and how does it compare to an AWS VPC?BeginnerHow many IP addresses does Azure reserve in each subnet?BeginnerWhat is a Network Security Group and how are its rules evaluated?BeginnerIf an NSG is on both the subnet and the NIC, how is traffic evaluated?AdvancedWhat is an Application Security Group (ASG)?IntermediateWhat are system routes and user-defined routes (UDRs)?Intermediate