Resource Groups
Resource Groups are a logical container for resources, used for grouping those resources by a logical boundary. Almost every Azure resource must be assigned to a resource group.
Resource groups are free, so there is no additional cost for creating them to help organise your resource collections.
As an example you may choose to create three resource groups, one each for Development, Test and Production. Alternatively, you may create resource groups for each team.
Resource groups are handy for identifying the types of resources they contain, for example: ProductionRg indicates that every resource in the group belongs to the production instance of the system.
It is convention to have either rg or RG as part of a resource group name. How this actually looks differs between companies (prfix or suffix), but an internal standard should be defined and followed, for example:
- RG-ProjectName-Dev
- ProjectName-Dev-rg
Resource Groups vs Subscriptions
The hierarchy of resource groups and subscriptions visually looks like this:
