How to create an Azure Virtual Machine?

  • Post category:Solutions
  • Reading time:8 mins read

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. As layman 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 system). 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 test, 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 using 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

      Settings Values
      Subscription Select default Subscription
      Resource group Create new resource group
      Virtual machine name myfirstVM
      Region (US) Central US
      Availability Options Availability zone
      Availability zone 1
      Image Windows 10 Pro, Version 20H2 – Gen1
      Size Standard_D2s_v3 -2vcpus, 8 GiB memory
      Administrator account username thinkcloudly
      Administrator account password Thinkcloudly@1234
      Inbound port rules – **Allow select ports **
      Select inbound ports RDP (3389) and HTTP (80)
      Licensing I 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 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.

pic 9 7

  • 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.

Conclusion:

The Azure Virtual Machine is a virtual machine that allows you to create and deploy applications without having to worry about the 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!



Interview Prepration Quiz

Category : Quiz
AWS Database Interview Questions | Elastic Load Balancer Interview Questions | Auto Scaling Group Interview Questions | Basics of Cloud Interview Questions | IAM Interview Questions | Introduction to Cloud Computing Interview Questions | Azure Services Interview Questions | Basic ure Concepts Interview Questions | Azure Storage Interview Questions | Management Tools on Azure Interview Questions | Introduction to Comput Networking Interview Questions | Authentication and Authorization Interview Questions | Elastic Block Storge Interview Questions | Elastic File System Interview Questions | S3 Interview Questions | Simple Queue Service Interview Questions

Leave a Reply