Lesson 1 of 5 Azure Storage Accounts

Creating and Configuring Storage Accounts

A storage account's type and settings decide performance, cost and security for all its services. This lesson explains the account types and creation settings.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish between Standard general-purpose v2 and the premium account types.
  • Describe the main creation settings and which ones cannot be changed later.
  • Choose a storage account type for a workload.

Account types

Standard general-purpose v2 is the default account type. It supports blobs (including Data Lake Storage), files, queues and tables, every redundancy option and the Hot, Cool, Cold and Archive tiers, on HDD-based storage. Premium accounts use SSDs for low, consistent latency and come in three kinds, each for one service: premium block blobs for high transaction rates or small objects, premium file shares for enterprise file shares and NFS, and premium page blobs for page blob workloads. Premium accounts support LRS and ZRS only. Legacy general-purpose v1 and Blob Storage accounts should be upgraded to general-purpose v2.

Account typeServicesRedundancy
Standard general-purpose v2Blob, Data Lake Storage, Files, Queue, TableLRS, ZRS, GRS, RA-GRS, GZRS, RA-GZRS
Premium block blobsBlob, Data Lake StorageLRS, ZRS
Premium file sharesAzure Files (SMB and NFS)LRS, ZRS
Premium page blobsPage blobsLRS

The following diagram matches two storage needs, a low-latency NFS share and rarely read logs, to the account type that suits each.

Two storage needs, two account types. An NFS 4.1 share with sub-millisecond latency needs a premium file shares account, because NFS shares require premium file storage. Rarely read logs go to a Standard general-purpose v2 account with LRS and a lifecycle rule to Cool or Cold; a premium block blob account would cost more.
The scenario is illustrative.
Sort into groups

Which account type?

Exam skills 2.2.1

Choose the storage account type for each workload.

Log in to try this activity Interactive activities are free with an account.

Creation settings

The Basics tab sets the subscription, resource group, a globally unique name (3 to 24 lowercase letters and numbers, used in endpoints such as https://stcontoso.blob.core.windows.net), the region, the performance (Standard or Premium, plus the premium account kind) and the redundancy. Performance cannot be changed later; moving between Standard and Premium means copying the data to a new account.

The Advanced tab holds security and feature settings: Require secure transfer (HTTPS only, on by default), Allow enabling anonymous access on individual containers (off by default), Enable storage account key access, Default to Microsoft Entra authorization in the Azure portal, Minimum TLS version (1.2), hierarchical namespace for Data Lake Storage, SFTP and NFS v3 for blobs, and the default access tier (Hot, Cool or Cold). The Networking, Data protection and Encryption tabs are covered in their own topics. Most settings can be changed later on the account's Configuration page, except performance, account kind and infrastructure encryption.

True or false

Settings you choose at creation

Exam skills 2.2.1

Check which storage account settings can be changed after creation.

Log in to try this activity Interactive activities are free with an account.

Endpoints and naming

Each service has its own endpoint: blob, dfs (Data Lake Storage), file, queue, table and web (static website), all under core.windows.net. Because names are global, a naming convention such as st<workload><env><region><nn> avoids conflicts. Azure DNS zone endpoints can be chosen for accounts that need very high numbers of accounts per subscription.

Match the pairs

Service endpoints

Exam skills 2.2.1

Match each workload with the endpoint it uses.

Log in to try this activity Interactive activities are free with an account.
Worked example

Choosing an account type

A team needs an NFS 4.1 file share for Linux VMs with consistent sub-millisecond latency, and a separate store for application logs written as blobs that are rarely read after a week. Costs must be minimized. Which storage accounts should you create?

Create a premium file shares account for the NFS share, because NFS shares require premium file storage and premium shares provide the latency. Create a Standard general-purpose v2 account with LRS for the logs, with a lifecycle rule moving them to Cool or Cold. A premium block blob account would cost more for rarely read logs, and a single general-purpose v2 account cannot host NFS file shares.

Check yourself

Can a Standard general-purpose v2 account be changed to Premium performance?

Show answer

No. Performance is fixed at creation; moving to Premium means creating a new account and copying the data.

Exam Tips

Remember for the exam

  • Default choice: Standard general-purpose v2.
  • Premium accounts are single-service and support LRS and ZRS only.
  • Performance cannot be changed after creation.
  • Storage account names are global, 3 to 24 lowercase letters and numbers.