Jump to content

Windows Virtual Machine in Azure Portal


Recommended Posts

Guest rtripurani
Posted

A Virtual Machine (VM) is like any physical laptop, smartphone, or server that we use in our day-to-day life. It has features like CPU, memory, storage size, and different networking ports with boot disk similar to the gadgets mentioned above.

 

But these are virtual computers unlike laptops, smartphones that are physical and tangible. They exist as code and can be referred to as a computer inside a computer.

 

 

 

Virtual machines are a part of Azure’s Infrastructure as a Service (IaaS) offering that allows you to have the flexibility of virtualization without having to invest in the underlying infrastructure.

 

 

 

Advantages of VMs:

 

The portability, flexibility, and availability of virtual machines give us many benefits:

 

  • It saves costs on maintenance, electricity, and the need for infrastructure.
  • It is quicker and faster to have a new virtual machine up and running.
  • It has a much lower downtime compared to physical hardware.
  • It is easily scalable and gives the same performance for each and every separate instance we require.
  • It is safe and secure as any application running in the virtual machine’s environment doesn’t affect the main system.

 

Let's explore how to create and work with Windows virtual machines in Azure.

 

 

 

To create virtual machine

 

 

 

  1. Sign into your subscription in the Azure portal (Microsoft Azure) using your admin credentials
  2. Enter virtual machines in the search.

 

largevv2px999.png.3c0b918fbafe1aa36695a62e64cd737b.png

 

 

 

  1. Under Services, select Virtual machines.
  2. In the Virtual machines page, select Create and then Azure virtual machine. The Create a virtual machine page opens.

 

largevv2px999.png.3033f438073aaee1c3851f0ba6c813c7.png

 

 

 

  1. On the next page, choose the subscription from the dropdown (most likely your Azure Grant subscription)
  2. Under Resource Group, click Create New and give it a name, this is just for you so name it something recognizable, such as myVMdemo. It’s important to note the name (must be all one word).
  3. Under Instance details, enter myVM for the Virtual machine name
  4. Select your Region from the dropdown
  5. Choose Windows Server 2019 Datacenter - Gen 2 for the Image. Leave the other defaults.

 

largevv2px999.png.607750c5b8fe674a92773e12fb2cce22.png

 

 

 

  1. Under Administrator account, provide a username, such as vmuser and a password. (Remember this username and password)
  2. Under Inbound port rules, choose Allow selected ports and then select RDP (3389) and HTTP (80) from the drop-down.

 

largevv2px999.png.a77c21e60525ce354b17fe53b2dcb946.png

 

 

 

  1. Leave the remaining defaults and then select the Review + create button at the bottom of the page.
  2. After validation runs, select the Create button at the bottom of the page.

 

largevv2px999.png.526c3b12d64b0da9e6a0cdceb5650f0c.png

 

 

 

  1. After deployment is complete, select Go to resource.

 

largevv2px999.png.4f13c61909d7ce51dcebdab8dd0e637c.png

 

 

 

Congratulations ! Now you have created your VM. Let's see how you can connect to it.

 

 

 

Connect to virtual machine

 

These directions tell you how to connect to your VM from a Windows computer.

 

  1. On the overview page for your virtual machine, select the Connect > RDP.

 

largevv2px999.png.e78a8f5541383f665c7e758107568cef.png

 

 

 

  1. In the Connect with RDP tab, keep the default options to connect by IP address, over port 3389, and click Download RDP file.

 

largevv2px999.png.430e0034340f981fe7d0743963a0ac37.png

 

2. Open the downloaded RDP file and click Connect when prompted.

 

largevv2px999.png.e808a75bb2b1e3557e798d5819931678.png

 

3. In the Windows Security window, select More choices and then Use a different account. Type the username as localhost\username, enter the password you created for the virtual machine, and then click OK.

 

 

 

largevv2px999.png.f57ed391cf9a33bb2da643f166b39ad4.png

 

 

 

4. You may receive a certificate warning during the sign-in process. Click Yes or Continue to create the connection

 

 

 

largevv2px999.png.6527b8ff91a7d8b2d313b2813da05e70.png

 

 

 

Now you have created a virtual machine and connected to it. You can add cloud backup to it or enable site recovery

 

 

 

Resource: Quickstart - Create a Windows VM in the Azure portal - Azure Virtual Machines | Microsoft Learn

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...