infrastructure//Azure//resource group

A resource group is the container that holds related resources in Azure. Each resource lives in exactly one group, it can be moved to another, and the group is where a set of resources is managed as a unit: roles, policies and locks applied to the group reach every resource inside it.


A resource group is the container that holds related resources in Azure. Each resource lives in exactly one group, it can be moved to another, and the group is where a set of resources is managed as a unit: roles, policies and locks applied to the group reach every resource inside it.

The rule that decides how groups are drawn is deletion. Deleting a resource group deletes every resource in it, so a group should hold things that share a lifecycle, created, updated and retired together. A throwaway experiment gets its own group and disappears in one step; a database that outlives the app using it goes in a group of its own, and the app still connects to it across groups.

The group has a location of its own, where its metadata is stored and through which management operations are routed. Its resources may run in other regions, although Microsoft recommends keeping them in the same one.

Tags applied to a group are not inherited by the resources in it.