Create a Virtual Machine In Azure And Attach An Empty Disk To It

Introduction

Azure allows you to work with Virtual Machines, like Linux, Windows Server, SQL Server, Oracle, IBM, and SAP, by providing different supports with a large range of computing solutions, running applications, development, and testing etc. Here, Azure also supports you to work with Open Source for flexibility.

Requirements

  1. Windows Azure account

Follow the following steps to create a VM and attach a disk to it:

Note: Here, we will be using Windows Server

Step 1: Login to your azure management portal by this URL

Step 2: Create a VM (Windows Server 2012) ,

VM

Step 3: Now, download the remote desktop connectivity file and connect for the VM – Windows Server 2012.

Note: Make sure that there is no proxy added at your internet connectivity.

connectivity

Click on the RDP file and connect.

connect

Enter the login credentials, now.

credentials

credentials

Once your VM is connected, the Server Manager will be opened automatically.

Server Manager

Now, the VM is created.

Let’s start working on attaching disks to the VM.

Attaching Disks to Virtual Machines

Step 4: Go to the Azure Management portal and click on Attach -> Attach Empty Disk.

portal

Step 5: Now, enter the size that you want, for the disk to be attached. I have added 5 GB.

disk

Once the disk is attached, go to the Server Manager in the VM created.

Server Manager -> File and Storage Services -> Disks.

Disks

Here, you can find the Disk created.

Step 6: Server Manager ->Tools -> Computer Management.

Computer Management

Step 7: Click on Disk Management.

Disk Management

Now, click on OK.

Step 8: Go to the New Simple Volume by right clicking on the Disk 2.

New Simple Volume

New Simple Volume

Step 9: Next -> Allocate the Volume size -> Drive Letter -> File System.

Allocate the Volume size

File System

File System

File System

Step 10: Now, the following pop-up will open. Click on the Format Disk and undergo a complete format.

File System

File System

File System

Now, you can find the disk attached.

disk