Best Practices for Naming Azure Resources

This Azure blog shows the best practices for naming Azure Resources with examples of the most common services.

Naming Azure resources systematically and clearly is crucial for managing cloud environments effectively. A well-defined naming convention helps maintain consistency, makes resource identification easier, and facilitates better resource management and collaboration. Below are some best practices and examples to guide you in naming your Azure resources.

General Guidelines

  1. Consistency: Maintain consistent naming conventions across all resources to avoid confusion.
  2. Readability: Use names that are easy to read and understand, even at a glance.
  3. Unique Identifiers: Ensure that names are unique within the context of your subscription to avoid conflicts.
  4. Resource Type Abbreviations: Use standard abbreviations for resource types to keep names concise and recognizable.
  5. Environment and Region: Include environment (e.g., dev, test, prod) and region (e.g., us-east, eu-west) information to identify the resource’s purpose and location quickly.
  6. Avoid Special Characters: Stick to alphanumeric characters and hyphens to avoid issues with resource management tools.

Best Practices for Naming Azure Resources

Here are some examples of common Azure resources and suggested naming conventions:

Virtual Machines (VMs)

  • Naming Convention: <project>-vm-<env>-<region>-<number>
  • Example: finance-vm-prod-useast-01

Storage Accounts

  • Naming Convention: <project>stor<env><region><number>
  • Example: financestorprodusw1

Resource Groups

  • Naming Convention: <project>-rg-<env>-<region>
  • Example: finance-rg-prod-useast

Virtual Networks (VNet)

  • Naming Convention: <project>-vnet-<env>-<region>
  • Example: finance-vnet-prod-useast

Network Security Groups (NSG)

  • Naming Convention: <project>-nsg-<env>-<region>
  • Example: finance-nsg-prod-useast

App Services

  • Naming Convention: <project>-app-<env>-<region>-<number>
  • Example: finance-app-prod-useast-01

Additional Tips

  1. Length: Keep names within the character limits specified by Azure, which can vary by resource type.
  2. Tags: Use Azure tags in conjunction with naming conventions to add more context and metadata to resources.
  3. Documentation: Document your naming conventions and ensure they are easily accessible to all team members. This practice will aid in onboarding new team members and maintaining consistency across projects.


Implementing a robust naming convention for your Azure resources can significantly improve your cloud infrastructure’s manageability and clarity. By following these best practices and adapting them to fit your organization’s needs, you’ll be better equipped to handle resource management efficiently and effectively.

For more detailed guidelines and a comprehensive list of resource abbreviations, refer to the official Azure Resource Naming Best Practices.

Related Articles

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.