Open In App

Microsoft Azure – Automatically Manage Azure Blobs Lifecycles

Last Updated : 30 Mar, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

In this article, we will look into how to automatically manage Azure Blobs lifecycles. Azure Blob Storage offers different access tiers to reduce your storage costs. A blob in the hot tier costs the most and can be accessed very fast, while a blob in the archive tier is cheaper and is slower.

Implementation:

Follow the below steps to automatically manage Azure Blobs lifecycles:

  • Let’s use Lifecycle Management to automatically move blobs between access tiers. Here in the Azure Portal, we have a general-purpose Azure Storage account, and there is the Lifecycle Management. 

  • We can create a new rule here.

  •  First, we need to give the rule a name, and now we will select to only apply this rule to blobs that adhere to a filter that we define later, and we only want “Block blobs”. We will leave this to “Base blobs”.But, as you will see, we can also include snapshots and versions of blobs. 

  • Next, now for the rule. If the base blobs were last modified more than 20 days ago, then we will move the blobs to cool storage. As you will see, we can also delete them if we want. 

  • Now, the filter. We only want this rule to apply to blobs in the logs container. Let’s add the rule and there it is. 

Azure Blob Storage access tiers are great to reduce your storage costs. We just learned how easy it is to use Azure Blob Storage Lifecycle Management to automatically move blobs to their appropriate access tiers based on their usage. 


Previous Article
Next Article

Similar Reads

Microsoft Azure - Automating Azure Blobs Lifecycle Management
In this article, we will learn how to automatically manage Azure Blobs lifecycles. Azure Blob Storage offers different access tiers to reduce storage costs. A Blob in the hot tier costs the most and can be accessed very fast, while a Blob in the archive tier is cheaper and is slower. Let's use Lifecycle Management to automatically move Blobs betwee
2 min read
Microsoft Azure - Azure CLI Commands to Manage Azure VMs
Azure Command-line interface is used to manage or to create Azure resources. By using the simple AZ CLI command we can manage Azure VM quickly and at a Scale. Let's get started by using a few important Azure CLI commands to manage Azure Virtual Machines. 1. Start a Specific Stopped VM in a Select Resource Group Use the below command to start a spec
2 min read
Microsoft Azure - Manage Azure VMs using Azure PowerShell Commands
Here we are using Azure PS Commands to manage azure resources from Azure Cloud Shell or by using Windows PowerShell. By using the simple AZ PS command we can manage Azure VM Quicks without any efforts of navigating in Azure Portal and at Scale. Let's get started by using the major Azure PS commands to manage Azure Virtual Machine. 1. Start a Specif
2 min read
Microsoft Azure - Manage and Export Azure Policies with GitHub Integration
You can manage and deploy export policy resources using GitHub Workflows and Actions. To export your policy definitions and assignments, you should have GitHub Account or Org GitHub Account access to implement the activity. The purpose of exporting policies to GitHub is to have source version control audit details. Prerequisites:GitHub Account and
2 min read
Microsoft Azure - Create SHH Key to Manage Azure Linux VMs
Creating an SSH key resource allows you to manage and use public keys stored in Azure with Linux virtual machines. Here In this article, we will be creating an SSH Key to manage Azure Linux Virtual Machines in Azure by using a public key. Let's get started by creating a one in Azure. Create SHH Key in Azure: Follow the steps to create an SSH key in
2 min read
Microsoft Azure - Manage Virtual Machine via Azure Mobile App
In this article, you will get to know how to stay connected and in control of Azure virtual machines while using the Azure mobile app. The Azure mobile app is also called a VM app. Implementation: You would see the metric chart and find that spike visually via the chart and then you have those commands available for you that you can just in one cli
2 min read
Microsoft Azure - Manage Azure AD Privileged Identity Management
Azure AD PIM stands for Azure Active Directory Privileged Identity Management (PIM). With Privileged Identity Management (PIM), the azure admin or user can manage, control, and monitor access to Azure Resources within the organization. Use Privileged Identity Management (PIM) to manage the lifecycle of role assignments of the users or groups and en
2 min read
Microsoft Azure - Get Azure VM Properties using Azure PowerShell
The purpose of using the Azure PowerShell Commands is to quickly analyze the overall properties of VM/VMs at once the filtering the with select and where conditions. To find the properties of an Azure VM, you can perform the following commands in Azure Cloud Shell to get the details. Command: Get-AzVM Output: 1. Get all properties of an Azure Virtu
2 min read
Microsoft Azure - RDP to Azure Virtual Machines using Azure Bastion
In this article, we will learn how to do RDP(Remote Desktop Protocol) / SSH(Secure Shell) Connection to an Azure VM using Azure Bastion. First, let's discuss Azure Bastion. The Azure Bastion service is a fully platform-managed PaaS service that you provision inside your virtual network. It provides secure and seamless RDP/SSH connectivity to your v
3 min read
Microsoft Azure - Configure Azure SQL with Azure CLI
In this article, we're going to take a closer look at how you can configure something like connectivity using the Azure CLI. What we have here is we are in Azure Data Studio and similar to the SQL notebook we are actually using a PowerShell notebook. That just means all our code cells are going to run PowerShell and we are just connecting to localh
4 min read