Azure, Cloud Computing

4 Mins Read

A Guide for Moving Disks to Cold Storage

Voiced by Amazon Polly

Introduction

This guide offers a detailed walkthrough for transitioning managed disks within Azure to cold storage, an economical solution ideal for housing seldom-accessed data like backups and archival materials. Organizations can substantially reduce storage expenses by opting for cold storage despite the longer retrieval times compared to hotter or cooler storage tiers.

Pioneers in Cloud Consulting & Migration Services

  • Reduced infrastructural costs
  • Accelerated application deployment
Get Started

Three main steps make up the process

  1. Generating a Shared Access Signature (SAS) URL for the source disk: This URL provides secure, temporary access to the disk data without exposing account keys.
  2. Creating SAS token for the destination storage account: This token enables controlled access to the storage account where the disk data will be moved.
  3. Using AzCopy to transfer the disk data and changing the storage tier to cold: AzCopy is a powerful command-line tool that facilitates data transfer between storage accounts, ensuring efficient and reliable movement of large amounts of data.

Through adherence to this guide, entities may guarantee safe and effective data transfers by utilizing Azure’s integrated capabilities and resources. Data security and integrity can be preserved during transfer by properly managing SAS tokens and utilizing AzCopy. A crucial procedure for cloud data lifecycle management, switching the storage tier to cold also aids in cost optimization.

Step-by-Step Guide

Step 1: Generate Disk SAS URL

Navigate to the Azure Portal:

Open the Azure portal.

Locate the Disk:

Navigate to “All resources” or utilize the search function to find the desired managed disk

step1

Generate SAS URL:

Select the disk from the list.

Within the disk’s overview blade, click the “Export” button at the top.

Define the expiration time for the SAS URL.

step1b

Click on “Generate URL.”

Copy the provided URL; this serves as your Disk SAS URL.

step1c

Copy the provided URL; this serves as your Disk SAS URL.

step1d

Step 2: Generate Storage SAS Token for Destination

Navigate to the Azure Portal:

Open the Azure portal.

Locate the Storage Account:

Head to “Storage accounts” and choose the storage account designated for the disk’s relocation.

step2

Generate SAS Token:

Under “Settings,” navigate to “Shared access signature.”

Specify the permitted services (Blob, File, etc.), resource types, and permissions (Read, Write, etc.).

step2b

Set the start and expiration time.

Verify that the option “Generate SAS and connection string” is chosen.

Copy the SAS token that appears in the “SAS token” box.

step2c

Additionally, copy the blob storage location.

step2d

step2e

Step 3: Move Disk to Cold Storage (Convert to Block Blob)

Execute AzCopy Command:

Utilize the following command, substituting placeholders with actual values:

Replace the placeholders with actual values:

<Source-Disk-sas-URL>: The SAS URL generated for the source.

<destination-storage-account>: The destination storage account name.

<destination-container>: The destination container name.

<destination-blob>: The destination blob name.

<destination-sas-token>: The destination’s SAS token

Example:

Now Run the above command in azure cloud cli

step2f

We must change the tier to cold storage after moving the unallocated disk to blob storage.

Change Tier to Cold Storage:

step2g

Select the disk to move to cold storage.

Choose “Change tier.”

Change the storage to the cold tier.

Save.

Conclusion

Transitioning disks to cold storage within Azure presents a substantial opportunity for slashing storage costs associated with infrequently accessed data. Leveraging AzCopy for transfer, SAS URLs for secure access, and tier adjustments ensures a secure and efficient process, making the most of Azure’s robust data management capabilities.

Drop a query if you have any questions regarding Azure and we will get back to you quickly.

Making IT Networks Enterprise-ready – Cloud Management Services

  • Accelerated cloud migration
  • End-to-end view of the cloud environment
Get Started

About CloudThat

CloudThat is a leading provider of Cloud Training and Consulting services with a global presence in India, the USA, Asia, Europe, and Africa. Specializing in AWS, Microsoft Azure, GCP, VMware, Databricks, and more, the company serves mid-market and enterprise clients, offering comprehensive expertise in Cloud Migration, Data Platforms, DevOps, IoT, AI/ML, and more.

CloudThat is recognized as a top-tier partner with AWS and Microsoft, including the prestigious ‘Think Big’ partner award from AWS and the Microsoft Superstars FY 2023 award in Asia & India. Having trained 650k+ professionals in 500+ cloud certifications and completed 300+ consulting projects globally, CloudThat is an official AWS Advanced Consulting Partner, Microsoft Gold Partner, AWS Training PartnerAWS Migration PartnerAWS Data and Analytics PartnerAWS DevOps Competency PartnerAmazon QuickSight Service Delivery PartnerAmazon EKS Service Delivery PartnerAWS Microsoft Workload PartnersAmazon EC2 Service Delivery Partner, and many more.

To get started, go through our Consultancy page and Managed Services PackageCloudThat’s offerings.

FAQs

1. What is a SAS URL, and why is it necessary?

ANS: – A Shared Access Signature (SAS) URL grants temporary, secure access to Azure resources without exposing account keys, which is crucial for controlled disk and storage account access during transfers.

2. How do hot, cool, and cold storage tiers in Azure differ?

ANS: – Hot storage caters to frequently accessed data, and cool storage accommodates infrequently accessed but immediately available data. In contrast, cold storage serves rarely accessed data with minimal availability requirements, offering the most economical storage solution.

WRITTEN BY Shaikh Mohammed Fariyaj Najam

Mohammed Fariyaj Shaikh works as a Research Associate at CloudThat. He has strong analytical thinking and problem-solving skills, knowledge of AWS Cloud Services, migration, infrastructure setup, and security, as well as the ability to adopt new technology and learn quickly.

Share

Comments

    Click to Comment

Get The Most Out Of Us

Our support doesn't end here. We have monthly newsletters, study guides, practice questions, and more to assist you in upgrading your cloud career. Subscribe to get them all!