Manage virtual machines with the Azure CLI

Beginner
Developer
Administrator
Solution Architect
Student
Azure
Azure Virtual Machines
Azure CLIs

Learn how to use the cross-platform Azure CLI to create, start, stop, and perform other management tasks related to virtual machines in Azure.

Learning objectives

In this module, you will:

  • Create a virtual machine with the Azure CLI.
  • Resize virtual machines with the Azure CLI.
  • Perform basic management tasks using the Azure CLI.
  • Connect to a running VM with SSH and the Azure CLI.

Prerequisites

Basic understanding of the Azure CLI tool from the Control Azure services with the CLI module.

Important

To complete the optional exercises in this module, you need to use your own subscription, which might incur charges. If you want to follow along, you can use a trial subscription or a subscription that you already have access to.

Get started with Azure

Choose the Azure account that's right for you. Pay as you go or try Azure free for up to 30 days. Sign up.