Discover How to Create an Azure VM in Microsoft Azure Cloud

Adam Bertram
8 min readFeb 8, 2023

Originally published at https://adamtheautomator.com by Sagar on February 8, 2023.

If you plan to start with Microsoft Azure Cloud, nothing could be better than launching your first Azure virtual machine (VM). Azure VMs are hosted on hypervisors, where you can customize all software, such as operating systems (OS), configurations, and so on,

In this tutorial, you will learn how to launch your first Azure VM via Azure Cloud Shell and Azure Portal.

Read on and start your journey to cloud computing!

Prerequisites

This tutorial comprises step-by-step instructions. To follow along, be sure you have the following in place:

Related:How to Install Azure CLI (Windows, Linux, macOS, Azure Shell)

Activating the Azure Cloud Shell to Create an Azure VM

Azure offers VMs, one of several on-demand, scalable computing resources that improve operational efficiency. With Azure VMs, you can migrate business-critical workloads to Azure infrastructure without buying and maintaining the physical hardware that runs it.

When provisioning a resource on Azure Cloud, like a VM, you have two ways: Azure Cloud Shell CLI (Interfaces) and Azure Management Console (Explorer).

Related:Getting Started with the Azure Cloud Shell

These interfaces allow you to work with Azure Services via the typical Azure Cloud Shell (Commander style). But in this example, you will use the Azure Cloud Shell first to launch your first instance in Azure Cloud, as follows:

1. Open your favorite web browser, and log in to Azure Portal.

2. Next, click the Cloud Shell icon (upper-right) to launch the Azure Cloud Shell, as shown below.

Activating Azure Cloud Shell

3. Next, run the below az vm command to launch (create) the instance named (my-vm) on Azure Cloud. Be sure you replace <resource-group-name> with your…

--

--

Adam Bertram

A 20-year veteran of IT, crypto geek, content creator, consultant and overall problem solver.