Python for Azure: Data Lifecycle Management Policy [Automated Access Tiering & Purge]
Get notified and stay updated, click on the image below to Subscribe/Follow 'Python for Azure' Publication ???
For complete information and code based solution implementation, please click on the Full Article & Solution Implementation
Introduction
Consider a scenario where data is frequently accessed during the early stages of the lifecycle, but later occasionally only after two weeks. However, beyond the first month, the data set is rarely accessed. In this scenario, hot storage is best during the early stages. Cool storage is most appropriate for occasional access. Archive storage is the best tier option after the data ages over a month. By moving data to the appropriate storage tier based on its age with lifecycle management (LCM) policy rules, you can design the least expensive solution for your needs.
Automatic Storage Access-Tiering based on Rule Definition
Each rule definition within a policy includes a filter set and an action set. The filter set limits rule actions to a certain set of objects within a container or objects names. The action set applies the tier or delete actions to the filtered set of objects.
领英推荐
Lifecycle management (LCM) supports tiering and deletion of current versions, previous versions, and blob snapshots.
Filters limit rule actions to a subset of blobs or specific container within the storage account. If more than one filter is defined, a logical AND runs on all filters. Actions are applied to the filtered blobs or containers when the run condition is met.
Points to Remember:
With such Lifecycle management policy rules, it enables the following:
Key Observations
For complete information and code based solution implementation, please click on the Full Article & Solution Implementation