pillar | category | online version |
---|---|---|
Operational Excellence |
Resource naming |
Storage account names should use a standard prefix.
An effective naming convention allows operators to quickly identify resource type, associated workload, deployment environment and Azure region.
For storage accounts, the Cloud Adoption Framework recommends using the st
, stvm
, and dls
prefix.
Use of different prefixes depends on the intended usage of the storage account.
Requirements for storage account names:
- At least 3 characters, but no more than 24.
- Can include alphanumeric characters only.
- Storage account names must be global unique, because they directly relate to a DNS host name.
Consider creating storage accounts with a standard name. Additionally consider using Azure Policy to only permit creation using a standard naming convention.
This rule does not check if storage account names are unique.
To configure this rule:
- Override the
CAF_StoragePrefix
configuration value with an array of allowed prefixes. - Override
CAF_UseLowerNames
withfalse
to allow mixed case in resource names. By default only lower-case letters and other supported characters are allowed. This option affects all resource name rules.