Azure Storage
Azure Storage is Microsoft's cloud storage solution — massively scalable, highly available, and incredibly durable. Learn everything about the four storage types, how to create a storage account, secure your data, manage costs, and use storage effectively in real world scenarios.
What is Azure Storage?
Azure Storage is Microsoft's cloud-based storage service that lets you store virtually any type of data — files, images, videos, logs, database backups, application data, and more — in a secure, scalable, and highly available environment.
Think of Azure Storage like a massive, intelligent hard drive in the cloud — except it never runs out of space, never fails, is accessible from anywhere in the world, and costs a fraction of traditional storage solutions.
Azure Storage is built on three core principles:
Storage account types
Before creating storage, you choose a storage account type. This determines what storage services are available and at what performance level.
The 4 Azure Storage services
Inside a storage account, Azure offers four distinct storage services — each designed for a different type of data and use case.
Blob stands for Binary Large Object. Blob storage is designed for storing massive amounts of unstructured data — files that don't follow a specific data model or definition.
What you store here: Images, videos, audio files, documents, backups, log files, static website content, ML training data
Blob types:
• Block blobs — Most common. Used for text and binary files like images and videos
• Append blobs — Optimised for append operations. Perfect for log files
• Page blobs — Used for random read/write operations. Used by Azure VM disks
Real world example: Netflix stores video content in blob storage. Instagram stores photos in blob storage.
Azure Files provides fully managed file shares in the cloud that are accessible using the industry-standard SMB (Server Message Block) and NFS (Network File System) protocols.
What you store here: Shared configuration files, application data that needs to be accessed by multiple VMs, migration of on-premises file servers
Key benefit: Mount Azure file shares on Windows, Linux, and macOS — just like a network drive. Your applications don't even know the storage is in the cloud!
Real world example: A company with 100 employees replaces their on-premises file server with Azure Files — employees access it just like before but it's now in the cloud.
Queue storage provides reliable messaging between application components. It stores large numbers of messages that can be accessed from anywhere via HTTP or HTTPS.
What you store here: Messages between application components, work items for background processing, task queues
Key benefit: Decouples application components so they can scale independently. If one part of your app is overwhelmed, messages queue up and are processed when the component recovers.
Real world example: An e-commerce site receives 10,000 orders per minute during a sale. Orders go into a queue and are processed one by one — no orders are lost even if the backend is slow.
Table storage is a NoSQL datastore for storing structured, non-relational data. It's simple, fast, and extremely cost-effective for large amounts of structured data.
What you store here: User data, device information, metadata, application configuration data, IoT telemetry data
Key benefit: Incredibly cheap storage for structured data that doesn't need complex relationships. Great for IoT scenarios where you're storing millions of small records.
Note: For more advanced NoSQL needs, consider Azure Cosmos DB which we cover in a later tutorial.
Creating a storage account
• Subscription: Your subscription
• Resource Group:
rkc-storage-rg (create new)• Storage account name:
rkcstorageaccount (must be globally unique, 3-24 chars, lowercase only)• Region: Central India
• Performance: Standard
• Redundancy: Locally Redundant Storage (LRS) for learning
• Require secure transfer: ✅ Enabled (always keep this on)
• Enable blob public access: Disabled (keep data private by default)
• Minimum TLS version: TLS 1.2
• For learning: Public endpoint (all networks)
• For production: Restrict to specific virtual networks
Deployment takes about 30 seconds — much faster than VMs!
• Click "Go to resource"
• Click "Containers" on the left → "+ Container"
• Name it
my-first-container → Create• Click into the container → "Upload"
• Upload any file from your computer — it's now stored in Azure! 🎉
az storage account create \
--name rkcstorageaccount \
--resource-group rkc-storage-rg \
--location centralindia \
--sku Standard_LRS
# Create a container
az storage container create \
--name my-first-container \
--account-name rkcstorageaccount
# Upload a file to blob storage
az storage blob upload \
--container-name my-first-container \
--name myfile.txt \
--file ./myfile.txt \
--account-name rkcstorageaccount
Blob storage access tiers
Azure Blob Storage offers three access tiers that let you balance storage cost against access frequency. The less frequently you access data, the cheaper the storage — but the more you pay to retrieve it.
Example: Profile pictures on a social media app
Example: Monthly financial reports, infrequently accessed logs
Example: Quarterly compliance reports, old project archives
Example: 7-year tax records, old security camera footage kept for compliance
Redundancy options
Azure Storage automatically replicates your data to protect against hardware failures. You choose how many copies and where they're stored:
3 copies of data within a single datacenter in the primary region. Protects against server rack and drive failures. Cheapest option.
Best for: Learning, dev/test, data that can be easily recreated
3 copies across 3 Availability Zones in the primary region. Protects against datacenter-level failures.
Best for: High availability applications, production workloads
6 copies — 3 in primary region (LRS) + 3 in a secondary region hundreds of miles away. Protects against regional disasters.
Best for: Business-critical data that must survive regional outages
The most durable option — combines ZRS in the primary region with GRS replication to a secondary region. 99.99999999999999% (16 nines) durability.
Best for: Mission-critical enterprise data
Security and access control
Example: Generate a SAS URL that lets a client download a specific file for the next 24 hours only.
Azure Storage pricing
Azure Storage pricing is based on how much data you store, how often you access it, and what redundancy option you choose. Here's a simplified overview for Central India region:
Hot tier → ~$0.018 per GB/month
Cool tier → ~$0.01 per GB/month
Cold tier → ~$0.004 per GB/month
Archive tier→ ~$0.001 per GB/month
Redundancy cost comparison (per GB/month):
LRS → Cheapest
ZRS → ~25% more than LRS
GRS → ~2x the cost of LRS
GZRS → Most expensive
Real world use cases
Best practices
AZ-104 exam tips
✅ Understand the 4 access tiers — Hot, Cool, Cold, Archive and minimum retention days
✅ Know redundancy options — LRS, ZRS, GRS, GZRS and what each protects against
✅ Understand SAS tokens — time-limited, permission-scoped access
✅ Remember storage account names must be globally unique, 3-24 chars, lowercase only
✅ Know that Archive tier data takes hours to retrieve (rehydration)
✅ Understand blob types — Block blobs, Append blobs, Page blobs
✅ Remember all Azure Storage data is encrypted at rest by default