Hi There

In this article I’m going to introduce you on how to use Azure Policy to keep your Resources and Resources Groups standardized with Tags.

What is Azure Policy?
Azure Policy is a service in Azure that you use to create, assign, and manage policies where these policies enforce different rules and effects over your resources, so those resources stay compliant with your corporate standards and service level agreements. In addition, Azure Policy meets this need by evaluating your resources for non-compliance with assigned policies.

  • A custom policy definition allows customers to define their own rules for using Azure and those rules enforces the following:
    • Security practices
    • Cost management
    • Organization-specific rules (like naming or locations)

What are Tags on Azure and how to use?
Tags are used to organize cloud-based assets in ways that aid operational management and support accounting requirements is a common challenge in large cloud adoption efforts. You can also use tags to monitor and control deployments and costs on Azure.

Things you need to know when creating tags:

  • Tags aren’t inherited hierarchically from resource group to resource
  • Tag names can have up to 512 characters; values can have up to 256
  • Tags in Azure are not case-sensitive
  • These characters aren’t supported with tags: < > % & / ?
  • A single resource can be assigned up to 15 tags

Azure Policy Blade in Azure Portal

Next Article – Azure Policy – Part2 (tags)

References
https://docs.microsoft.com/en-us/azure/governance/policy/samples/
https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/naming-and-tagging#naming-and-tagging-resources
https://docs.microsoft.com/en-us/azure/governance/policy/tutorials/govern-tags
Full PDF about Azure Policy

thanks,

Thiago Beier
TwitterLinkedInFacebookRSS