Microsoft Azure – Resource Tagging and Best Practices
Tagging is used to organize your Azure resources, resource groups, subscriptions, and management groups hierarchy. Each tag consists of a name and a value pair.
If you were working at the project level there should be some tagging compliance to organize your Azure resources, resource groups, subscriptions, and management groups hierarchy or for better filtering, monitoring or either for querying a few scenarios.
Note: Tag names are case insensitive, but tag values are case sensitive.
Add Tags to a Resource in Azure:
Follow the below steps to add tags to a resource in Azure:
Step 1: Select any of the Resources in Azure Portal.
Step 2: After selecting the azure resource from the left menu search for tags and Select Tags.
Step 3: Now, from the tags section you can add and remove to organize according to your needs. Here the tags are name/value pairs that enable you to categorize resources and view consolidated billing by applying the same tag to multiple resources and resource groups.
Step 4: Once you are done with the changes just click on Apply to make the changes. That’s it you are done.
Resource Tagging Best Practices
In this article, we’ll also see what all tags should apply while creating a resource in Azure and its purpose or use for example.
The environment type is defined in the environment classification below.
Example Values: <Stage, DEV, TST, QA, PROD>
The system criticality is defined in the system classification below.
Example Values: <Critical, Non-critical, N/A>
The name of the Application that the Azure resource belongs to.
Example Values: <add_name_of_app>
Full Name of the Application Owner
Example Values: <John Wick, Michel Charm, Paul Mickelson,…etc.>
The contact email will use to inform about the changes/issues.
Example Values: <firstname.lastname@example.org or email@example.com,…etc>
It will be the Cost Center of the party who might be charged for the consumption.
Example Values: <CC-Id01, CC-Id02,…etc.>
The name of the Business Area.
Example Values: <Name_of_Business, ITTeam, DBTeam, OperationsTeam, MigrateTeam, TestingTeam,..etc.>
Full Name of the User or User Email who created a Resource in Azure
Example Values: <John Wick, Michel.Charm@domain.com, PaulMickelson@domain.com,…etc.>
The data type is defined in data asset classification.
Example Values: <Public, Private or Internal, Restricted, Confidential,…etc>