Designing Blob Access Tiers and Data Lakes
This lesson explains access tiers, lifecycle automation and the hierarchical namespace.
Learning outcomes
After completing this lesson, you will be able to:
- Compare the Hot, Cool, Cold and Archive tiers.
- Choose between lifecycle management and smart tier.
- Explain what a hierarchical namespace adds and excludes.
Access tiers
Storage cost involves two opposing elements: the price of storing data and the price of accessing it. Access tiers let an architect shift between them according to how often data is used.
Hot
Hot has the highest storage cost and the lowest access cost. It suits data in active use. It has no minimum retention period.
Cool
Cool has a lower storage cost but higher access charges, with a 30-day minimum retention period. It suits data that is read infrequently, such as short-term backups.
Cold
Cold has a lower storage cost than Cool, with higher access charges and a 90-day minimum retention period. Like Hot and Cool, it remains online with millisecond access.
Archive
Archive is the cheapest tier for storage, with a 180-day minimum retention period, but data is offline. To read an archived blob, it must first be rehydrated to an online tier, which can take up to 15 hours at standard priority. Archive cannot be the default account tier, and it is supported for LRS, GRS and RA-GRS accounts, not for ZRS or GZRS accounts.
Deleting or moving a blob before its minimum retention period ends incurs an early deletion charge. The following table recaps the tiers.
| Tier | Minimum retention | Availability of data | Typical use |
|---|---|---|---|
| Hot | None | Online | Frequently accessed data |
| Cool | 30 days | Online | Infrequently accessed data |
| Cold | 90 days | Online | Rarely accessed data that must remain immediate |
| Archive | 180 days | Offline, needs rehydration | Long-term retention |
Choose the access tier
Automating movement between tiers
Moving data by hand is impractical at scale. Lifecycle management policies automatically move or delete blobs according to rules, such as moving a blob to Cool 30 days after it was last modified, to Archive after 180 days and deleting it after seven years. With last access time tracking enabled, rules can be based on when a blob was last read rather than written.
Smart tier offers a simpler alternative, in which Azure moves data automatically among Hot, Cool and Cold according to use: data moves to Cool after 30 days of inactivity, and then to Cold after another 60 days. It is generally available in public regions with zone redundancy, and it needs a general-purpose v2 account with zone redundancy (ZRS, GZRS or RA-GZRS). It suits data with unknown or changing access patterns, whereas lifecycle policies suit data with known patterns.
The following diagram shows how a lifecycle policy moves 500 TB of video between access tiers over its life.

Policies or smart tier?
Data Lake Storage
A data lake holds raw and processed data for analytics. Azure Data Lake Storage is a set of capabilities on Blob Storage, enabled by the hierarchical namespace on a general-purpose v2 or premium block blob account. A flat blob namespace only simulates folders, so renaming a folder requires touching every blob. A hierarchical namespace provides real directories, so such operations are atomic and fast, which strongly benefits analytics engines.
The namespace also supports POSIX-style access control lists, so that access can be set on individual directories and files for engines such as Azure Databricks and Microsoft Fabric. Microsoft recommends ZRS for Data Lake Storage workloads. Not everything is available on a hierarchical namespace account: blob versioning, point-in-time restore and object replication are not supported, so a design should check its protection requirements before enabling it.
Hierarchical namespace
SFTP access to Blob Storage
Many partners still exchange files over the SSH File Transfer Protocol (SFTP). Blob Storage can accept SFTP connections directly on port 22, which avoids running and patching an SFTP server on a virtual machine. SFTP requires the hierarchical namespace, so it is available on Data Lake Storage accounts. Enabling SFTP is charged by the hour, so it can be enabled only during transfer windows to reduce cost.
Clients authenticate in one of two ways. Local users are defined on the storage account with an SSH key or an Azure-generated password, and receive permissions per container; they do not use Azure RBAC or ABAC. Microsoft Entra ID access uses short-lived OpenSSH certificates, so the same RBAC roles, ABAC conditions and access control lists that govern REST access also govern SFTP, and external partners can be invited as guests. Managed identities are not supported for SFTP. A requirement to replace an SFTP server with the least administration, for partners without Microsoft Entra accounts, therefore points to SFTP on Blob Storage with local users.
SFTP on Blob Storage
Balancing cost and access
A media company stores 500 TB of video. Files are read daily for 30 days after publication, then rarely. After a year they must be kept for seven years, for compliance, and they are almost never read, although a retrieval within a day is acceptable. Access patterns are known. The solution must minimize cost and effort. What should you recommend?
Known patterns point to a lifecycle management policy. Blobs start in Hot, then move to Cool or Cold after 30 days, then to Archive after a year, and are deleted after the retention period. Retrieval within a day is compatible with Archive, because rehydration takes hours.
The account must use LRS, GRS or RA-GRS for Archive to be available. Keeping all data in Hot would be far more expensive. Smart tier does not include Archive, so it would not reach the lowest cost for the seven-year period. Azure NetApp Files is a high-performance file service, and it would be unsuitable for low-cost retention.
What must happen before an application can read a blob in the Archive tier?
Show answer
It must be rehydrated to an online tier, which can take up to 15 hours at standard priority.
Exam Tips
Remember for the exam
- Minimum retention: Cool 30, Cold 90, Archive 180 days.
- Archive is offline; rehydration can take up to 15 hours at standard priority.
- Archive is not supported on ZRS or GZRS accounts.
- Lifecycle management suits known patterns; smart tier suits unknown ones and excludes Archive.
- A hierarchical namespace enables Data Lake Storage, but excludes versioning, object replication and point-in-time restore.