0
0
Azurecloud~30 mins

Storage redundancy (LRS, ZRS, GRS) in Azure - Mini Project: Build & Apply

Choose your learning style9 modes available
Storage redundancy (LRS, ZRS, GRS)
📖 Scenario: You are setting up Azure Storage accounts for a company that wants to protect their data against hardware failures and regional outages. You will create storage accounts with different redundancy options to understand how data is replicated and protected.
🎯 Goal: Create three Azure Storage accounts with different redundancy settings: Locally-redundant storage (LRS), Zone-redundant storage (ZRS), and Geo-redundant storage (GRS). This will help you see how Azure keeps data safe in different ways.
📋 What You'll Learn
Create a storage account named storageLRS with redundancy set to LRS
Create a storage account named storageZRS with redundancy set to ZRS
Create a storage account named storageGRS with redundancy set to GRS
Use the Azure CLI syntax for storage account creation
Use the resource group myResourceGroup and location eastus
💡 Why This Matters
🌍 Real World
Companies use storage redundancy to protect their data from hardware failures and disasters. Understanding how to configure redundancy helps ensure data availability and durability.
💼 Career
Cloud engineers and administrators often create and manage storage accounts with appropriate redundancy to meet business continuity and disaster recovery requirements.
Progress0 / 4 steps
1
Create a storage account with Locally-redundant storage (LRS)
Use the Azure CLI command az storage account create to create a storage account named storageLRS in the resource group myResourceGroup and location eastus. Set the redundancy option to LRS using the --sku Standard_LRS parameter.
Azure
Need a hint?

Use az storage account create with --sku Standard_LRS to specify LRS redundancy.

2
Create a storage account with Zone-redundant storage (ZRS)
Add a new Azure CLI command to create a storage account named storageZRS in the resource group myResourceGroup and location eastus. Set the redundancy option to ZRS using the --sku Standard_ZRS parameter.
Azure
Need a hint?

Use --sku Standard_ZRS to specify Zone-redundant storage.

3
Create a storage account with Geo-redundant storage (GRS)
Add another Azure CLI command to create a storage account named storageGRS in the resource group myResourceGroup and location eastus. Set the redundancy option to GRS using the --sku Standard_GRS parameter.
Azure
Need a hint?

Use --sku Standard_GRS to specify Geo-redundant storage.

4
Verify storage accounts and their redundancy
Add Azure CLI commands to list all storage accounts in the resource group myResourceGroup and show their redundancy type using the az storage account show command with the --query sku.name option for each account: storageLRS, storageZRS, and storageGRS.
Azure
Need a hint?

Use az storage account show --name <accountName> --resource-group myResourceGroup --query sku.name to check redundancy.