4.1.1. Azure Blob Storage
💡 First Principle: Azure Blob Storage is a massively scalable object storage service for unstructured data. Think of it as infinite shelf space where you can store any file—the service doesn't care what's inside. Its core purpose is providing a cost-effective and durable solution for storing vast amounts of data like documents, images, videos, and backups.
What It Is: A service for storing large amounts of unstructured data (data that doesn't adhere to a particular data model or definition), such as text or binary data.
Blob Types
💡 First Principle: Blob Storage offers three types of blobs optimized for different storage and access patterns—choosing the wrong type creates unnecessary costs or performance problems.
- Block Blobs: Optimized for storing discrete files (images, documents, videos). The most common type. Uploaded in blocks.
- Append Blobs: Optimized for append operations. New data can only be added to the end. Ideal for logging scenarios.
- Page Blobs: Optimized for random read/write operations. Used for virtual machine disks (VHDs).
Access Tiers
💡 First Principle: Access tiers allow you to balance storage costs against access costs and latency requirements, matching the lifecycle of your data. The trade-off is simple: cheaper storage means more expensive (or slower) access.
| Tier | Best For... | Min. Retention | Availability | Cost Pattern |
|---|---|---|---|---|
| Hot | Frequent access, active data | None | Online (Immediate) | High storage, Low access |
| Cool | Infrequent access (scanned 1x/mo) | 30 Days | Online (Immediate) | Lower storage, Higher access |
| Cold | Very infrequent access | 90 Days | Online (Immediate) | Even lower storage, Very high access |
| Archive | Rarely accessed, long-term (7+ yrs) | 180 Days | Offline (Hours) | Lowest storage, Highest access |