Magnus Johannesson
Magnus Johannesson

Reputation: 432

Change access tier recursively

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

Answers (1)

Ivan Glasenberg
Ivan Glasenberg

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":

enter image description here

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:

enter image description here

Note: the rule may take a few hours to take effect.

Upvotes: 4

Related Questions