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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.