Azure Storage offers different access tiers, allowing you to store blob object data in the most cost-effective manner. The available access tiers include hot for frequently accessed data, cool for infrequently accessed data, and archive for rarely accessed data with flexible latency requirements (on the order of hours). In this hands-on lab, we will be creating a blob storage container in a pre-provisioned Azure storage account. We will upload a few sample files to the container and attempt to download them, showing that we can do so in either a hot or cool tier. We will then change the access tier of the blobs to archive and test to see whether or not we are able to download the blobs.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create a Blob Container in the Azure Storage Account
- In the Azure Portal, click Storage accounts in the left-hand navigation menu.
- Click the provisioned storage account to open it.
- Click Containers.
- Click + Container to create a new blob container.
- Set the following values:
- Name: Your container name (e.g., "testblobs")
- Public access level: Private
- Click Create.
- Upload Sample Files to the Blob Container
- Click the newly created blob container to open it.
- Click Upload.
- In Upload blob to the right, click the folder icon.
- Select three files from your local workstation to upload to the blob.
- Click Open.
- Click Upload.
- Change the Access Tier of the Uploaded Blobs
Change Access Tier from Hot to Cool
- Leave
HotTier.json
alone. It will remain in the hot access tier. - Select CoolTier.json and click Change tier.
- In Change tier to the right, change the access tier to Cool.
- Click Save.
Change Access Tier from Hot to Archive
- Select ArchiveTier.json and click Change tier.
- In Change tier to the right, change the access tier to Archive.
- Click Save.
- Leave
- Test Downloading the Blobs
Test downloading each blob by clicking the ellipsis to the right of the blob and clicking Download. You should be able to download the hot and cool access tier blobs but not the archive tier blob.