Azure Storage Account Basics

5 minute read

When you want to move your business to cloud the major thing to consider is storage. What kind of data you can store? What is the pricing? How can you optimize cost and performance? As a cloud architect its your responsibility to get this answers and propose a design. I will try to help to get the basics of Azure storage account in this article.

What kind of data you want to store in Cloud?

  • Images, Videos, Text Files, binary data
  • Tables
  • Files
  • Queue
  • Do you need Hard Disk in cloud to mount for your VM ? Disk storage you need.

To store above kind of data in Azure you need to create Azure Storage account.

Custom Domain for Azure Storage Account

Normally Azure storage account creates default endpoint given to you by Azure like: pricing.blob.core.windows.net. Azure Storage account is unique per domain. If you have 2 custom domains then you need 2 storage accounts.

Example: If you want to create sales.storage.com, pricing.storage.com then for each host name you need 2 new storage accounts.

How many types of Azure Storage Accounts are there?

There are 2 types of Azure storage accounts: Standard and Premium based on the performance requirement.

Notice: while creating storage account you have to choose standard or premium as per your performance need. Premium accounts are highly performance account with SSD disk and super fast accessible but costly option though.

Standard Storage Account

This is the recommended azure storage account. Azure Standard Account in old days used to be of 3 types (this is legacy now a days)

  • General Purpose V1
  • General Purpose V2 and
  • Blob account

Now a days,in Standard Storage Account we have only one type General Purpose V2.

General Purpose v2 (GPv2) Storage Account

This is the newest storage account. This supports all of the storage services: Blob, Azure Files, Queue, Page Blob and Disk, and Table. It also supports blob tiering. You can select a default hot or cool tier. It supports all kind of redundancy.

Premium Storage Account

Premium accounts are meant for very high performance use case. It has SSD disk and fast random access to file, data etc. Data in premium account can not be automatically transferred to standard account. You have to write backup and upload task to transfer data to other account.

Premium account are of 3 types: Block Blobs, File Shares and Page Blobs.

Premium account data has 2 types of redundancy strategies: LRS and ZRS.

πŸ›ŽοΈ Important
Azure Storage Premium account for Page blobs only supports LRS Redundancy as on now.

This is all about storage accounts. Next lets learn how data is stored in these storage accounts.

How data is stored in Azure Storage?

Most of the data is stored as blobs only.

  • SQL Data stored in Azure SQL Service
  • Azure Virtual Disk ( vhd files )
  • Image, video, media files
  • log, metrics data
  • Documents, pdf, text file
  • any unstructured data or binary data

They all are stored in Azure as blob only. Therefore, we must understand what is blob and how can we create categories of blobs to optimize for certain use cases.

Types of Blobs

Broadly there are 2 types of blobs:

  • Block Blobs and
  • Page Blobs

πŸ† Pro Tip

Append Blobs are basically block blobs optimized for append operations are heavily used for storing Log data.

Block Blobs

Image, Video file, Text file, binary data any kind of unstructured data is good for block blobs. Log data must be stored as append blobs only.

  • Ideal for storing Text and Binary Data.

  • A single block blob can contain up to 50,000 blocks of up to 100 MB each, for a total size of 4.75 TB

  • Append blobs are optimized for append operations (e.g. logging)

Page Blobs

  • Efficient for read/write operations
  • Used by Azure VMs
  • Up to 8 TB in size

Where Azure Page Blobs are used in real world?

  • Azure Disks Storage are persisted in Hyper-V VHD format and stored as a page blob in Azure Storage.
  • Azure SQL DB service which currently uses page blobs for storing SQL data, enabling fast random read-write operations for the database.
  • PaaS service for shared media access for collaborative video editing applications, page blobs enable fast access to random locations in the media.
  • Microsoft services like Azure Site Recovery, Azure Backup

Storage Access Tiers

In order to access data you have to pay money. In order to store data also you have to pay money. So if you want to not use some data and just keep for longer time then you must store them as archive in azure storage account. So lets learn what are the access tiers of storage account.

There are 3 tiers that you can store your data in storage account.

  • Hot
  • cold
  • Archive


πŸ›ŽοΈ Important
Azure premium account doesn’t have access tiers.

Hot Tier

  • Higher storage costs
  • Lower access costs

Cold Tier

  • Lower storage costs
  • Higher access costs
  • Intended for data that will remain cool for 30 days or more
  • If you try to access data earlier than 30 days you will have to pay the charges for that.

Archive Tier

  • Lowest storage costs
  • Highest retrieval costs
  • When a blob is in archive storage it is offline and cannot be read

When to use Blob, Files and Disk Storage?

Now we have many choice let me help you to understand when to use disk, files or blob storage account.

When to use Blobs Storage Account?

  • When your application wants to access data from anywhere.
  • Large amount of objects, images, videos etc.

When to use Files Storage Account?

  • When you want to access files from multiple instances of VMs.
  • Jumpbox for shared development scenarios.

When to use Disk Storage Account?

  • Do not need to access outside of VMs.
  • Lift-and-shift of machines from on-premises
  • Disk expansions for application installations.


Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.

πŸ’– Say πŸ‘‹ to me!
Rupesh Tiwari
Founder of Fullstack Master
Email: rupesh.tiwari.info@gmail.com
Website: RupeshTiwari.com