You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Azure Storage provides massively scalable, durable, and highly available cloud storage. A single storage account gives you access to four distinct storage services, each designed for a different use case.
A storage account is the top-level resource for Azure Storage. It provides a unique namespace for your data, accessible from anywhere via HTTP or HTTPS.
az storage account create \
--name mystorageaccount \
--resource-group rg-demo \
--location uksouth \
--sku Standard_LRS
| Type | Services | Use Case |
|---|---|---|
| Standard general-purpose v2 | Blob, File, Queue, Table | Most workloads (recommended default) |
| Premium block blobs | Blob (block blobs only) | High-transaction-rate workloads |
| Premium file shares | File (Azure Files only) | Enterprise file shares requiring high IOPS |
| Premium page blobs | Blob (page blobs only) | Unmanaged VM disks (legacy) |
Blob (Binary Large Object) storage is optimised for storing massive amounts of unstructured data — images, videos, documents, backups, logs.
| Type | Description |
|---|---|
| Block blobs | Store text and binary data. Best for files uploaded in blocks (images, documents). Up to 190.7 TiB. |
| Append blobs | Optimised for append operations. Ideal for logging. |
| Page blobs | Random read/write operations. Used for VHD files (VM disks). Up to 8 TiB. |
Blobs are organised into containers (similar to folders). A storage account can have unlimited containers, and each container can hold unlimited blobs.
Storage Account: mystorageaccount
|
|-- Container: images
| |-- photo1.jpg
| |-- photo2.png
|
|-- Container: logs
|-- app-2024-01-01.log
| Tier | Access Cost | Storage Cost | Best For |
|---|---|---|---|
| Hot | Lowest | Highest | Frequently accessed data |
| Cool | Moderate | Lower | Infrequently accessed (min 30-day retention) |
| Cold | Higher | Even lower | Rarely accessed (min 90-day retention) |
| Archive | Highest (requires rehydration) | Lowest | Long-term archival (min 180-day retention) |
You can set lifecycle management policies to automatically move blobs between tiers based on age or last access time.
Azure Files provides fully managed file shares accessible via the SMB (Server Message Block) and NFS (Network File System) protocols.
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.