Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
June 29, 2022 03:57 pm GMT

Creating Virtual Machine on Azure Portal

What is Virtual Machine?

Virtual machine is a virtual environment over your a system. Assume you have a Linux OS on your system, but you want to use Windows for some specific functionality, but you don't want to install it over your system. What you can do is, just create a VM (Virtual Machine) with Windows OS and use in whatever way you want virtually over your system.
So basically, a virtual machine (VM) is a virtual environment that functions as a virtual computer system with its own CPU, memory, network interface, and storage, created on a physical hardware system.

So, let's create a VM on Azure.

Move to the Azure Portal, and tap on the + icon with text Create a resource.
Image description

You will get similar interface show below. Choose the Virtual machine from the given option.
Image description

This interface will open up.
Image description

Let's now examine each option given.

Let the Subscription be as it is. And in Resource group, let's create a new one using the Create new option shown in blue below the input bar.
Image description
I am creating a Resource group named as VM_RG.

Now the question arise that, What is a Resource group?
So, a resource group is a container that holds related resources for an Azure solution. The resource group can include all the resources for the solution, or only those resources that you want to manage as a group.

The time to give our Virtual Machine a name.
Image description

  • In the Virtual machine name, I am giving the VM a name as VMonPortal.
  • Under Region, choose the region which is nearest to you. I am choose the region as Central India as it's nearest to me.
  • Keep the Availability option as No infrastructure redundance required.
  • Let the Security type remain as Standard.
  • Under Image choose the operating system which you want in your virtual machine. I am choosing Windows 11 Pro.
  • Leave the Azure Spot instance as unchecked.
  • Under Size, choose the size which suites your pocket. I am choosing the lowest one, i.e, Standard_D2s_v3.

Time to set the username and password of our VM.
Image description
You can see that there are some criteria related to the username and password, so choose the username and password accordingly.
And do remember this username and password, because this will help you to signin to your VM.

Leave the Inbound port rules section as it is.
Image description

Check mark the licensing confirmation.
Image description

Now your interface should look similar to this, with similar values.
Image description

Now tap on Next: Disks > button below.
Image description

Now this interface will open up which basically ask for the data disks you want in your VM.
Image description

I am keeping the OS disk type as Standard SSD, leaving the other items same.
Image description

If you want you add a data disk, but I am not adding any, leaving the other items as it is.
Image description

Now tap on the Next: Networking > tab below.
Image description

I am keeping all the items as it is, in the Networking tab.
Image description

Now directly tap on Review + Create button below.
Image description

The Review + create tab will open up with some information and costing of your VM.
Image description

Now just tap on the Create button below.
Image description
This will create the VM with the configurations you mentioned.
The creation process may take some time.

This kind of message can come up on your screen that the deployment is complete.
Image description

Now tap on Go to resource button.
Image description

The portal for the virtual machine will open up.
Image description

Awesome!!
We just now created our Virtual Machine on Azure Portal.

But wait!!!!
How to use the Virtual Machine now.

Let's see how we can start our Virtual Machine.

You can see this bar.
Image description

Here you have the option of Connect. So, you need to tap on the arrow with Connect and choose the RDP option from the dropdown menu.
Image description

Connect with RDP interface will open up, and now we need to download the RDP file using the Download RDP File button.
Image description

Now in your downloads folder, you can see a .rdp file with the name of your VM.
Image description
Just open that file.

Remote Desktop Connection interface will open up, and you need to tap on the Connect button to connect to your VM.
Image description

Windows Security interface will open up. But you need to tap on More choices option given below. And there you need to choose Use a different account option.
Image description

Now on the new interface, you need to add the username and password which you set while creating the VM. And then tap on OK button below.
Image description

If this kind of interface comes up, just tap Yes below.
Image description

Now you can see the Virtual Machine is opening up.
Image description
You can enlarge the VM and make it full screen and use it like your own system.

Yayy!
Now finally you have created your own Virtual Machine on Azure Portal and used it too.

Enjoy your new system


Original Link: https://dev.to/aniketkumarsinha/creating-virtual-machine-on-azure-portal-5c95

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To