Categories: AzureTags: Azure storageI had a scenario recently where I wanted to put in a safeguard for some test data that I know would ‘expire’ and the reality is I’m a horrible housekeeper in the cloud. I found that the Lifecycle Management options in Azure Storage are a way I can keep myself a good housekeeper and not […](Read more...)
I had a scenario recently where I wanted to put in a safeguard for some test data that I know would ‘expire’ and the reality is I’m a horrible housekeeper in the cloud. I found that the Lifecycle Management options in Azure Storage are a way I can keep myself a good housekeeper and not set needless reminders to go clean up something.
This is a policy engine that allows data to go to different tiers and eventually be removed automatically at the storage level. This is set as a property of the blob service within an Azure storage account.
Azure Storage ConfigurationFor an Azure Storage account, in blob service you will see that Lifecycle Management is an option there. I’m using it for Blobs but this is available in all Azure regions for General Purpose v2 (GPv2) accounts, Blob storage accounts, and Premium Block Blob storage accounts. The figure below shows the Lifecyle Management link in the configuration of the blob storage:
Azure Storage Lifecycle management rulesOnce you add a Lifecycle Management rule, you are given a rather powerful set of options. This includes moving blobs to cool storage after a specified number of days after modification, moving the blogs to archive storage after a specified number of days after modification and deleting the blog after so many days after modification. Additionally, logic around deleting snapshots can be placed in as well. The figure below shows blobs moving through a lifecycle, deleted after 4 years with no changes:
Additionally filters can be set for exclusions and more specific configurations if different data has different lifecycle rules.
Where to use an Azure Storage LifecycleThis is a powerful technique if all options are used (including deleting), so some consideration should be taken into account. Here are a few ideas that I have for Azure Storage Lifecycle rules:
CAUTION: This goes without saying that this can be a very powerful technique on blob storage, so please exercise caution!
These are just a few ideas of the top of my head, but the persistent test storage account with a blob container with an aggressive delete policy may be a good mechanism to have in play.
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Azure Storage Explorer Updated with one Clutch New Capability for Blobs | 0 | 8.05 | 14-07-2020 |
| 2 | Nomenclature for Azure Storage Accounts | 0 | 11.75 | 06-02-2020 |
| 3 | How To: Promote Azure Blob Storage to Hot Tier | 0 | 9.9 | 15-05-2020 |
| 4 | Incredible Spike in Azure and Related Services – Here are 8 tips to secure services! | 0 | 10.68 | 30-03-2020 |
| 5 | Upgrading Azure Storage Explorer – Manual but Mindful | 0 | 11.77 | 30-01-2020 |
| 6 | Using Azure Storage Explorer to remove unattached VM disks | 0 | 9.53 | 06-01-2020 |
| 7 | How to add Microsoft Azure Blob Object Storage Repositories without Immutability at Veeam Backup for Microsoft 365 8.2 | 0 | 11.74 | 12-12-2025 |
| 8 | How to add Microsoft Azure Blob Object Storage Repositories with Immutability at Veeam Backup for Microsoft 365 8.2 | 0 | 12.87 | 22-12-2025 |
| 9 | Azure Files now offering NFS 4.1 in Preview | 0 | 13.71 | 16-09-2020 |
| 10 | Zero-Downtime AD DS Migration from Windows Server 2016 to 2025 (10-Part Series) – Part 9 | 0 | 15.48 | 20-03-2025 |