Reputation: 432
I'm using an Azure Data Lake Storage Gen2 storage account and the vast majority of the files are just for archiving, so I would like to changes their access tier to Archive to reduce cost. Is there any way/tool to recursively change access tier for a folder or do I have to write e.g. an application that recursively changes the access tier for the archive folders?
Upvotes: 1
Views: 1650
Reputation: 30025
You can use storage-lifecycle-management for ADLS Gen2.
It's easy to configure and automatically move blobs to archive tier.
Steps as below:
1.Nav to azure portal -> Lifecycle Management -> then click "Add rule":
2.In the new page, check "Move blobs to archive storage" -> specify a value which means after x days, it will move to archive storage:
Note: the rule may take a few hours to take effect.
Upvotes: 4