User Rating 0.0
Total Usage 0 times
Abbreviation: vm | Max: 64

Generated Resource Name

vm-myapp-dev-weu-001
Valid CAF Naming
Length 20 / 64
Resource Virtual Machine

Naming Pattern: vm-[app]-[env]-[region]-[instance]

Note: Changes are applied automatically. Invalid characters for the selected resource type will be stripped or flagged.

Is this tool helpful?

Your feedback helps us improve.

About

This tool automates the creation of Azure Resource Names strictly adhering to the Microsoft Cloud Adoption Framework (CAF). Naming resources in the cloud is not merely aesthetic; it is a critical governance practice. Inconsistent naming leads to resource conflicts, security ambiguity, and deployment failures.

Unlike simple string concatenators, this generator implements the specific validation logic for each Azure resource type. For instance, a Storage Account is limited to 24 characters with no hyphens, while a Virtual Machine allows up to 64 characters with hyphens. We handle these edge cases automatically using the official abbreviation standards.

azure cloud naming-convention devops caf

Formulas

The standard naming pattern follows the Scope-Specific format defined by Microsoft:

Name = Resource + App + Env + Region + Instance

However, specific constraints apply conditionally:

{
Standard: res-app-env-loc-##Storage/ACR: lowercase(resappenvloc##)
Where:
res = Resource Type Abbreviation
app = Workload/Application Name
env = Environment (dev, prod, stg)
loc = Azure Region (e.g., weu, eus)
## = Instance Number (001, 002)

Reference Data

Resource TypeAbbreviation (res)Max LengthHyphens Allowed?
Virtual Machinevm64YES
Storage Accountst24NO
Key Vaultkv24YES
App Serviceapp60YES
Function Appfunc60YES
SQL Serversql63YES
Virtual Networkvnet64YES
Resource Grouprg90YES
Container Registryacr50NO
Cosmos DB Accountcos44YES
Public IP Addresspip80YES
Network Interfacenic80YES
Application Gatewayagw80YES
Bastion Hostbas64YES
Log Analytics Workspacelog63YES

Frequently Asked Questions

Azure Storage Accounts must have globally unique DNS names (e.g., mystorage.blob.core.windows.net). The DNS standard used by Azure for these legacy endpoints supports only lowercase letters and numbers to ensure compatibility and prevent ambiguity across the global namespace.
It varies significantly. Virtual Machines allow 64 characters, while Storage Accounts allow only 24. Key Vaults are also restricted to 24. This tool automatically validates your input against the specific limit for the selected resource type.
This tool uses the official Microsoft Cloud Adoption Framework (CAF) abbreviations by default. While you can type custom values into the text fields, the "Resource Type" selector will populate the standard prefix (e.g., "vm", "st", 'kv') to ensure compliance.
It is best practice to shorten regions to reduce character count. Common mappings include: West Europe -> "weu", East US -> "eus", North Europe -> "neu", UK South -> "uks".
The tool will display a visual error. You must shorten the variable components (Application Name or Project Code) to fit. For strictly limited resources like Storage Accounts, prioritize conciseness over descriptiveness.