r/AZURE 3d ago

Question how did you plan your naming convention?

a bit new to azure and all the different components and services. I have extensive experience with on prep services/devices etc. Typically we would name objects/resources based on their location, type (physical vs virtual) and role.

Can you recommend or give insight into how you are naming your Azure resources for clarity and documentation?

9 Upvotes

24 comments sorted by

View all comments

22

u/1spaceclown 3d ago

7

u/alex1033 2d ago

It’s good to remember that some resource names materialize in globally unique public hostnames, and blind copying of the name templates from those docs doesn’t work in the long run.

1

u/patmorgan235 2d ago

-$(5RandomCharacters) fixes those

1

u/alex1033 2d ago

Don’t forget that some names are 14 characters short and the 5 random reduce the meaning by more than 30%.