0
0
Azurecloud~30 mins

Blob storage (block, append, page) in Azure - Mini Project: Build & Apply

Choose your learning style9 modes available
Azure Blob Storage: Block, Append, and Page Blobs
📖 Scenario: You are working for a company that needs to store different types of files in Azure Blob Storage. Some files are large and uploaded in parts, some are logs that need to be appended continuously, and some are files that require random read/write access.You will create an Azure Storage container and configure three types of blobs: block blob, append blob, and page blob to handle these different needs.
🎯 Goal: Build an Azure Storage container with three blobs: a block blob for large file uploads, an append blob for log data, and a page blob for random read/write operations.
📋 What You'll Learn
Create an Azure Storage container named projectcontainer.
Create a block blob named largefile.txt inside the container.
Create an append blob named logfile.txt inside the container.
Create a page blob named pagedata.vhd with size 5120 bytes inside the container.
💡 Why This Matters
🌍 Real World
Many applications need to store files differently: large files in parts, logs that grow over time, or files needing random access. Azure Blob Storage offers block, append, and page blobs to meet these needs.
💼 Career
Cloud engineers and developers often configure blob storage types to optimize storage costs and performance for different data types.
Progress0 / 4 steps
1
Create the Azure Storage container
Write the Azure CLI command to create a storage container named projectcontainer in the storage account mystorageaccount.
Azure
Need a hint?

Use az storage container create with --name and --account-name options.

2
Create the block blob and append blob
Write two Azure CLI commands: one to upload a block blob named largefile.txt from local file largefile.txt, and another to create an empty append blob named logfile.txt inside the container projectcontainer in storage account mystorageaccount.
Azure
Need a hint?

Use az storage blob upload for block blob upload and az storage blob create --type AppendBlob to create an empty append blob.

3
Create the page blob
Write the Azure CLI command to create a page blob named pagedata.vhd with size 5120 bytes inside the container projectcontainer in storage account mystorageaccount.
Azure
Need a hint?

Use az storage blob create --type PageBlob --size 5120 to create the page blob.

4
Verify the blobs in the container
Write the Azure CLI command to list all blobs inside the container projectcontainer in storage account mystorageaccount to verify the block, append, and page blobs are created.
Azure
Need a hint?

Use az storage blob list with --container-name and --account-name to list blobs.