The Wayback Machine - https://web.archive.org/web/20240930202428/https://www.geeksforgeeks.org/microsoft-azure-automatically-manage-azure-blobs-lifecycles/
Open In App

Microsoft Azure – Automatically Manage Azure Blobs Lifecycles

Last Updated : 30 Mar, 2023
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

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
Microsoft Azure - Get CPU Utilization Data of a Azure VM in Azure Portal
Azure Virtual Machines (VM) is one of several types of on-demand, scalable computing resources that Azure offers. In this article, we will look into the process of getting the CPU Utilization data of an Azure VM in Azure Portal. Implementation: Follow the steps to get the CPU Utilization of an Azure VM in Azure Portal: Step 1: Log in to your Azure
2 min read
Microsoft Azure - Archive Azure VM to Azure Storage Account
In this article, we will be implementing a solution to archive a select azure VM snapshot to a select storage account for archiving using azure cloud shell. For implementation, we will be using Azure CLI commands. Prerequisite:VM SnapshotA storage account is neededUser needs "Storage Blob Contributor Data" IAM Role Access on Archiving Storage Accou
2 min read
Microsoft Azure - Check Status of Azure VM using Azure PowerShell
The following Azure PowerShell command helps you to find the Azure VM Config and properties details of Os Name, Os Version, Hyper V Generation, Disks properties, Extensions properties of Type Handler Version, Status and Message, VM Agents properties of Type Handler Version, Status and Message and also VM Power Status Codes, Messages, Plugins, Time
3 min read
Microsoft Azure - Azure VM Disk Space in Percentage using Azure KQL
Here we'll be using the Azure Insights Metric Query to find the free disk space in percentage using KQL. The purpose of this query is to find disk drive free space of all the Azure VMs without logging into every server. You can Run the following KQL log Queries in Azure Monitor or Azure VM Logs or Log Analytics Workspace. Note: VM Insights Agent sh
1 min read
Microsoft Azure - Enable Azure Monitor VM Insights Agent For Azure VM
Azure Monitor VM Insights Agent enables you to get more visibility into the health and performance of your Azure VM. Here we'll see how we can enable Azure Monitor VM Insights to monitor the health, performance, and dependencies of azure virtual machines. Implementation: Follow the below steps to enable Azure Monitor VM insights agents for an Azure
2 min read
Microsoft Azure - Query Azure Storage Logs in Azure Monitor Log Analytics
Pre-requisite:- Azure Log Analytics is a tool offered by Azure, which is used to edit and run log queries against data in the Azure Monitor Logs store and helps interactively analyze their results. One can easily use Log Analytics queries to retrieve records that match particular criteria, identify trends, analyze patterns, and provide various insi
5 min read
Microsoft Azure - Install Azure Command Line Interface (Azure CLI)
Azure CLI is a very powerful tool that can be used to automate tasks, create, update, manage or delete azure resources or to troubleshoot problems with az module cmdlets. By installing az modules on your system or on your development system you and your development team can easily create, update or manage Azure AD and Azure resources such as manage
4 min read
Microsoft Azure- Backing Up, Restoring, and Cloning Microsoft Azure App Services
Microsoft is well known for developing relevant software which are using in today's time of technology to conquer the demand of users and developers to build up applications. In sequence of it Microsoft introduces Azure well known as Microsoft Azure to make quality applications. In this article, we will discuss Backing up, restoring and cloning Mic
8 min read
Microsoft Azure -Create a User in Microsoft Entra ID from Azure Portal
A user in Microsoft Entra ID is an individual who can get access to Azure identity. This Microsoft Entra ID identity can be used to access applications and resources that are protected within the organization or project. Users can be created manually or automatically, and they can be assigned to groups and roles to control their access permissions.
3 min read
Microsoft Azure- Disk Storage in Microsoft Azure
Azure Disk Storage is the only shared cloud block storage that supports both Windows and Linux-based clustered or high-availability applications via Azure shared disks. There are two types of Disks in Azure : Managed Disks Unmanaged Disks.Managed DisksSimplest optionLower management overhead as Azure manages the storage accounts.Only LRS replicatio
6 min read
Azure Windows Servers - Automatically Remove Malicious Softwares
Windows Security is a powerful scanning tool that finds and removes malware from your PC. We do have other built-in tools like Microsoft Windows Malicious Software Removal Tool where we can use that tool to remove malicious software. Microsoft Windows Malicious Software Removal Tool: Microsoft Windows Malicious Software Removal Tool is an inbuilt W
2 min read
How to Store and Manage Passwords By Using Azure Key Vault?
Azure key vault is one of the Microsoft Azure offered services that enables users to easily store and manage sensitive information like keys, passwords, and certificates in a way that is easily accessible to authorized users and applications (RBAC). Azure key vault can be easily integrated with other Azure services like Azure Virtual Machines, Azur
6 min read
How to Use Azure Traffic Manager to Manage Your Domain Names?
In the modern-day digital landscape, managing domain names and ensuring the high availability and performance of your web programs is paramount. Azure Traffic Manager is a powerful Azure service that allows you to gain this goal by intelligently routing site visitors across multiple endpoints, improving both reliability and personal enjoyment. In t
6 min read
How to Manage Azure CLI Extensions in Command Line Interface?
In this article, we are going to provide the steps on how to list, find, install, update, and remove Azure CLI extensions from Azure Command Line Interface (Azure ACI) or Azure Cloud Shell. What are Azure CLI Extensions?Azure CLI or Command Line Interface is a powerful tool developed by Microsoft used to do almost every automation task in Azure Clo
4 min read
How To Use Azure Cosmos DB To Create And Manage NoSQL Databases
Azure Cosmos DB is a multi-model, globally distributed database service provided by Microsoft Azure. It comes as a fully managed database service with turnkey global distribution and transparent multi-master replication. You can run globally distributed, low-latency operational and analytics words and AI on transactional data within your database.
4 min read
How to use Azure Active Directory to Manage User Authentication and Authorization?
Microsoft is currently replacing the cloud-based identity and access management service Azure Active Directory (Azure AD) with Microsoft Entra ID. It is an element of the Identity as a Service (IDaaS) class and serves as a refuge for user profiles, both individual and public. An extensive overview of Azure AD's features, benefits features, and fund
10 min read
Microsoft Azure - Azure Managed Disk State Details using PowerShell
In this article, we will try to understand how we can fetch the VM Disk State by using the Azure PowerShell Commands. With the help of the Azure PowerShell Commands, we will be finding the Managed Disk State of Unattached, Attached, and Reserved of all the Azure VM Disks within Subscription. Implementation: Follow the below steps to get azure manag
1 min read
Microsoft Azure - Introduction to Azure Digital Twins
In this article, we will learn how to get started with Azure Digital Twins. With Azure Digital Twins, you can model your real-world environment, including buildings, IoT sensors, and people to keep track of it, monitor it, and design it. Let's see how that works. First, we need to create an Azure Digital Twins service in Azure. Let's search for Dig
3 min read
Microsoft Azure - Enable Linux System Logs in Azure for Monitoring
Log Analytics is an Azure service that collects and stores information/data from a set of different sources and we can use Log Analytics queries to retrieve records that match particular criteria, identify trends, analyze patterns, and provide a variety of insights into our data. Enable and Collect Linux Syslog from Log Analytics agents at custom i
1 min read
Microsoft Azure - Enable Linux Performance Counters in Azure for Monitoring
Log Analytics is an Azure service that collects and stores information/data from a set of different sources and we can use Log Analytics queries to retrieve records that match particular criteria, identify trends, analyze patterns, and provide a variety of insights into our data. Collect Linux performance counters from Log Analytics agents at custo
1 min read