Create a Virtual Machine in Azure

A step-by-step guide for beginners to deploy your first virtual machine on Microsoft Azure.

Welcome to our guide on creating a Virtual Machine (VM) in Azure! Azure VMs provide on-demand, scalable computing resources. This tutorial will walk you through the essential steps using the Azure portal.

Prerequisites

Before you begin, ensure you have:

Step 1: Sign in to the Azure Portal

Navigate to the Azure portal and sign in with your Azure account credentials.

Step 2: Create a Virtual Machine

In the Azure portal, search for "Virtual machines" and select it. Then, click the "Create" button and choose "Virtual machine".

This will open the "Create a virtual machine" blade.

Step 3: Configure Basic Settings

You'll need to fill in the following basic details:

Step 4: Configure Disks

You can accept the default disk settings or customize them. For OS disks, SSDs offer better performance. You can also add data disks if needed.

Step 5: Configure Networking

Azure automatically creates a virtual network, subnet, public IP address, and network security group (NSG) for your VM. You can customize these if you have specific networking requirements.

Step 6: Review and Create

Review all the settings you've configured. Azure will perform a validation check. Once validation passes, click the "Create" button.

The deployment process can take a few minutes. You can monitor the progress in the Azure portal notifications.

Accessing Your VM

Once the deployment is complete:

Congratulations! You have successfully created and deployed a virtual machine in Azure.

Deploy a Windows VM Now Deploy a Linux VM Now