Configure High Availability and Scale for Azure VMs
Learn On Demand
Learn On Demand Pro Series

Time
1 hour
Difficulty
Intermediate

This Configure High Availability and Scale for Azure VMs IT Pro Challenge instructs the learner on how to take an existing application and make it highly available and replace a Linux virtual machine (VM) with a scale set. Learners will also receive direction in how to deprovision, deallocate, and generalize the source VM. Learners interested in ...

Join over 2 million IT and cyber professionals advancing their careers

OR

Sign up with Google

Already have an account? Sign In »

Overview

This Configure High Availability and Scale for Azure VMs IT Pro Challenge teaches you how to create a VM image and use that image to create a scale set. Learners will also receive direction in how to deprovision, deallocate, and generalize the source VM. Learners interested in a career in cloud computing need to understand Azure VMs.

After completing this virtual lab, learners will understand what High Availability means and how to create a VM image with a scale set and load balancer.

Overview

For this virtual lab, the scenario is that you are a cloud operations engineer tasked with preparing an existing application for high availability and scale in Azure. High availability refers to the ability of a system to run at peak levels for a longer than normal period of time. It allows systems to continue to run even if a component fails.

Your current configuration is an Azure resource group with a VM that hosts the existing application. In order to accomplish your task, you have to do the following:

  • Replace a single Linux VM with a scale set
  • Use Cloud Shell to deprovision, deallocate, and generalize the source VM
  • Create a VM image
  • Use the VM image to create a scale set

At the beginning of this virtual lab, you are provided with a Resource Group and a Virtual Machine.

Start Cloud Shell and Configure Storage

In the first step of this virtual lab, you will login to the Azure portal, create a storage account, and a file share.

Create a Virtual Machine Image

Now you will learn how to create a VM image by using the Secure Shell (SSH) protocol to connect to the existing VM, deprovision & deallocate the VM, and then create a new VM.

Deallocate - When you use the Azure Web Management Interface to stop a VM.

Deprovision - When you provision a VM, you’re essentially telling the VM what software and configurations to use. The act of deprovisioning is to remove any VM-specific files and data.

Create a Virtual Machine Scale Set That Has a Load Balancer

Finally, you will learn how to use Azure’s Command Line Interface (CLI), which is similar to PowerShell, to create a scale set with three instances. A scale set is simply a group of VMs that are identical and running an application that’s controlled by the administrator. Scale sets can be increased or decreased based on need.

Using the VM image that you created in this virtual lab, you will create a load balancer and automatically generate SSH keys for authentication. A load balancer is exactly what it sounds like - a means to balance network traffic over multiple VMs.

Summary Conclusion

By taking this tutorial, you will learn how to do the following:

  • Start Cloud Shell and configure storage
  • Deprovision a VM
  • Deallocate a VM
  • Create a VM image
  • Create a VM scale set with a load balancer

You gained a broad understanding of how to use a VM image and why it’s important to load balance that image so that you can avoid any unplanned outages.

Comprehensive Learning

See the full benefits of our immersive learning experience with interactive courses and guided career paths.

LEARN MORE. ACHIEVE MORE.

Connect the pieces

Completing a Learn On Demand Pro Series is one thing, mastering the skill is another.

Master the skill and take this learn on demand pro series in an expertly designed Course.

LEARN MORE. ACHIEVE MORE.

Connect the pieces

Completing a Learn On Demand Pro Series is one thing, mastering the skill is another.

Master the skill and take this learn on demand pro series in an expertly designed Course.