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

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

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

Okay