DEV Community

Cover image for How to Create a Data Disk on a Windows VM, initialize it usable on Azure Portal
Ige Olanrewaju Ogunlade
Ige Olanrewaju Ogunlade

Posted on

How to Create a Data Disk on a Windows VM, initialize it usable on Azure Portal

Introduction to Azure Data Disks

Azure Data Disks play a crucial role in the world of cloud computing, especially within the Microsoft Azure ecosystem. These disks serve as durable storage solutions for virtual machines (VMs) running on the Azure platform, enabling users to persistently store data, applications, and operating system files.
This article aims at creating azure data disk and initializing it.

***Step 1:*
Signing in to the Azure portal**
Go to the Azure portal at https://portal.azure.com in a web browser.
Log in to the portal with your User ID and password.

Step 2:
Search for Virtual Machine on the azure web browser and click on the virtual machine as shown below:

Image description

This will give access to the existing machines created. Since we have one created, there may be no need to create another one, you can just add the disk to the existing one otherwise, a new virtual machine can be created and while doing this, a disk is equally created or added.

Image description

Step 3:
To add the data disk, click on the machine you want to add it to; navigate on the machine pane to locate data disk, here, we are adding disk to IgeLinuxVm2:

Image description

Step 4:
To create the disk, click on create and attach a new disk

Image description

Image description

Step 5:
Click "Apply" to generate the fresh data disk.

Image description

The disk has been created:

Image description

Step 6:
The first thing to be done on installation of a new disk is to get it ready for use, i.e format:
So connect next to the LinuxVm2:

Image description

Top comments (0)