Home Microsoft AzureAzure Blob Storage Tiers: Hot, Cool, and Archive Guide

Azure Blob Storage Tiers: Hot, Cool, and Archive Guide

by Knowledge Base Linux
Azure Blob storage tiers arranging cloud blobs in hot glowing, cool blue, and cold archive vault tiers

Storing every blob in the same tier is like keeping every document in a safe-deposit box: secure, but expensive for data you rarely open and slow to retrieve when you do need it. Azure Blob storage tiers let you price data by how often you access it, from Hot storage for active data to Archive storage for data you may never read again, with Cool and Cold tiers in between.

Azure Blob storage tiers migrating data files between hot, cool, and archive tiers with a clock and cost gauge

This guide compares Azure Blob storage tiers in practical terms: what each tier costs and how it retrieves, how to set tiers at upload and afterwards, lifecycle management for automatic movement, and the rehydration and early-deletion charges that surprise people. If you manage Azure secrets, see our Azure Key Vault guide, and for deploying apps on Azure, our Azure App Service guide.

Prerequisites

  • An Azure subscription, a storage account, and the Azure CLI installed and logged in, or access to the Azure Portal.
  • A test container with sample blobs you can move between tiers without affecting production data.
  • A rough access pattern for your data: what is accessed daily, monthly, rarely, or almost never.

Azure Blob Storage Tiers Compared

Hot tier storage costs the most per gigabyte but has the lowest access cost, and it is the right choice for data accessed frequently: active website assets, working datasets, and application data. Cool tier costs less to store and more to access, and suits data stored at least 30 days and accessed infrequently: monthly reports, backups kept for a quarter, and infrequently read media. Cold tier, where available, sits between Cool and Archive for data kept at least 90 days with rare access.

Archive tier is the cheapest storage and the most expensive and slowest to retrieve, designed for data kept at least 180 days and accessed at most once or twice a year: compliance archives, long-term backups, and raw data you must retain but rarely read. Archive blobs must be rehydrated to Hot or Cool before they can be read, and rehydration takes hours, so never put data you might need urgently into Archive.

Setting Azure Blob Storage Tiers

Set the tier at upload time, or change it later per blob. The account default tier applies to new blobs unless you override it, so set the default to match the container’s dominant pattern and override the exceptions explicitly:

az storage account create \
  --name mystorageaccount \
  --resource-group my-rg \
  --sku Standard_LRS \
  --access-tier Cool
az storage blob upload \
  --account-name mystorageaccount \
  --container-name data \
  --name report.pdf \
  --file ./report.pdf \
  --tier Cool

Change a blob’s tier later without re-uploading it, and check the tier afterwards. Moving a blob to Archive is a one-way commitment in practice: rehydrating it back costs time and money, so move only data you are confident about.

az storage blob set-tier \
  --account-name mystorageaccount \
  --container-name data \
  --name old-report.pdf \
  --tier Cool
az storage blob show \
  --account-name mystorageaccount \
  --container-name data \
  --name old-report.pdf \
  --query "properties.blobTier"

Lifecycle Management for Azure Blob Storage Tiers

Manual tier changes do not scale, so use lifecycle management policies to move blobs automatically by age, prefix, or blob type. A policy can move blobs to Cool after 30 days, to Archive after 180 days, and delete them after a retention period, with different rules for base blobs and snapshots. Define the policy in JSON, apply it to the storage account, and test it on a container with disposable data first:

{
  "rules": [
    {
      "name": "age-based-tiers",
      "enabled": true,
      "type": "Lifecycle",
      "definition": {
        "filters": { "blobTypes": ["blockBlob"], "prefixMatch": ["data/"] },
        "actions": {
          "baseBlob": {
            "tierToCool": { "daysAfterModificationGreaterThan": 30 },
            "tierToArchive": { "daysAfterModificationGreaterThan": 180 },
            "delete": { "daysAfterModificationGreaterThan": 365 }
          }
        }
      }
    }
  ]
}

Note that lifecycle actions use days after last modification, not days after creation, so a blob that is rewritten restarts its clock. Also, lifecycle policies run once a day, so allow 24 hours before judging whether a rule worked.

Rehydration, Early Deletion, and Cost Traps

Rehydrating an Archive blob copies it to Hot or Cool, and you choose the priority: Standard priority takes up to 15 hours and costs less, High priority takes under an hour and costs more. While rehydration is running, the blob is still in Archive and cannot be read until the copy completes. Plan rehydration into any restore procedure, and never promise a same-day restore from Archive without checking the priority and the time window.

Early deletion is the other trap: Cool, Cold, and Archive tiers have minimum storage durations of 30, 90, and 180 days respectively. Deleting or moving a blob before its minimum period still bills for the full minimum, so a lifecycle rule that deletes Archive blobs after 90 days wastes money. Match your retention periods to the tier’s minimum, and check the storage account’s metrics by tier to see where the bill actually comes from.

Troubleshooting Azure Blob Storage Tiers

A blob cannot be read. Check its tier: Archive blobs must be rehydrated first. Also check access tier versus account kind: Archive is only available on certain account types, and premium block blob accounts do not support tiering the same way.

Lifecycle rules are not moving blobs. Wait 24 hours, check that the rule is enabled, the prefix matches exactly, and the blob type is included. Blobs with a legal hold or an active lease are skipped, and blobs already in the target tier are not counted as moved.

Costs rose after moving to a cheaper tier. Look at access costs, not just storage costs: an application that reads Cool blobs frequently can cost more than Hot storage would have. Use Azure Cost Management filtered by storage tier, and consider moving frequently read blobs back to Hot.

Rehydration is stuck. Check the copy status on the blob and the priority you chose. Standard rehydration can take many hours; if you need it sooner, start a new High-priority rehydration rather than waiting for the Standard copy to finish.

Azure Blob Storage Tiers Best Practices

Start with Hot for unknown data, measure actual access for a month, then set lifecycle rules based on evidence rather than guesses. Keep retention periods longer than each tier’s minimum duration, separate containers by access pattern so rules stay simple, and document the tier strategy so a future restore does not become a surprise. Review tier distribution quarterly, because access patterns change as projects age.

Azure Blob storage tiers reward data you understand: put active data in Hot, infrequent data in Cool or Cold, and true archives in Archive, and let lifecycle rules enforce the pattern automatically. For the official reference, see the Azure Blob access tiers documentation.

You may also like

KbLinux

Typically replies within a day

Hello, Welcome to the site. Please click below button for chatting me through Telegram.