DEV Community

Cover image for Creating a Virtual Machine in Azure Portal
Blessing Azeta
Blessing Azeta

Posted on

Creating a Virtual Machine in Azure Portal

Hello everyone, this article will focus on step-by-step process on how to create a virtual machine in Azure.

Creating a Virtual Machine in Azure Portal

  • In the Search resources, services and docs field, type virtual machines.
    Vmachines

  • Click the Create button to start the virtual machine creation process
    createvirtual

  • From the options choose Create a virtual machine hosted by Azure.
    Azurevm

  • Enter Project details this would be our subscription, resource group and Virtual Machine Name.
    projectdetails

  • Provide information about our virtual machine, such as the operating system, size, and other configuration settings.
    instancedetails

  • Create an Administrator Account. We need a username and a password in case we need to connect to the Virtual Machine.

  • Select the inbound port rule as SSH if we selected a Linux VM and RDP if it's a windows VM.
    adminacct

  • Check the licensing.
    license

  • Click on the Monitoring tab, and click on disable under boot diagnostics.
    monitoring

  • Click on the Tags tab, and assign name/value pairs to categorize resources. (Optional depending on use-case.)
    namevaluepairs

  • Click on Review + Create button.
    reviewcreate

  • If the validation passes, the deployment will go on.
    Click Create to continue.
    validated

  • Check the Status and Go to resource.
    deploymentcomplete

  • Once the virtual machine has been deployed, we can access it by clicking on the Connect button in the virtual machine blade in the Azure portal.
    connect

  • Click Native RDP and click on Select.
    Wait for configured sign to be displayed on the right hand side before you click on Download RDP.
    downladrdp

  • Open the RDP file from local computer.
    Localfile

  • Click on Connect.
    connect

  • Enter the Admin details created during the process of creating the VM.
    admindetails

  • Accept the terms
    agreement
    interface

  • You can start using your virtual machine.
    windows

Top comments (0)