Blob Lifecycle Management with Index Tags in Azure Storage
Intermediate · 30 minutes · 5 tasks, checked automatically · 100 points
In this lab you will work against the local Azure Storage emulator to learn how blob lifecycle management is organised. You will upload blobs, author a lifecycle management policy whose rules target blobs by **blob index tags**, classify blobs with those tags, find them with tag queries, and carry out the policy's rules yourself: moving archive candidates to an archive container, promoting a blob that became active again, and producing a lifecycle report. The local emulator stores blobs, tags and tag queries but neither runs lifecycle policies nor offers access tiers, so you apply each rule by hand with the same commands an automation would use.
What you’ll learn
- Create a blob storage container and upload blobs to manage
- Author a JSON lifecycle management policy whose rules select blobs by blob index tags
- Classify, find, archive and promote blobs with blob index tags and tag queries, then report their lifecycle state
How this lab works
- Start the lab: One click starts an emulated cloud on your computer, with the cloud’s own CLI ready: no account and no bill.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work reads the emulated cloud’s resources and says, task by task, what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: An emulated cloud on your computer: no cloud account, no bill
- Cloud: AZURE
- Services: blob-storage
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop (or Podman / Rancher Desktop) installed and running
- A Azure sandbox created in the Local Cloud Playground
Topics: azure, blob-storage, lifecycle-policy, access-tiers, hot-cool, storage-management, azurite
Create a free account to start this lab.
Where this lab fits
- Cloud Architect roadmap · step 3 of 10: Storage lifecycle
More like this: Local Cloud Labs · All career roadmaps
Keep going
- Fire an S3 Event Notification into an SQS Queue on Object Upload
- Object Versioning & Lifecycle Rules on a Cloud Storage Bucket
- Generate Pre-Authenticated Requests for Time-Limited Object Storage Access
- Multipart Upload to OCI Object Storage
- Cloud Storage Fundamentals: Buckets, Objects, and gcloud storage
- Azure Blob Storage: Create Containers, Upload, Download, and List Blobs