Interview Prep/Azure/Fundamentals and Resource Hierarchy

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.

Azure All Azure questions Roadmap: Azure core services

More on Fundamentals and Resource Hierarchy