DEV Community

Cover image for How to Create a Windows Virtual Machine in Azure
Tijani Mojeed
Tijani Mojeed

Posted on • Updated on

How to Create a Windows Virtual Machine in Azure

In the early days of computing, systems were always physical, meaning that a computer was a discrete collection of hardware that ran an operating system and often used various input and output devices.
Imagine a data center where every computer is a separate, physical device. You can also imagine that the requirements for power, cooling, networking, and management would be significant.

Virtualization changed that model. Although physical computers are still a major component of many organizations’ IT infrastructure, organizations are increasingly moving toward the use of virtual machines (VMs).
A virtual machine is an emulation of a computer system that provides the functionality of a physical computer.

Below is a step by step on how to create a windows virtual machine in Azure

  1. Log in to your Azure account at https://portal.azure.com

  2. From the Azure Portal dashboard, click on the "Create a resource" button in the upper left-hand corner of the screen.

  3. Type "Virtual Machine" in the search bar and select "Virtual Machine" from the search results.

  4. On the "Basics" tab, select the subscription you want to use, and then create a new resource group or select an existing one.

  5. Give the virtual machine a name and choose the region where you want to create the virtual machine.

  6. Select the image for the virtual machine. You can choose from a list of pre-configured images provided by Microsoft or use your custom image.

  7. Choose the size of the virtual machine by selecting the desired number of cores and amount of RAM.

  8. On the "Settings" tab, configure the desired settings for your virtual machine, such as storage options, network settings, and administrative account details.

  9. Customize any additional settings, such as extensions or boot diagnostics.

  10. Finally, review all the settings and click on the "Create" button to create the virtual machine.

  11. You have now created a virtual machine in the Azure Portal. You can now access your virtual machine via Remote Desktop, SSH or Azure PowerShell, depending on your desired configuration.

The image below illustrate a windows virtual machine created in Azure.

fig. 1.1 shows the illustration on how windows virtual machine in Azure is being created.

Image description

Image description

Image description

fig1.2 shows a virtual machine created in Azure which is ready for use.

Image description

Image description

Top comments (3)

Collapse
 
rdgmh profile image
Raphael Gab-Momoh

Nice ****

Collapse
 
rdgmh profile image
Raphael Gab-Momoh

Welldone

Collapse
 
mojeed-88 profile image
Tijani Mojeed

Thank you sir