DEV Community

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

Posted on • Edited on

1 1 1 1 1

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.

What is a Virtual machine?
A virtual machine is a digital emulation of a physical computer that runs an operating system and applications just like a physical machine.

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

Heroku

Deploy with ease. Manage efficiently. Scale faster.

Leave the infrastructure headaches to us, while you focus on pushing boundaries, realizing your vision, and making a lasting impression on your users.

Get Started

Top comments (0)

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay