0
0
Azurecloud~30 mins

Storage tier optimization in Azure - Mini Project: Build & Apply

Choose your learning style9 modes available
Storage tier optimization
📖 Scenario: You work for a company that stores large amounts of data in Azure Blob Storage. To save costs, you want to organize your blobs into different storage tiers based on how often they are accessed.Azure Blob Storage offers three main tiers: Hot (frequently accessed), Cool (infrequently accessed), and Archive (rarely accessed). Your task is to create a configuration that assigns blobs to the correct tier.
🎯 Goal: Create an Azure Storage account configuration that defines three containers named hot-container, cool-container, and archive-container. Then, set the access tier for each container accordingly to optimize storage costs.
📋 What You'll Learn
Create three containers named hot-container, cool-container, and archive-container
Set the access tier of hot-container to Hot
Set the access tier of cool-container to Cool
Set the access tier of archive-container to Archive
💡 Why This Matters
🌍 Real World
Many companies store large amounts of data in the cloud and want to reduce costs by using storage tiers that match how often data is accessed.
💼 Career
Cloud engineers and DevOps professionals often configure storage accounts and containers with appropriate tiers to optimize costs and performance.
Progress0 / 4 steps
1
Create Azure Blob Storage containers
Create three Azure Blob Storage containers named hot-container, cool-container, and archive-container inside your storage account configuration.
Azure
Need a hint?

Use azurerm_storage_container resource to create each container with the exact names.

2
Add storage account resource
Add an Azure Storage Account resource named example with Standard_LRS sku and StorageV2 kind. This will be the parent for your containers.
Azure
Need a hint?

Use azurerm_storage_account resource with the exact name example and set the sku and kind as specified.

3
Set access tiers for containers
Set the access tier for hot-container to Hot, for cool-container to Cool, and for archive-container to Archive using the default_access_tier property in each container resource.
Azure
Need a hint?

Add the default_access_tier property with the exact tier names to each container resource.

4
Add resource group configuration
Add an Azure Resource Group resource named example with location eastus. This resource group will contain your storage account.
Azure
Need a hint?

Use azurerm_resource_group resource with the exact name example and location eastus.