Convention Names versus Tags in Azure

Sometimes when I am working on an Azure Foundation project, usually they ask me “What is the difference between Convention Names and Tags?” followed by “When we should use each one?”

So, I decide to write this post to try to help to clarify what is the difference and when you should use each one.

Names

For more information about Naming Convention on Azure, see this previous post (here). Although naming the resource that you are creating is mandatory. You should have a very clear strategy to easy identify the resource and address all the requirements that a resource name must have.

  • Names are the resource/object name
  • They are required on the creation (it’s a mandatory field)
  • Names are surfaced at the top level of the portal
  • Names are used in PowerShell.

Tags

Regarding Tags, it’s not mandatory when you create a resource, but is highly recommend that you combine both. If you want more information about Tags, see my previous post (here).

  • Tags are metadata for the resource/object
  • Names/Tags can be used for billing drilldown
  • Name/Tags can be used for data analysis
  • Tags can be used for lot more scenarios then names, the reason why is each resource/object can have up to 15 different tags
  • Tags are used to provide context that a name cannot

Written by Marcos Nogueira

Marcos Nogueira

With more than 18 years experience in Datacenter Architectures, Marcos Nogueira is currently working as a Principal Cloud Solution Architect. He is an expert in Private and Hybrid Cloud, with a focus on Microsoft Azure, Virtualization and System Center. He has worked in several industries, including Aerospace, Transportation, Energy, Manufacturing, Financial Services, Government, Health Care, Telecoms, IT Services, and Gas & Oil in different countries and continents.

Marcos was a Canadian MVP in System Center Cloud & Datacenter Managenment and he has +14 years as Microsoft Certified, with more than 100+ certifications (MCT, MCSE, and MCITP, among others). Marcos is also certified in VMware, CompTIA and ITIL v3. He assisted Microsoft in the development of workshops and special events on Private & Hybrid Cloud, Azure, System Center, Windows Server, Hyper-V and as a speaker at several Microsoft TechEd/Ignite and communities events around the world.

Leave a Reply

Your email address will not be published. Required fields are marked *