6
votes

Is there a feature in Azure to move blobs in Hot/Cool tiers to Archive automatically if they haven't been used in a period of time?

For example, if I have a blob stored in Archive, I access it by rehydrating it to Hot/Cool. Once I am done, is there a way Azure can automatically downtier it?

4

4 Answers

2
votes

Moving to another tier not accessed blobs is possible using native functionality but for the moment this is limited to France Central, Canada East, and Canada Central as the feature is in preview.

In order to use the Last accessed option, select Access tracking enabled on the Lifecycle Management page in the Azure portal.

enter image description here

And then define a rule based on the Last accessed

enter image description here

More details you may find here

1
votes

News from Microsoft. Now you can -

  1. Automatically change the blob tier after N days.
  2. Automatically remove the blob after N days.

Good luck!

0
votes

All tier changes must be performed by you; there is no automatic tier-change method built-in. You'll need to make a specific call to set the tier for each tier change (note - I pointed to the REST API, but various language-specific SDKs wrap the call as well).

0
votes

Please see this Azure Feedback question for updates on automated object lifecycle policies for Azure Storage Blobs (as well as a description of a workaround using Logic Apps). The question pertains to blob TTL, but tiering policies will also be possible with both the workaround and ultimately using the policy framework.