Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Labs

Creating an Alerting Policy with Cloud Monitoring

An alerting policy describes a set of conditions that you want to monitor within your infrastructure. Alerting policies allow you to include granular information about your architecture to help troubleshoot issues, if needed. In this hands-on lab, we will set up an alerting policy with the help of uptime checks on a Compute Engine instance and then simulate instance failure to test that policy and see if it generates the desired notifications via email and SMS.

Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 45m
Published
Clock icon May 07, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create an Uptime Check

    In the Cloud Monitoring workspace, create an uptime check for your web-server instance. To quickly initialize it, limit uptime checks to the US region.

  2. Challenge

    Create the Alerting Policy

    In the Cloud Monitoring workspace, create a notification channel using SMS and email.

  3. Challenge

    Create a Notification Channel

    In the Cloud Monitoring workspace, configure an SMS and email notification using your cell phone number and email.

  4. Challenge

    Test the Alerting Policy

    Test the alerting policy by stopping your web-server instance. You should automatically receive an email and SMS message that there is an incident. Further, view the incident in the Alerting menu in Cloud Monitoring.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans