Set Auto Tier Azure Blobs Utilizing Azure Logic App
Azure Logic Apps
Logic App is a cloud-based service that enables us to react to an occasion in a single service (reminiscent of SharePoint on-line) and do one thing with the info from that occasion into one other service (reminiscent of Twitter). It makes it sensible and easy for enterprise processes. The customers construct workflows that robotically carry out some enterprise duties and processes throughout purposes and companies. We are able to join our business-critical apps and companies with Azure Logic Apps, automating our workflows with out writing a single line of code.
Earlier than studying this text, please undergo some necessary article hyperlinks talked about under,
Stipulations
Observe the under steps to construct a Workflow utilizing a template.
Step 1
- Log into https://portal.azure.com/.
- Within the dashboard, select to create a useful resource and click on on Integration. Now, choose “Logic App”.
Step 2
- Enter the title you need to assign to the logic. Choose the subscription and useful resource group the place you manage the associated sources and site the place your logic app is saved. Then, click on on “Create”.
- Right here is the dashboard. Click on “Logic App Designer”.
Step 3
Selecting the template
Now, select the template “Auto tier Azure blobs based mostly on the final modified time”.
Click on on “use this template”
Step 4
Mapping the storage account
- Signal into Azure Blob Storage
- Mapping your storage account with storage title and Entry Key. Then click on on Create
Step 5
Configure the Recurrence.
- Select the interval (Right here, you may change in accordance with your wants), Frequency, Time Zone and Begin time.
- Then, select each Sunday as a brand new parameter.
Step 6
Set tier age
- Subsequent, select set tier age for the blob. Right here, we have to give the worth as 10(we have to change the tier for 10 days outdated blobs)
Step 7
Mapping the blobs
- Select the folder of the blob
Step 8
Mapping the situations
- Connecting the situations
- If the situation is true, then select the tier blob as “Sizzling”
- The ultimate workflow will probably be like this.
Now, allow us to save and run the workflow.
Output
First, examine the tier for the blob
Run the Logic App
Its efficiently run
Now, its efficiently turns the blob tier from cool to sizzling tier.
Abstract
I hope you understood the right way to set the Auto tier Azure blobs based mostly on the final modified time utilizing Azure Logic App. Keep tuned for extra Logic App articles.