Cloud Intermediate
Azure Blob Storage — Object Storage¶
AzureBlob StorageStorageLifecycle 5 min read
Blob Storage access tiers, lifecycle management, SAS tokens and immutable storage.
Access Tiers¶
- Hot — frequent access
- Cool — minimum 30 days
- Cold — minimum 90 days
- Archive — minimum 180 days, rehydration takes hours
SAS Tokens¶
az storage blob generate-sas \
--account-name mystorage --container-name uploads \
--name "doc.pdf" --permissions r \
--expiry 2026-02-15T00:00:00Z --https-only
Minimal permissions, short expiry, IP whitelist, HTTPS only.
Lifecycle Management¶
{
"rules": [{"name":"archive","type":"Lifecycle","definition":{
"actions":{"baseBlob":{
"tierToCool":{"daysAfterModificationGreaterThan":30},
"tierToArchive":{"daysAfterModificationGreaterThan":180}
}},
"filters":{"blobTypes":["blockBlob"],"prefixMatch":["logs/"]}
}}]
}
Summary¶
The right combination of tiers + lifecycle = 80%+ savings on storage.
Need Help with Implementation?¶
Our team has experience designing and implementing modern architectures. We’re happy to help.