Case Scenario

As Azure administrator, once of the tasks can be assigned to you is identifying all of the blobs that are not modified for the last 100 days and delete them and we need to automate this task to run automatically on Azure Storage

Introduction

Azure Storage services are one of the most important Azure services that many other services depend on it that’s why we should keep monitoring the size of it to reduce the cost, and of the things that we should take care about it, the blobs that are not used from a long time like our case scenario, that’s why Microsoft Azure provided us something called Azure Blob storage lifecycle

What is Azure Blob Storage Lifecycle

Azure Blob Storage Lifecycle management it is a role-based policy for Azure blob storage and this feature or service allow us to do many things Such as:

  1. Moving Blobs to Storage tiers (Hot to Cool, Cool to Archive or Hot to archive) and this option should be used to optimize the cost and performance of your blobs
  2. Deleting the unused or non-modified blobs by the end of their lifecycle
  3. You can define a role on your Azure Storage to run daily if you need
  4. Applying for this role on Blob Containers or subset from the containers

Azure Storage Resources and information

  1. For Azure Storage, we have General Purpose v2 (GPv2) and General Purpose (GPv1) but the Azure Blob Storage Lifecycle Management is available only on GPv2 and you can upgrade from GPv1 to GPv2
  2. Managing and implementing Azure storage
  3. Microsoft Azure Storage Kind and Architecture
  4. Create Storage Account Using PowerShell and CLI Command
  5. Azure Storage Account and Log Analytics
  6. Azure Storage Account Monitoring Services
  7. Sync your local files with Azure Storage Sync Service
  8. Copy Files to or from Azure Storage using Azcopy
  9. Azure Storage Geo-Replication
  10. Azure Date Transfer Solutions
  11. Microsoft Azure Storage Permission

How to Configure Azure Blob Storage Lifecycle Management

The steps of the configuration are very easy you can check this Microsoft article or you can check below GIF demo file

Keep Following

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.