What should go into a resource group and what should not?
BeginnerConceptFundamentals and Resource Hierarchy
Answer
Group by shared lifecycle and ownership: an application's AKS cluster, ACR and Key Vault for one environment can live together; a hub VNet that serves twenty apps belongs in its own networking RG owned by the platform team.
Rules we follow:
- One environment per RG (
rg-shop-prod-cin,rg-shop-dev-cin), never mix prod and dev. - Shared services (hub network, DNS zones, Log Analytics) in separate RGs.
- Resources in an RG can be in other regions; the RG location only stores metadata.
Deleting an RG deletes everything inside it, so the grouping is also your blast radius.
More on Fundamentals and Resource Hierarchy
Explain the Azure resource hierarchy from top to bottom.BeginnerWhat is the difference between an Entra tenant and a subscription?BeginnerWhat are regions, region pairs and availability zones in Azure?BeginnerWhy do logical zone numbers differ between subscriptions?IntermediateWhat is Azure Resource Manager (ARM)?BeginnerWhat is a resource provider and why do you sometimes need to register one?Beginner