Azure Fundamentals

Lesson 4 of 6

Storing Data with Azure Storage

Azure Storage is a family of services for storing files, structured data, and messages at scale. The one you'll reach for most often is Blob Storage, built for unstructured files like images, videos, backups, and documents.

The hierarchy

  • A storage account, the top-level container for all your storage services.
  • Containers, similar to folders, group related blobs together.
  • Blobs, the actual files themselves.
az storage account create --name kodstigenstorage --resource-group kodstigen-rg --sku Standard_LRS

az storage container create --name uploads --account-name kodstigenstorage

az storage blob upload --account-name kodstigenstorage --container-name uploads --name photo.jpg --file ./photo.jpg

When to use what

ServiceBest for
Blob StorageFiles: images, videos, backups, static website assets
Table StorageSimple key-value / NoSQL data at massive scale
Queue StoragePassing messages between parts of an application

--sku Standard_LRS picks a pricing/redundancy tier, "Locally Redundant Storage", the cheapest option, keeping multiple copies within one data center.

📝 Storage Quiz

Passing score: 70%
  1. 1.Which Azure Storage service is best suited for storing image and video files?

  2. 2.Inside a storage account, blobs are grouped into ____, similar to folders.

  3. 3.A storage account is the top-level container that holds all of your storage services.