QuestionQ22

VerifiedEnsuring the successful operation of a cloud solution

You have a Compute Engine instance hosting a production application. You want to receive an email if the instance consumes more than 90% of its CPU resources for more than 15 minutes. You want to use Google services. What should you do?

Explanation

Cloud Monitoring is Google's primary alerting service. Use the project's Cloud Monitoring metrics scope (created automatically, because every Google Cloud project hosts one), configure an alerting policy with a metric-threshold condition (CPU > 90% for 15+ minutes), and set up an email notification channel. This is the recommended, built-in approach for monitoring and alerting on Google Cloud metrics. Custom scripts and external email services are unnecessary when using native Google services.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!