Steps to create azure virtual machine for windows on the portal.
Tags: webdev, programming, beginners, cloud
Published: 2023-06-13 04:42:14

Azure virtual machine offers users to create their own office space on the go. its highly secured, offers developers a quick and easy way to create a computer with specific configurations required to code and test an application.  Following these steps creates a Linux,and windows virtual machine.

CREATING AZURE WINDOWS VIRTUAL MACHINE.
1 login to azure website www.portal.azure.com create an account

2 Select create a resource.
![Azure resources001] (https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wy6bcige7rvevulsay4h.png)

3 From the Create a resource window, select virtual machine.
![Azure resources002] (https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yauwkox7p9vtk80fpv0t.png) 

4 The next window that opens is the create a virtual machine. In Basic Menu bar, highlighted, these are some sections under it.

1. project details - The option comprises the Subscription, and Resource group which are important and compulsory. A Subscription is required for every user of Azure, and the resource group is like a container that holds different resources. We named the Resource group for this practical 'Raphealazureclass'.
![Azure resources003](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x5nwwpm2gtsowtfupdx9.png)
2 Instance detail- The options provided are Virtual machine name, Regions, Availability-options, Security-type, Image, Size and more.
The Name is what we name our machine. The Region in Azure is which datacenter our machine is located.
![Azure resources004](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g4w2nh1mzs2stvqd1bie.png)
Availability option drop down button when selected provides us some options, in this practical we choose Availability zone. We have zone1,2,3. In a zone we have three (3) or more data centers located in a region. The more zone you choose the better, the more costly.
![Azure resources005](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o0w293ptpufgvvfqln0v.png)
select zone 1 for this practical.
![Azure resources006](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zuoxf870vy826dvjv6ny.png)
image is referring to the operating system. Since we are installing windows operating system, choose it from the drop-down menu.
![Azure resources007](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ewrtylrk7upji8g5lhwu.png)
3 Administrator account - It is made up of the username and password.
![Azure resources008](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ha19s56pia1g01lwxeyq.png)

4 Inbound port Rules- We are leaving it as default for this practical, note for creating a windows virtual machine we are using RDP 3389.

![Azure resources009](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3elg0tfsbfzeljojowhs.png)

5 licensing - Select the box and click.

![Azure resources010](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zv46m1x28cmv325dwnen.png)

Next, we move to the Monitoring menu, Select Diagnostics tab, boot diagnostic and disable.

![Azure resources011](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e1p9ik8ymbap8faejw4r.png)
6 We click on Review and Create and wait for the machine to be provisioned.

![Azure resources012](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fniqdplskajczsk20m6e.png)
7 When it shows 'Validation passed', then click the 'create' button.

![Azure resources013](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gn9u140j0rpbms60isi0.png)
8 The Virtual machine is being created , we just wait for the machine to create all necessary resources it needs to work.

![Azure resources014](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m5xyd2ty0pf995ur658s.png)
8 The Virtual Machine created is now ready. To access the machine, look at the left pane, Select settings. On the window open, select Download RDP.

![Azure resources015](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6wsdm28sltjjlwyezkfo.png)
9 Now, your RDP has been downloaded you sign into your Virtual Machine using your Username and Password. Remember while creating our machine we used 'Azureuser'

![Azure resources016](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ir7bkg5gf54bjce6au8o.png)
10 Finally our Machine is ready.
![Azure resources017](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l5vunf8sduiq76he0fl1.png)
This guide shows you a step-by-step process to creating a windows machine.