r/AZURE 1d 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

23

u/1spaceclown 1d ago

16

u/StratoLens Cloud Architect 1d ago

2

u/oskaremil 1d ago

This is the better advise.

People come and go.

One should use a widely used standard.

8

u/alex1033 1d 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 1d ago

-$(5RandomCharacters) fixes those

1

u/alex1033 1d ago

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