Exploring Azure Blob Storage: Types, Tiers, and Benefits

Azure Blob Storage is Microsoft's object storage solution, purpose-built for storing massive amounts of unstructured data such as images, videos, backups, and log files.

Types of Blobs

  • Block blobs — optimized for storing and streaming large files like documents, images, and videos
  • Append blobs — optimized for append-only operations, ideal for logging scenarios
  • Page blobs — optimized for frequent random read/write operations, used for VM disks

Access Tiers

  • Hot tier — for data accessed frequently, offering the lowest access cost
  • Cool tier — for infrequently accessed data stored for at least 30 days
  • Archive tier — for rarely accessed data stored for at least 180 days, with the lowest storage cost but higher retrieval latency

Key Benefits

  • Virtually unlimited scalability for unstructured data
  • Lifecycle management policies to automatically transition data between tiers
  • Strong durability through redundancy options like LRS, ZRS, and GRS
  • Native support for static website hosting directly from a container
Matching each blob to the right access tier is one of the easiest ways to cut storage costs — moving cold, rarely accessed data to Cool or Archive tiers can reduce costs dramatically over time.

Ready to master Microsoft Azure?

Join Microsoft Azure Training Course at Uncodemy and learn with hands-on projects and mentor support.

Explore the Course

How Blob Storage Is Organised

Everything sits inside a three-level hierarchy:

  1. Storage account: the top-level resource with a unique name, a region and a redundancy setting. Its name forms the endpoint, https://<account>.blob.core.windows.net.
  2. Container: a grouping of blobs, similar to a top-level folder, with its own access settings.
  3. Blob: the stored file. Names can contain slashes, such as invoices/north/inv-1042.pdf, which tools display as virtual folders. Enabling a hierarchical namespace turns the account into Data Lake Storage with real directories.

Besides Hot, Cool and Archive, there is also a Cold tier that sits between Cool and Archive. It suits data that is read rarely but must still be available immediately, and it has its own minimum storage period, longer than Cool's.

Worked Example: Upload, Change Tier, Automate

The Azure CLI covers the full flow. Using --auth-mode login means your signed-in identity and its role assignments are used instead of an account key.

az storage account create --name stshopmedia --resource-group rg-shop   --location centralindia --sku Standard_ZRS --kind StorageV2   --allow-blob-public-access false

az storage container create --account-name stshopmedia --name reports --auth-mode login

az storage blob upload --account-name stshopmedia --container-name reports   --name sales/q1.csv --file ./q1.csv --tier Cool --auth-mode login

az storage blob set-tier --account-name stshopmedia --container-name reports   --name sales/q1.csv --tier Archive --auth-mode login

Moving files by hand does not scale, so a lifecycle management policy can do it automatically based on age:

{
  "rules": [
    {
      "enabled": true,
      "name": "age-out-logs",
      "type": "Lifecycle",
      "definition": {
        "filters": { "blobTypes": [ "blockBlob" ], "prefixMatch": [ "logs/" ] },
        "actions": {
          "baseBlob": {
            "tierToCool":    { "daysAfterModificationGreaterThan": 30 },
            "tierToArchive": { "daysAfterModificationGreaterThan": 180 },
            "delete":        { "daysAfterModificationGreaterThan": 365 }
          }
        }
      }
    }
  ]
}
az storage account management-policy create --account-name stshopmedia   --resource-group rg-shop --policy @policy.json

Lifecycle runs are processed in the background, so tier changes may not happen at the exact moment a blob crosses the age threshold.

Reading From Archive

Archived blobs are offline. Before anyone can download one, you must rehydrate it by changing its tier back to Hot, Cool or Cold, or by copying it to an online tier. Rehydration can take hours, and a higher-priority option exists for urgent cases at extra cost. Plan for this delay: archive is right for compliance records and old backups, wrong for anything a user might click on.

Securing Blob Data and Avoiding Costly Mistakes

  • Keep anonymous access off at the account level unless you deliberately host public assets.
  • Prefer Microsoft Entra ID and RBAC roles such as Storage Blob Data Reader over sharing account keys.
  • Issue short-lived SAS tokens with the narrowest permissions, ideally user delegation SAS, when an outside client needs temporary access.
  • Turn on soft delete and versioning so accidental deletes and overwrites can be recovered.
  • Use private endpoints or firewall rules when only internal networks should reach the account.
  • Respect minimum storage periods. Moving or deleting a blob from Cool, Cold or Archive too early triggers an early deletion charge.
  • Watch transaction costs. Cooler tiers trade cheaper storage for more expensive reads, so frequently read data in a cool tier can cost more overall.