FY18P20Labs

View the Project on GitHub

Single Region High Availability Lab

Step 1 - Connect to the Azure Cloud Shell

In this lab we will be using the Azure Cloud Shell. This provides us the ability to use the Azure CLI 2.0 from within our browser without needing to install anything locally (PowerShell support coming soon). You can also use the Azure CLI 2.0 from the console on your computer (More Info). Additionally everything we are doing can also be done via the Portal, PowerShell or an ARM Template, however we will be focusing on the Azure CLI 2.0 commands in this lab.

Lets begin by logging into the Azure Portal. Once you are in, select the icon to launch the Cloud Shell in the upper right.

Icon

You will now see a console at the bottom of your browser window. Here you will enter the commands below to complete the lab.

Let’s start by asking for some help from the Azure CLI 2.0. Enter the following command at the promt and observe the output.

az -h

As you see adding the -h switch to the end of any Azure CLI 2.0 command will output the help file for that command. Lets investigate help a bit more, try the following command.

az vm -h

As you can see vm is a subgroup fo the az command, by combining them together with the -h switch we can find out all the things we can do with VMs in the CLI.

Lab Navigation

  1. Overview
  2. Connect to the Azure Cloud Shell <– you are here
  3. Select your subscription
  4. Create the Resource Group
  5. Create the Availability Set
  6. Create the first vm
  7. Create the second VM same as the first
  8. Add the load balancer
  9. Look Mom its magic
  10. Extending this lab and Cleanup
  11. CLI commands Summary

Back to Index