Application security groups (ASG)
Concept
Azure feature that groups virtual machine network interfaces by function, such as web servers, so network security group rules can reference the group instead of individual IP addresses.
あわせて取り上げられたテーマ
Application security groups (ASG)に関するエピソードでは、Azure service tags、Azure Firewall、Network security group (NSG)、最小特権、Single source of truthも取り上げられています。
Description
Application security groups (ASG) are a feature of Azure Virtual Network. They let administrators group the network interfaces of virtual machines by function, for example web servers, and write network security policy based on those groups. Instead of maintaining explicit IP addresses in every rule, a group can serve as the source or destination of a network security group rule, and the platform handles the underlying addresses and rule sets.
The main purpose is to keep security rules readable and maintainable. When rules point to individual IP addresses or ranges, each change to the environment, such as adding or replacing a virtual machine, can require rule edits. With application security groups, the rule refers to the group, so membership determines which interfaces the rule affects. The official documentation recommends using service tags or application security groups instead of raw IP ranges, because this reduces the number of rules that have to be written and maintained.
Several behaviors are worth knowing. A network interface can belong to more than one application security group. A rule that references a group applies only to interfaces that are members of that group, so an interface without membership is not affected, even when the network security group is attached to the subnet it sits in. All network interfaces in a group must be in the same virtual network as the first interface assigned to that group.
The documentation illustrates the concept with a three-tier layout made of web, logic and database groups. One rule allows internet traffic to the web group. Another rule lets only the logic group reach the database port. A final deny rule blocks everyone else. This pattern expresses the intended application architecture directly in the rules, without listing the addresses of each machine.
Application security groups work together with network security groups (NSG), which control traffic between resources in virtual networks and external networks and allow granular segmentation. They are one building block among several in Azure network security. In the M365.FM episode "Secure Azure Networking with Rex de Koning [MVP-MCT]", they appear in a list of network controls alongside network security groups, Azure Firewall and Traffic Analytics. The episode describes application security groups as a way to group VMs under an application tag to define and apply traffic rules. In the same list, Azure Firewall filters traffic between cloud resources, the internet and on-premises resources, and Traffic Analytics analyzes network flow logs to validate segmentation policies and monitor traffic behavior.
Typical decisions around application security groups concern how to divide workloads into groups, such as by tier or role, and which traffic each group may send or receive. Because rules are tied to group membership, assigning a network interface to the correct group becomes the key operational step, and keeping that membership accurate keeps the policy accurate. The groups themselves do not filter traffic. Enforcement happens through the network security group rules that reference them.
Overview compiled with AI from M365.FM episodes and the facts on this page. You can improve it with the edit button below.
| Type | Concept |
|---|---|
| Kind | Feature |
Articles about Application security groups (ASG) (2)
Application security groups (ASG)を扱った記事:
- Securing Your Cloud: Why Network Isolation Matters for Azure Application Gateway
· Mirko Peters
Welcome back to the podcast blog! If you have been following our recent audio episodes, you know we love diving deep into cloud security, architecture, and practica…
You should listen to thisAzure Network Security Groups - Simply Explained - Mastering Azure Network Security Groups: Best Practices for Cloud Architects
· Mirko Peters
Welcome back to the podcast companion blog! Today, we are expanding on a topic that forms the absolute bedrock of cloud architecture and workload protection: Azure …
Community wiki
Short info above, community knowledge below: add practical tips, examples or corrections. New contributions are reviewed first; trusted members publish directly.
Experts and companies for this topic
Nobody has listed this topic yet. Add it to your profile.
Sources
- Azure Application Security Groups overview – Microsoft Learn learn.microsoft.com
- RSSフィード: Application security groups (ASG)
- Articles on this topic: 2
Maintained by Mirko Peters (Microsoft MVP) · Last updated: