Google Cloud Integration


Overview

The Google Cloud integration relies on Google Stackdriver as the means of communication between your resources and Bellme. Stackdriver is the primary means of sending alerts from Google Cloud and interfaces with most resources within your infrastructure.

Setup

ℹ️ As with every integration, we recommend using separate API keys for each.

Webhooks

First off, ensure you have both a Bellme Policy and Integration set up. The integration's type should be 'Google Cloud'.


Next, you'll need to create a static webhook within Stackdriver. Each webhook configuration can be used by multiple Stackdriver policies, so you'll only have to do this once. Head over to Webhook config page and click 'Add Webhook'.


We'll need to get our Endpoint URL next. To get the Endpoint URL for your Integration, click on the three vertical dots next to it on the Integrations tab within your Bellme dashboard, and click 'Get URL'. Enter the URL into the field, making sure to replace YOUR_API_TOKEN with an API token from the API section of your settings page. Now, just give your Webhook a sensible name which will be recognisable when creating alert policies in Stackdriver. You can leave 'Basic Auth' unchecked, as we're using our Bellme API key as authentication.


If you'd like to test that your Webhook and Bellme Integration are hooked up properly, before saving, hit 'Test Connection'. Bellme will recognise this as a test and alert the correct team member based on your Policy settings with a test message.

Alerting Policies

There are many, many ways to alert on your infrastructure through Stackdriver, and Google's own documentation will serve you much better from here. We recommend this guide for Alerting on Uptime Checks from Google. Just remember to add your newly created Webhook as a a notification Channel for your Stackdriver alerting policy!