FY18P20Labs

View the Project on GitHub

Single Region High Availability Lab

Step 2 - Select your subscription

Now that we know how to ask for help, lets run the following command to list the available Azure Subscriptions tied to your account.

az account list --output table

Note: you can copy paste commands from here into the portal, however you must use the mouse when pasting into the portal.

Your output should look something like this:

Screen

Take note of the --output table switch. This takes the output from the list command and formats it in an easy to read table.

You can see that I have 3 Azure subscriptions. You might only have one, however if you have more than one ensure that the one you want to use for the lab today is set as default. If the proper subscription is not set to default you can change it with this command.

az account set --subscription 'Subscription Name'

It is also a good idea to take a look at the Azure Regions available to your subscription, we will be using one of these regions for our lab today.

az account list-locations --output table

When picking a region I look at a few factors for example: Does the region have the Azure services I need (check the list here)? Is the region close to me and in the right geo-political area? For todays lab you can use just about any Azure region as the IaaS services we are going to use are available in most regions.

Lab Navigation

  1. Overview
  2. Connect to the Azure Cloud Shell
  3. Select your subscription <– you are here
  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