Important Key Aspects to Create the VM in Microsoft Azure

Azure provides Hardware and Software configuration to create the VM as part of the IaaS (Infrastructure as a Service) model. It's your responsibility to select the proper configuration depending on your requirements. Creating the VM in Microsoft Azure is straightforward, but some important key aspects we need to consider to balance your budget and your needs are important.

All versions of Windows and Linux Operation Systems are available as images in Azure Marketplace. You can even find other OS images in the marketplace from different vendors and select any of these based on your requirements.

Other than OS selection, some more critical aspects are listed below that we have to consider while creating the VM in Azure.

Name – Name of the VM, which can be up to 15 characters long.

Location – Azure has many data centers across the globe, and select the correct geographical region from where you have more customers for better performance.

Limits -  By default, each Azure subscription has a limit of 20 VM's per region, and you can increase this limit by contacting the Microsoft Azure support service.

Size – The number of resources you assign to VM includes memory, processing power, NICs (Network Interface Cards), and total storage capacity available for VM.

Extensions -  Using Extensions, we can automate the configuration or tasks after VM gets created successfully. For example, we can automate the collecting of VM diagnostic data by using extensions.

Resource Group – To create any resource in Azure, including VM, we need to have a resource group first. If we don't have any existing resource group, we can create a new resource group while creating the VM.

Storage Account – Storage accounts used to store VM disk (.vhd) files as page blobs. Depending on your performance requirements, you can select standard or premium storage accounts. If you don't want to handle VM disks yourself, you can choose managed disks while creating the VM. Azure handles these manage disk storage accounts automatically, and it won't appear in your VM configuration.

Virtual Network – We need a Virtual network to connect your VM to the Internet.

Network Interface – VM in Azure needs some Network Interface to connect to the Virtual Network.

There are four ways to create the VM in Microsoft Azure; we discuss them in my next articles.

  • Create VM through Azure Portal
  • Programmatically create the VM using C#
  • Create VM through PowerShell
  • Create VM using Azure CLI

tags: