Storage services
One storage account, four kinds of storage
A storage account holds blobs, file shares, queues and tables. Disks sit alongside.
Azure Storage begins with a storage account. Its name must be unique across all of Azure, because it becomes part of a web address. Inside, Blob storage holds any file as an object: images, video, backups. Azure Files gives shared folders that many machines can mount. Queue storage holds messages that one part of an application leaves for another. Table storage holds simple rows found by a key. And managed disks, the drives of virtual machines, are handled separately.
Storage services · Going deeper
Storage account types and names
The usual account is standard general-purpose v2. Premium accounts are for speed.
Access tiers
Colder tiers cost less to keep and more to read
Hot, cool, cold, archive: cheaper to store at each step, dearer and slower to read.
Blobs can sit in one of four access tiers. Hot is for data read often, and has no minimum stay. Cool is for data read now and then, kept at least thirty days. Cold is for data rarely read, kept at least ninety days. All three can be read at once. Archive is for data almost never read, kept at least a hundred and eighty days. It is offline, and bringing a blob back takes hours. Moving right, storage gets cheaper and reading gets dearer.
Access tiers · Going deeper
Access tier details
Archive is set on single blobs only. Lifecycle management moves blobs between tiers by rule.
Check yourself
A law firm must keep closed case files for seven years. They are read as shown, and a wait of several hours is acceptable. Which tier costs least?
Redundancy
Three copies at least, and the letters say how far apart
LRS: one datacentre. ZRS: three zones. GRS and GZRS: plus three copies in the paired region.
Azure always keeps several copies of your data. The redundancy option decides where. Locally redundant storage: three copies in a single datacentre. Zone-redundant: one copy in each of three availability zones. Geo-redundant: three copies locally, and three more in the paired region. Geo-zone-redundant: a copy in each zone, and three in the paired region. The further apart the copies, the bigger the failure you survive.
Redundancy · Going deeper
Six options, compared
RA means the second region can be read at any time, not only after a failover.
Moving files
Two tools copy on demand, one keeps things in step
AzCopy is a command, Storage Explorer an app, and File Sync a continuous two-way sync.
The study guide names three ways to move files. AzCopy is a command-line tool: it copies blobs and files up, down or between storage accounts, and suits scripts. Azure Storage Explorer is an application with windows and buttons, for browsing your storage and dragging files in and out. Azure File Sync is different. It keeps a Windows file server and an Azure file share the same, in both directions, all the time.
Moving files · Going deeper
Migration: Azure Migrate and Data Box
Azure Migrate moves running systems over the network. Data Box moves bulk data by courier.
Check yourself
Each dot is one copy of the data. Which redundancy option is drawn?
Online or offline
When the upload would take weeks, send a box
At 100 megabits a second, 50 TB takes 46 days. Azure Data Box takes courier time.
How you move data in depends on how much there is. Take a line of 100 megabits a second, used for nothing else. One terabyte takes about 22 hours. Ten terabytes takes about 9 days. Fifty terabytes takes 46 days. Azure Data Box is the alternative: Microsoft sends you a storage device, you fill it on site and send it back. The time is the courier's, however much data there is.
Online or offline · Going deeper
Clue words for storage
Match the access pattern to a tier, and the failure to survive to a redundancy option.
Check yourself
A branch office must keep using its local file server, with the same files also held in Azure. What goes where the question mark is?
Lesson complete
You finished “Storage on Azure”
Answer the questions along the way to see your score here.