Automating Infrastructure Health with Azure Automation Runbooks

Lab Steps

lock
Logging into the Microsoft Azure Portal
lock
Creating an Azure Automation Account
lock
Configuring an Azure Automation Account Connection
lock
Creating an Azure Automation Runbook
lock
Configuring an Azure Automation Runbook to Restart an Azure VM
lock
Creating an Azure Metric Alert to Trigger an Automation Runbook
lock
Connecting to the Lab Provisioned Virtual Machine
lock
Triggering an Azure Metric Alert with Artificially High VM CPU Usage

Ready for the real environment experience?

DifficultyBeginner
Time Limit1h 30m
Students51
Ratings
5/5
star star star star star

Description

Azure Automation is a service that offers the ability to automate almost any kind of resource management and administration across both your cloud and non-cloud environments. Among many other things, it can automate configuration and update management, task scheduling, problem remediation, and resource health, among both Windows and Linux environments, both in the cloud and on-premises. Companies use Azure Automation because it offers an intuitive way to automate almost any computing need.

Azure Automation runbooks are ways to store and execute pre-defined code, either on a schedule or in response to some kind of trigger. In this lab, you'll practice setting up a runbook to remediate a high CPU usage problem with an Azure VM.

Learning Objectives

Upon completion of this lab you will be able to:

  • Configure Metric Alerts in Azure to trigger Azure Automation Runbooks
  • Create and configure runbooks in the Azure Portal
  • Use runbooks to interact with other Azure resources

Intended Audience

This lab is intended for:

  • Azure administrators
  • Cloud engineers
  • Solutions architects and DevOps engineers
  • Anyone with a need to automate something in Azure or on-premises

Prerequisites

You should be familiar with:

  • Basic familiarity with the Azure Portal is helpful, but not required
  • Basic familiarity Windows Powershell is helpful but not required
Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW

About the Author

Students24620
Labs38
Learning paths1

Matt has worked for multiple Fortune 500 companies as a DevOps Engineer and Solutions Architect. He is an AWS Certified Solution Architect - Associate, AWS Certified SysOps Administrator - Associate and an AWS Certified Developer - Associate. He enjoys reading and learning new technologies.