In this azure tutorial, we will discuss about Azure storage types. Apart from this, we will also discuss on below topics
- Azure storage architecture
- Azure storage tiers
- How to switch between storage tiers in Azure
- Azure storage type for VM
Table of Contents
Azure storage types
Before discussing the Azure storage types, let’s discuss little bit about an Azure storage account.
An Azure storage account is something that contains all the Azure storage data objects. The Azure storage data objects are like blobs, files, queues, tables, and disks, etc.
Once you store the data inside the Azure storage account that becomes more secure, scalable, durable, and highly available.
Azure storage account helps you providing a unique namespace for your Azure storage data and another important thing is that with the help of the unique namespace your Azure storage data is accessible from anywhere in the world over HTTP or HTTPS.
To create a storage account in the Azure portal, you can refer to my article on Create storage account.
Below are different storage types in Azure
- File
- Blob
- Queue
- Disks
- Table
Azure File storage
This storage feature offers regular file shares in the cloud or on-premises environments.
The Azure file storage features uses the standard Server Message Block (SMB) protocol.
This storage is also designed to support the file shares between the virtual machines or can store files there that can be accessed from different Virtual Machines.
This act like a local file share. It is a great solution for moving your local file shares to the cloud as well as “lifting and shifting” data to the cloud.
Azure File Storage Pricing
For LRS Redundancy, the price for Azure file storage is as below
LRS Redundancy
Premium | Standard | |
GiB/month | ₹22.209 per provisioned GiB | ₹4.363 per used GiB |
Snapshots GiB/month | ₹18.507 perused GiB | ₹4.363 per used GiB |
Operations and Data Transfer prices
Standard | Premium | |
Put, Create Container Operations (per 10,000) | ₹0.9915 | Free |
List Operations (per 10,000) | ₹0.9915 | Free |
All other operations except Delete, which is free (per 10,000) | ₹0.0992 | Free |
Geo-Replication Data Transfer (per GiB) | N/A | Free |
ZRS Redundancy
Premium | Standard | |
GiB/month | N/A | ₹5.453 per used GiB |
Snapshots GiB/month | N/A | ₹5.453 per used GiB |
Operations and Data Transfer prices
Standard | Premium | |
Put, Create Container Operations (per 10,000) | ₹1.2394 | Free |
List Operations (per 10,000) | ₹0.9915 | Free |
All other operations except Delete, which is free (per 10,000) | ₹0.0992 | Free |
Geo-Replication Data Transfer (per GiB) | N/A | Free |
For more details you can refer to Microsoft official site
Azure Blob storage
Azure Blob storage allows to store unstructured data. We can store massive data like text files, images, audios, and videos, media files, or application installers, etc.
These data can be accessed from any place via protocols like HTTP or HTTPS.
Azure Blob storage allows to store data for disaster recovery, backup and archiving, videos for streaming, storing data for shared access.
There are three types of Azure blob storage
Block Blobs storage
These are small blocks with unique IDS.One block blob can contain up to 50,000 blocks.
Append Blobs storage
We cannot update or delete any existing blocks. In Block Blobs storage unique IDs are not kept secret but Here all the unique IDs are kept secret.
Page Blobs storage
The maximum size of a page blob is 8 TB.
Azure Blobs storage Pricing
For LRS Redundancy, the price for Azure Block Blobs storage is as below
Premium | HOT | COOL | ARCHIVE | |
First 50 terabyte (TB) / month | ₹13.88022 per GB | ₹1.3220 per GB | ₹1.00467 per GB | ₹0.13220 per GB |
Next 450 TB / month | ₹13.88022 per GB | ₹1.2691 per GB | ₹1.00467 per GB | ₹0.13220 per GB |
Over 500 TB / month | ₹13.88022 per GB | ₹1.2162 per GB | ₹1.00467 per GB | ₹0.13220 per GB |
Operations and Data Transfer prices
Premium | HOT | COOL | ARCHIVE | |
Write operations (per 10,000)1 | ₹1.6194 | ₹3.6353 | ₹6.6097 | ₹7.9316 |
List and Create Container Operations | ₹4.6268 | ₹3.6353 | ₹3.6353 | ₹3.6353 |
Read operations (per 10,000) | ₹0.1296 | ₹0.2909 | ₹0.6610 | ₹396.5775 |
Archive High Priority Read (per 10,000)5 | ₹4,626.7375 | |||
All other Operations (per 10,000), except Delete, which is free | ₹0.1296 | ₹0.2909 | ₹0.2909 | ₹0.2909 |
Data Retrieval (per GB) | Free | Free | ₹0.6610 | ₹1.5864 |
Archive High Priority Retrieval (per GB)5 | ₹9.2535 | |||
Data Write (per GB)4 | Free | Free | Free | Free |
For more details you can refer to Microsoft official site
Azure Queue storage
Azure Queue storage is a service that can store large numbers of messages that can be accessed from anywhere in the world using HTTP or HTTPS.
The size of a queue message can be up to 64 KB.
Azure Queue storage Pricing
STORAGE CAPACITY | LRS | GRS | RA-GRS |
Storage in GB/Month | ₹3.2718 per GB | ₹4.3624 per GB | ₹5.4530 per GB |
Operations and data transfer prices
LRS | GRS | RA-GRS | |
Queue Class 1* operations (in 10,000) | ₹0.0238 | ₹0.0238 | ₹0.0238 |
Queue Class 2** operations (in 10,000) | ₹0.0238 | ₹0.0238 | ₹0.0238 |
Geo-replication data transfer (per GB) | N/A | Free | Free |
Azure Disks storage
This is a virtual hard disk which behaves almost similarly like a physical hard disk.
Azure Disks storage is of two types
- Managed
- Unmanaged
In case of managed disks storage, we can have one storage account for each Azure region.
In the case of Unmanaged disks storage, We need to have storage accounts that can hold the disks for the Azure virtual machine.
There are four types of managed disks
- Ultra SSD Managed Disks
- Premium SSD Managed Disks
- Standard SSD Managed Disks
- Standard HDD Managed Disks
Azure Disks storage pricing
DISK SIZE | PRICE PER MONTH | 1-YEAR PRICE | IOPS PER DISK | THROUGHPUT PER DISKPRICE | |
P1 | 4 GiB | ₹55.53 | N/A | Up to 3,500 Provisioned 120 | Up to 170 MB/second Provisioned 25 MB/second |
P2 | 8 GiB | ₹111.05 | N/A | Up to 3,500 Provisioned 120 | Up to 170 MB/second Provisioned 25 MB/second |
P3 | 16 GiB | ₹222.09 | N/A | Up to 3,500 Provisioned 120 | Up to 170 MB/second Provisioned 25 MB/second |
P4 | 32 GiB | ₹348.96 | N/A | Up to 3,500 Provisioned 120 | Up to 170 MB/second Provisioned 25 MB/second |
P6 | 64 GiB | ₹674.65 | N/A | Up to 3,500 Provisioned 120 | Up to 170 MB/second Provisioned 25 MB/second |
P10 | 128 GiB | ₹1,302.76 | N/A | Up to 3,500 Provisioned 120 | Up to 170 MB/second Provisioned 25 MB/second |
P15 | 256 GiB | ₹2,512.47 | N/A | Up to 3,500 Provisioned 120 | Up to 170 MB/second Provisioned 25 MB/second |
P20 | 512 GiB | ₹4,839.57 | N/A | Up to 3,500 Provisioned 120 | Up to 170 MB/second Provisioned 25 MB/second |
P30 | 1 TiB | ₹8,934.24 | ₹8,487.8604 | 5,000 | 200 MB/second |
P40 | 2 TiB | ₹17,121.95 | ₹16,265.1854 | 7,500 | 250 MB/second |
P50 | 4 TiB | ₹32,755.04 | ₹31,120.3175 | 7,500 | 250 MB/second |
P60 | 8 TiB | ₹62,532.35 | ₹59,404.0047 | 16,000 | 500 MB/second |
P70 | 16 TiB | ₹1,19,109.41 | ₹1,13,156.78 | 18,000 | 750 MB/second |
P80 | 32 TiB | ₹2,38,218.16 | ₹2,26,308.0522 | 20,000 | 900 MB/second |
For more details you can refer to Microsoft official site
Azure Table storage
The Azure Table storage allows to store structured data. It stores NoSQL data.
This service allows to store structured, non-relational data.
Azure Table Storage Pricing
STORAGE CAPACITY | LRS | GRS | RA-GRS | ZRS | GZRS | RA-GZRS |
Storage in GB/Month | ₹3.2718 per GB | ₹4.3624 per GB | ₹5.4530 p GB | ₹4.0848 p GB | N/A p GB | N/A p GB |
Operations and Data Transfer prices
It is ₹0.023795 per 10,000 transactions for tables
Azure storage tiers
Azure storage offers three types of access tiers
- Hot access tiers
- Cool access tiers
- Archive access tiers
Hot access tiers
- Hot access tier is used in case of the data that are frequently used or read and write very frequently.
- For this tier, the storage costs are higher compare to cool and Archive access tiers but the access cost is less.
- Hot access tier can be set at the account level.
Cool access tiers
- Cool access tier is used in case of the data that are not used very frequently.
- Here in case of cool access tiers, the storage cost is less and the access cost is more compare to Hot access tiers.
- Intended for short-term backup and disaster recovery data and the data will remain here at least for 30 days.
- Lower SLA (99%) compare to the hot access tier(99.99%).
- Here the price calculation is based on per GB data.
Archive access tiers
- Archive access tier is used to store various rarely used data or archival data, etc.
- This service has the lowest storage cost compare to hot and cool access tiers. This is the cheapest one in terms of storage cost but the data retrieval costs are more.
- Data will remain in the archive tier for at least 180 days.
- Intended for Long-term backup, secondary backup, and archival data.
These are the three data tiers that are supported in General Purpose storage V2 and Blob storage accounts.
How to switch between storage tiers in Azure
We can switch between the storage tiers in Azure. Let’s discuss on what are the steps to switch between the storage tiers.
One more important thing to note here is that the Hot and Cool tiers can be enabled at the storage account level or at the blob level but the Archive tier can only be enabled at the blob level.
To switch the storage access tier, follow the below steps
Step-1: Login to the Azure portal and search for the storage accounts then click on the Storage accounts (classic).
Step-2: On the Storage accounts (classic) page, click on the storage account for which you want to switch the storage tiers.
Step-3: On the Storage account page, click on the Configuration link from the left navigation.
Now select the Access tier (default) option from Hot to Cool and then click on the Save button to apply the changes.
Step-4: Now to cross-check the changes are done successfully, you can browse the storage account and click on the Configuration link to check the option. You can see below the Access tier has been changed from Hot to Cool.
To switch the tier of a specific blob inside the storage account, click on the Containers under the Blob service
Click on the container name and select the blob from inside the container and then click on the Change tier from the top menu or from the (…) three-dot button.
Now on the Change tier window, select the appropriate tier from the Access tier option and click on the Save button to apply the changes,
If you want to change tier to Archive, you will get a warning message “Setting the access tier to Archive will make your blob inaccessible until it is rehydrated back to Hot or Cool, which may take several hours”. You can select the Archive option and then click on the Save button to apply the changes.
You can see below the Access tier option has been changed to Archive for a specific blob inside the storage account
Azure storage architecture
The Azure storage access architecture contains three layers
- Front End Layer
- Partition Layer
- Stream Layer
We can access the Blob/Disk, Table, Queue storage type with the help of REST API and File Share can be accessed by REST API and SMB protocols. These are part of the Front End Layer.
The responsibility of the Front-End layer is to receive incoming requests, their authentication, and authorization, and then delivers them to the Partition layer
Auto Balancing Layer is nothing but the Partition layer that is present in between the front end layer and the replication layer.
Replication layer is the lowest layer as part of the Azure storage architecture. This is nothing but the Stream layer.
- All the services reside inside the storage account. Blob services, Table services, Queue services, File services are the part of Storage account.
- We have containers inside Blob services and again inside the Containers Blobs resides.
- Tables are present inside the Table services again inside tables we have the data in the form of Entities.
- Next, we have Queues inside the Queue services and again Messages are present inside the Queues.
- File Shares are there inside the File services and Files are the part of File shares.
Azure storage type for VM
Let’s discuss here about the Azure storage types for the virtual machine.
Microsoft provides three types of storage for the virtual machine
- Standard HDD Storage
- Standard SSD Storage
- Premium SSD Storage
Standard HDD Storage
- Standard HDD Storage is like a traditional hard disk model and offered as unmanaged Standard HDD storage.
- For standard HDD storage, Microsoft charges based on the amount of storage consumed.
Standard SSD Storage
- Standard SSD storage is like Solid State Storage and offered as Managed disks.
- For Standard SSD storage, Microsoft charges based on the amount of storage allocated.
Premium SSD Storage
- Premium SSD storage is also like Solid State Storage.
- Only Premium Storage capable virtual machines support attaching Premium SSD Storage to them.
One important thing you need to keep in mind is that all Managed disk is charged by the amount of space allocated, but the Unmanaged HDD storage is only charged for the amount of space consumed.
These are the four Azure storage type provided by Microsoft in case of the virtual machines.
You may like following Azure tutorials:
- Method ‘get_serializationsettings’ in type ‘microsoft.azure.management
- No match was found for the specified search criteria and module name ‘AzureRM’
Conclusion
In this tutorial, we learned the below things:
- Azure storage architecture
- Azure storage tiers
- How to switch between storage tiers in Azure
- Azure storage type for VM