0
0
AzureConceptBeginner · 3 min read

Azure Blob Access Tiers: What They Are and How to Use Them

Azure Blob Storage uses access tiers to help manage costs by storing data at different levels based on how often it is accessed. The main tiers are Hot, Cool, and Archive, each designed for different access patterns and storage durations.
⚙️

How It Works

Think of Azure Blob access tiers like different shelves in a library. The Hot tier is like the shelf closest to you, where books you read often are kept for quick access. The Cool tier is a bit farther away, for books you read less often but still want available without delay. The Archive tier is like a storage room for books you rarely need, so it takes longer to get them but costs less to keep.

When you store data in Azure Blob Storage, you choose an access tier based on how often you expect to read or write that data. The Hot tier costs more to store but less to access, while the Archive tier costs very little to store but more to retrieve. This helps you save money by matching storage costs to your data usage.

💻

Example

This example shows how to set the access tier of a blob to Cool using Azure CLI.

bash
az storage blob set-tier --container-name mycontainer --name myblob.txt --tier Cool --account-name mystorageaccount
Output
Blob tier set to 'Cool' successfully.
🎯

When to Use

Use the Hot tier for data you access frequently, like active files or databases. The Cool tier is good for data accessed less often, such as backups or older documents. The Archive tier fits data you rarely need but must keep long-term, like compliance records or historical logs.

Choosing the right tier helps balance cost and performance. For example, a company might keep daily reports in Hot, monthly backups in Cool, and yearly archives in Archive.

Key Points

  • Hot tier: highest storage cost, lowest access cost, for frequent access.
  • Cool tier: lower storage cost, higher access cost, for infrequent access.
  • Archive tier: lowest storage cost, highest access cost and latency, for rarely accessed data.
  • You can change a blob's tier anytime to optimize costs.
  • Accessing Archive tier blobs requires rehydration, which takes time.

Key Takeaways

Azure Blob access tiers help optimize storage costs based on data access frequency.
Hot tier is for frequent access, Cool for infrequent, and Archive for rare access.
You can change blob tiers anytime to balance cost and performance.
Archive tier data retrieval takes longer due to rehydration.
Choosing the right tier saves money and fits your data usage patterns.