How to do it...

In this recipe we'll create an alerting policy to see if the application is up and running. Additionally, we'll also set up an uptime check to see whether the server is up and running:

  1. Select your project in the GCP Console and navigate to Stackdriver | Monitoring.
  2. If monitoring is not setup for your project, you'll see the following screen:
  1. You can either create a new Stackdriver account or add the project to an existing account as per your need.
  2. Let's create a new Stackdriver account by clicking on Create Account:
  1. In ...

Get Google Cloud Platform Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.