Zum Inhalt springen

How to create a window 10 virtual machine and attach a data disk to it.

Virtual machine is a software-based emulation of a physical computer. It runs an operating system and applications just like a real computer, but it’s hosted on a physical machine (called the host) and managed by a hypervisor (software that creates and runs VMs).

Disk In Microsoft Azure, is a virtualized block storage used primarily with Virtual Machines (VMs). It’s similar to a hard drive in a physical computer but exists in the cloud. Disks in Azure store your operating system, application data, and other files.

How to create a window 10 virtual machine.

1.Login to Azure portal https://portal.azure.com.

Azure portal

2.In Azure portal, in the search resources, search for virtual machine and select the grayed out virtual machine.

Virtual machine

3.Select + Create.

+ Create

4.Select Virtual machine.

Virtual machine

5.Under Basics, fill in the project details. Select the subscription and the resource group or create new one.

Project details

6.Under Basics, fill in the Instance details: choose the name of the virtual machine, region, availability option, availability zone, security type, the Image (which is the operating system), the size and then check on the Run with Azure spot discount.

Instance details

7.Under Administrator account, choose a Username and create a password

Administrator account details

8.Under Inbound port rules, select your inbound ports as HTTP 80 because we use windows as our operating system and keep your Remote desktop protocol as 3389.

Inbound ports

9.Finally under the Basics, check the Licensing.

Licensing checks

10.Under Monitoring, disable your boot diagnostics for Privacy. Hosting a virtual machine on Azure, basically gives Microsoft a track of your deployments, so to stop that you have to disable your boot diagnostics.

Monitoring

11.Under Tags, create a name and value to help categorize resources for easy identification and monetary tracks.

Tags

12.Select Review + create.

Review + create

13.When validation is passed, select Create.

Create

14.Wait for the deployment to complete and go the resource.

Complete deployment

15.On the resource, select the public IP address.

Public IP address

16.Increase the idle time out and save.

Idle time out

How to add data disk to the virtual machine.

1.On the home page of the virtual machine, go to the side menu, under settings, select Disks.

Disks

2.Under data disks, select create and attach new disk.

Create and attach new disk

3.After selecting, create and attach new disks, choose the LUN(logical unit number), disk name, storage type, size, encryption and host caching. And apply

To create new data disk

Apply

Connect to your Remote desktop and format the data disk to be healthy or usable.

1.On the virtual machine overview, select connect to connect to your remote desktop.

Connect

2.Click on Select and for validation and configuration.

Select

3.Select download RDP file to download the file.

Download RDP file

4.Go to your download to open the file

Downloaded file

5.Remote desktop connection security warning will prompt up, select connect

Remote desktop connection security warning

6.Enter your Admin password for authorization.

Password

7.Remote desktop connection certification warning will prompt up, select yes.

Certification warning

8.Remote desktop is deployed and connected.

Remote desktop

To format the data disk and make it usable/Healthy.

1.On your Remote desktop, under the window search portal, type in disk management select create and format hard disk partitions

Disk management

2.Select ok to initialize a disk before logical disk manager can access it.

Ok

3.Scroll down, On the disk you created (Disk 2),right click and select New simple volume

New simple volume

4.Select Next to start the New simple volume wizard

New simple volume wizard

5.Select Next to specify volume size

Specify volume size

6.Assign drive letter or path and select Next.

To assign drive letter or path

7.choose the volume label and select Next

Volume label name

8.Select Finish to complete the New simple volume wizard.

Finish new simple volume wizard

9.After completing our new simple volume wizard, then our disk is healthy/usable or allocated.

Usable/Healthy disk.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert