Start your first Azure Virtual Machine (Linux)


497 students completed the lab in ~54m

Total available time: 1h:30m

262 students rated this lab!

Lab Overview

Microsoft Azure is comprised of compute infrastructure and cloud services that Information Technology (IT) professionals and developers use to build, deploy and manage their applications.  This is a beginner level Lab that focuses on the Infrastructure as a Service (IaaS) component of Azure. The legacy model of IT includes purchasing, shipping, receiving, configuring, and booting up your infrastructure. In this Lab, you will launch your first Linux Virtual Machine (VM) in Azure in minutes… not days or weeks!



  • SSH key generation and client software installed on your local machine. (For example, PuTTY and PuTTYgen for Windows users)
  • Basic understanding of Information Technology (IT)

Learning Objectives

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

  • Log in and use the basics of the Microsoft Azure portal
  • Generate an RSA key pair for a secure shell (SSH) connection (uses PuTTYgen)
  • Configure a Linux VM
  • Launch a VM
  • Connect to the VM with SSH (via either ssh client (Linux) or PuTTY (Windows))
  • Perform basic VM controls (start, stop, restart, delete)

Lab Environment

Before completing the Lab instructions, the environment will look as follows:

After completing the Lab instructions, the environment should look similar to:


Do you have questions about this Lab? Contact our cloud experts by sending an email to

Follow these steps to learn by building helpful cloud resources

Logging into the Microsoft Azure portal

Begin the Lab by logging into the Microsoft Azure portal

Generating SSH Keys

Generate SSH Keys from a Linux or Windows local host

Configuring and Launching a Linux VM

Configure your Virtual Machine before launching it

Introduction to helpful Azure portal features

Learn a few simple features to help with both navigation and learning more about the portal

Connecting to the Virtual Machine (SSH)

Use Secure Shell (SSH) to connect to the running Linux VM from a Linux or Windows local host

Deleting the VM

Perform basic VM controls such as stop, restart and delete