🚀 Day 3: Create VM Using Azure CLI | 100 Days of Cloud (Azure)
Welcome to Day 3 of the 100 Days of Cloud (Azure) series! In this hands-on lab, we explore how to create and manage an Azure Virtual Machine using the Azure Command-Line Interface (CLI). This task demonstrates the power of automation and infrastructure management without relying on the Azure Portal.
As part of their cloud migration strategy, the Nautilus DevOps team is transitioning workloads to Microsoft Azure. Since they do not have access to the Azure Portal, all resources must be managed through the azure-client host using the Azure CLI—an essential skill for modern DevOps professionals.
📌 Lab Objective:
Provision and configure an Azure Virtual Machine using the Azure CLI with secure and optimized settings.
🛠️ Task Requirements:
Virtual Machine Name: datacenter-vm
Operating System: Ubuntu 22.04 LTS (Ubuntu2204)
VM Size: Standard_B2s
Admin Username: azureuser
Authentication Method: SSH key-based authentication
Storage Type: Standard_LRS
Disk Size: 30 GB
Access Method: Azure CLI via azure-client host
Final State: VM must be in a running state after creation
💻 Azure CLI Command Used:
az vm create \
--name datacenter-vm \
--resource-group RESOURCE_GROUP_NAME \
--image Ubuntu2204 \
--size Standard_B2s \
--admin-username azureuser \
--generate-ssh-keys \
--storage-sku Standard_LRS \
--os-disk-size-gb 30 \
🔐 Verify the VM Status:
az vm show \
--name datacenter-vm \
--resource-group RESOURCE_GROUP_NAME \
--show-details \
--query "powerState" \
--output table
📚 What You’ll Learn in This Video:
How to create Azure Virtual Machines using the Azure CLI
Automating cloud infrastructure without the Azure Portal
Configuring secure SSH authentication
Selecting appropriate VM sizes and storage options
Managing Azure resources from a command-line environment
Verifying VM deployment and operational status
Real-world DevOps practices in cloud environments
🌐 Why This Lab Matters:
Mastering the Azure CLI is essential for automation, scripting, and Infrastructure as Code (IaC). This lab equips you with the practical skills needed to manage Azure resources efficiently in real-world DevOps workflows.
🎯 Series: 100 Days of Cloud (Azure)
Follow along to gain hands-on experience with Azure services, including Virtual Machines, Networking, Storage, Security, and DevOps tools.
🔔 Don’t forget to like, share, and subscribe for more practical cloud tutorials from OtterTech!
#Azure #MicrosoftAzure #AzureCLI #CloudComputing #DevOps #AzureVM #Linux #Ubuntu #Automation #Nautilus #100DaysOfCloud #OtterTech #Day3
On this page of the site you can watch the video online Day 3: Create VM using Azure CLI with a duration of hours minute second in good quality, which was uploaded by the user Otter Tech 14 April 2026, share the link with friends and acquaintances, this video has already been watched 47 times on youtube and it was liked by 0 viewers. Enjoy your viewing!