Storage Accounts & Redundancy
Every byte in Azure starts with a storage account. Learn how to create and configure them, choose the right redundancy option, manage encryption, and use tools like Storage Explorer and AzCopy to move data around.
What is a storage account?
A storage account is like renting a storage unit β except it can hold files, databases, queues, and more.
On-prem, you had file servers with NTFS shares. In Azure, a storage account is your general-purpose container for data. Inside one storage account, you can have blob containers (like folders for large files), file shares (like SMB network shares), tables (simple databases), and queues (message pipelines).
When you create a storage account, you choose: the name (globally unique), the region, the performance tier (Standard or Premium), and how many copies of your data Azure keeps (redundancy).
Storage account types
| Account Kind | Supported Services | Performance | Use Case |
|---|---|---|---|
| StorageV2 (general-purpose v2) | Blob, Files, Table, Queue | Standard or Premium | Recommended for most scenarios |
| BlobStorage | Blob only | Standard | Legacy β use StorageV2 instead |
| BlockBlobStorage | Block blobs, append blobs | Premium | High-transaction blob workloads |
| FileStorage | Azure Files only | Premium | Enterprise file shares, high IOPS |
Exam tip: Always pick StorageV2
Unless the question specifically asks for premium block blob or premium file performance, StorageV2 (general-purpose v2) is the correct answer. It supports all storage services and both Standard and Premium tiers. Microsoft recommends it for almost all scenarios.
Redundancy options
This is one of the most heavily tested topics. Azure stores multiple copies of your data to protect against failures.
| Option | Copies | Region Scope | Read Access During Outage? |
|---|---|---|---|
| LRS (Locally Redundant) | 3 copies in one datacenter | Single region | No |
| ZRS (Zone-Redundant) | 3 copies across 3 availability zones | Single region | No |
| GRS (Geo-Redundant) | 6 copies (3 local + 3 in paired region) | Two regions | No (secondary is not readable) |
| RA-GRS (Read-Access Geo) | 6 copies (3 local + 3 in paired region) | Two regions | Yes β read from secondary |
| GZRS (Geo-Zone-Redundant) | 6 copies (3 zones primary + 3 secondary) | Two regions | No |
| RA-GZRS (Read-Access Geo-Zone) | 6 copies (3 zones primary + 3 secondary) | Two regions | Yes β read from secondary |
Real-world: How to choose redundancy
- CloudFirst Labs uses LRS for dev/test environments β cheapest, and data loss in dev is acceptable
- TechCorp Solutions uses ZRS for production web assets β survives a datacenter failure within the region
- Meridian Financial uses RA-GZRS for critical financial data β maximum resilience with read access during regional outage
The exam pattern: Match the business requirement (cost, availability, compliance) to the correct redundancy option. If they mention βregional disaster recovery,β think GRS/GZRS. If they mention βread access during outage,β think RA-GRS or RA-GZRS.
Encryption
All data in Azure Storage is encrypted at rest using 256-bit AES encryption. This is enabled by default and cannot be disabled.
Two key management options:
- Microsoft-managed keys (default) β Azure handles key rotation automatically
- Customer-managed keys (CMK) β you manage keys in Azure Key Vault
Infrastructure encryption adds a second layer of encryption at the infrastructure level (double encryption). This is for organisations with extreme compliance requirements.
Storage Explorer and AzCopy
Azure Storage Explorer is a desktop application (Windows, macOS, Linux) for managing storage accounts visually. Think of it as a file manager for Azure Storage β drag and drop blobs, browse containers, manage file shares.
AzCopy is a command-line tool for high-performance data transfer:
# Copy a local file to blob storage
azcopy copy "C:\data\report.csv" "https://mystorageaccount.blob.core.windows.net/mycontainer/report.csv?SAS_TOKEN"
# Sync a local folder to blob storage
azcopy sync "C:\data" "https://mystorageaccount.blob.core.windows.net/mycontainer?SAS_TOKEN"
| Feature | Storage Explorer | AzCopy |
|---|---|---|
| Interface | GUI (desktop app) | CLI (command line) |
| Best for | Browsing, small transfers, visual management | Large transfers, scripting, automation |
| Authentication | Entra ID, SAS, account key | Entra ID, SAS |
| Performance | Good for small to medium | Optimised for large-scale parallel transfers |
Knowledge check
Meridian Financial needs to store critical financial records that must remain accessible even if an entire Azure region goes down. They also need to read data from the secondary region for reporting during normal operations. Which redundancy option should Alex recommend?
CloudFirst Labs needs to copy 500 GB of log files from an on-premises server to Azure Blob Storage as part of a nightly automated job. Which tool should they use?
π¬ Video coming soon