Cloud computing is the future of technology, and Azure Virtual machine is at the forefront. It is a great option for workloads that need the flexibility of moving to the cloud. These are fast, secure, and reliable with an easy-to-use interface. This blog post will cover what you need to know about this new approach to IT, so let’s start.

What is Virtualisation?

Let’s begin by understanding virtualization. In layman’s terms, virtualization enables users to run multiple operating systems such as Windows and Linux on a single physical machine at the same time. Such operating systems are known as guest Oses (operating systems). Virtualization deploys software that makes an abstraction layer across computer hardware, letting processors, etc of a particular computer be segmented into several virtual elements called Virtual Machines (VM).

What is Azure Virtual Machine?

Azure virtual machines are a great way to create and deploy your own cloud infrastructure without investing in expensive hardware. It lets you run Linux or Windows on Azure’s highly scalable, reliable infrastructure that is built for the cloud era of computing.

  • It can be used for development and testing, Applications in the Cloud, and Extended Datacenter.
  • If you are running a virtual machine on Azure, you should keep in mind that you will be charged pay per minute for the compute time.
  • Prices for these vary depending on the size, operating system, and software installed.
  • It is important to keep it in Stopped (Deallocated) mode when you are not using it, in order to avoid usage fees.

Two tiers of Azure VM

Basic – These are ideal for development and testing but do not include load balancing or auto-scaling, and their IOPS are lower than the standard tier.

Standard – Provides higher-performance computing, memory, and IOPS than Basic.

Let’s create an Azure Virtual Machine.

An Azure Virtual Machine can be created in the below ways :

  • Azure Portal – It is an easy way for users to create virtual machines in Azure.
  • Templates- We can also create virtual machines in Azure, using ARM Templates, which is useful when you want to create several machines with the same configuration.
  • Client Disks – Azure Resource deployment using C#
  • REST APIs – using REST APIs we can create or update VMs.
  • PowerShell – We can also create virtual machines with PowerShell.

In this Blog we will use the first method we will create an Azure virtual machine using the Azure portal, let’s start:

Azure Virtual Machine

    • On this page click on Create and select the virtual machine.

Azure VM

    • Fill below details in the Basic tab and click Next: Disks:

      Table 1

      SettingsValues
      SubscriptionSelect default Subscription
      Resource groupCreate a new resource group
      Virtual machine namemyfirstVM
      Region(US) Central US
      Availability OptionsAvailability zone
      Availability zone1
      ImageWindows 10 Pro, Version 20H2 – Gen1
      SizeStandard_D2s_v3 -2vcpus, 8 GiB memory
      Administrator account usernamethinkcloudly
      Administrator account passwordThinkcloudly@1234
      Inbound port rules –**Allow select ports **
      Select inbound portsRDP (3389) and HTTP (80)
      LicensingI confirm I have an eligible Windows 10 license with multi-tenant hosting rights
    • Keep all disk-related data as default and click on next networking.
    • Go to the Networking tab and select HTTP (80) and RDP (3389) in the section Select inbound ports keep rest of options as default.
    • Click on Azure VM once validation completes clicking on create  
    • Wait for deployment to get completed.

Azure VM

Now, As we have created the Virtual Machine Let’s connect to it using RDP

  • Go to Virtual machines from All services blade and select the newly created VM myfirstVM

Azure VM

  • Click on connect and then click RDP after that download the RDP file by clicking on.Azure VM

Azure VM

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

  • Give username thinkcloudly and password Thinkcloudly@1234 on the windows security page.

Azure VM

  • A new Virtual Machine will launch inside your Lab. Accept the dashboard that appears for settings. You should see the blue background of your virtual machine.

Congratulations! You have deployed and connected to a Virtual Machine running Windows Server.

Azure is really interesting to study and it lands you in your dream company. Our students with experience in Azure are making $100,000 at an average. Explore our more free resources on Azure:

Conclusion:

The Azure Virtual Machine is a virtual machine that allows you to create and deploy applications without having to worry about physical hardware. This is accomplished by using an elastic pool of resources, which can be scaled as needed. It provides high availability for your application and helps protect against data loss due to disasters like natural disasters or human errors such as accidentally deleting files from servers. You may want to look into our cloud computing courses if this sounds intriguing!