Storage and moving data
Compare Azure Storage services, access tiers and redundancy options, and choose the right tool to move files or migrate.
17 min
An Azure storage account holds several storage services:
- Blob storage: unstructured objects (images, video, backups, logs).
- Azure Files: managed file shares that use SMB and NFS, mountable like a network drive.
- Queue storage: a message queue to pass work between application parts.
- Table storage: simple NoSQL key-value data.
- Managed disks: block storage for VMs.
Access tiers (for blobs): Hot (frequent access, highest storage cost, lowest access cost), Cool (infrequent, at least 30 days), Cold (rare, at least 90 days) and Archive (very rare, at least 180 days, lowest storage cost, data is offline and must be rehydrated, which takes hours).
Redundancy options
- LRS (locally redundant): three copies in one datacenter. Cheapest. Protects against drive and rack failure, not a datacenter loss.
- ZRS (zone-redundant): copies across three availability zones in one region.
- GRS (geo-redundant): LRS in the primary region plus an asynchronous copy to a secondary region.
- GZRS (geo-zone-redundant): ZRS in the primary plus a copy in the secondary region.
- RA-GRS / RA-GZRS add read access to the secondary copy.
Moving data
- AzCopy: command-line tool for copying data to and from storage.
- Azure Storage Explorer: desktop app with a graphical view of storage.
- Azure File Sync: keeps on-premises Windows file servers in sync with Azure Files.
- Azure Migrate: central hub to assess and migrate servers, databases and apps.
- Azure Data Box: ship a physical device to move huge amounts of data offline.
Redundancy compared
LRS
- Copies
- 3 in one datacenter
- Survives datacenter loss?
- No
- Survives region loss?
- No
ZRS
- Copies
- 3 across zones in one region
- Survives datacenter loss?
- Yes
- Survives region loss?
- No
GRS
- Copies
- LRS in two regions (6 total)
- Survives datacenter loss?
- Yes, through the secondary copy after failover
- Survives region loss?
- Yes
GZRS
- Copies
- ZRS in primary plus LRS in secondary
- Survives datacenter loss?
- Yes
- Survives region loss?
- Yes
RA- options (RA-GRS, RA-GZRS) let you read from the secondary region at any time.
Access tiers.
Hot
- Storage cost
- Highest
- Access cost
- Lowest
- Retrieval
- Immediate
Best for Data used often
Cool
- Storage cost
- Lower
- Access cost
- Higher
- Retrieval
- Immediate
Best for Infrequent, kept 30+ days
Cold
- Storage cost
- Lower still
- Access cost
- Higher still
- Retrieval
- Immediate
Best for Rarely read, kept 90+ days
Archive
- Storage cost
- Lowest
- Access cost
- Highest
- Retrieval
- Hours (rehydrate first)
Best for Long-term retention, kept 180+ days
Choose the storage option.
A company wants to keep seven years of compliance records at the lowest possible storage cost. Records are almost never read.
“Geo-redundant storage means I can read my data from the second region any time.”
The data is in two regions.
What is actually true
With GRS the secondary copy is for recovery and is not readable until failover. Only read-access options (RA-GRS and RA-GZRS) let you read from the secondary.
- Storage services: Blob, Files, Queue, Table, managed disks.
- Tiers: Hot, Cool, Cold, Archive. Archive is offline and needs rehydration.
- LRS one datacenter, ZRS across zones, GRS adds another region, GZRS combines zones and regions.
- AzCopy and Storage Explorer copy data. File Sync syncs servers. Migrate assesses and moves. Data Box ships it.
Storage check.
Which Azure Storage service provides managed file shares accessible over SMB?
- ABlob storage
- BQueue storage
- CAzure Files
- DTable storage
Which redundancy option protects against a region-wide outage?
- AZRS
- BPremium disks
- CGeo-redundant storage (GRS)
- DLRS
Which tier has the lowest storage cost but requires rehydration before reading?
- AArchive
- BCool
- CHot
- DCold
Which tool ships a physical appliance for bulk offline data transfer?
- AAzure File Sync
- BAzCopy
- CAzure Data Box
- DAzure Advisor
Which service lets you assess and migrate on-premises servers to Azure?
- AAzure Policy
- BAzure Arc
- CAzure Migrate
- DAzure Monitor
Practise this lesson, not just read it
In BiliMind the questions above are marked when you answer, the flashcards come back on a schedule, and the rest of Microsoft Azure Fundamentals (AZ-900) is planned around your week. Free.