Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Google Cloud Platform Cookbook

You're reading from  Google Cloud Platform Cookbook

Product type Book
Published in Apr 2018
Publisher Packt
ISBN-13 9781788291996
Pages 280 pages
Edition 1st Edition
Languages
Author (1):
Legorie Rajan PS Legorie Rajan PS
Profile icon Legorie Rajan PS
Toc

Table of Contents (14) Chapters close

Title Page
Dedication
Packt Upsell
Contributors
Preface
1. Compute 2. Storage and Databases 3. Networking 4. Security 5. Machine Learning and Big Data 6. Management Tools 7. Best Practices 1. Other Books You May Enjoy Index

Creating alerts on specific events


Stackdriver Logging is a service provided by GCP to view and analyze log data from instances and applications. With the log events and in conjunction with Stackdriver Monitoring, we can create alerts on log events and notify the concerned users. Stackdriver Monitoring by itself monitors the application components of our applications hosted in GCP and AWS.

Under Stackdriver Logging and Monitoring, let's suppose the administrator of the organization has requested all users of GCP to create instances only in us-west1. The admin has not blocked access via IAM policies to other regions; however, they would like to know if any of the users create any instance outside us-west1. Stackdriver Monitoring provides such a feature to alert the admin in case of a breach of a metric.

Getting ready

The following are the initial setup verification and network creation steps before the recipe can be executed:

  1. Create or select a GCP project
  2. Enable billing and enable the default...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime