hands-on lab

Deploying a Windows Azure VM using Azure CLI

Difficulty: Beginner
Duration: Up to 1 hour
Students: 409
Rating: 4.7/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Azure CLI is the command-line interface provided by the Azure team with a set of commands used to create and manage Azure resources. While working with Azure CLI, you will get hands-on experience with different types of actions to manage the resources.

Azure Virtual Machines (VMs) offers an IaaS offering with on-demand, scalable computing resources. VMs offer a quick and easy way to create a computer with a specific configuration required for any purpose such as developing or testing an application while giving you the ability to decommission them when not needed to save costs.

In this lab, you will create an Azure VM using Azure CLI and interact with the resource programmatically using a terminal.

Learning Objectives

Upon completion of this lab, you will be able to:

  • Understand Azure VM CLI commands
  • Create a Windows Virtual Machine using Azure CLI
  • Use CLI Modules to interact with Azure VM resource

Intended Audience

  • Candidates for Azure Administrator Certification
  • Cloud Engineers
  • Cloud Architects
  • DevOps Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Azure Compute concepts

The following and labs can be used to fulfill the prerequisite:

Updates

May 2nd, 2023 - Updated theia to include autosave

Environment before

Environment after

Covered topics

Lab steps

Logging into Azure using Azure CLI
Exploring Azure CLI Commands for Virtual Machines
Creating Azure VM using Azure CLI
Interacting with VM using Azure CLI