1. Home
  2. Training Library
  3. Google Cloud Platform
  4. Courses
  5. Deploying Networking and Compute Resources on Google Cloud Platform

Configuring a VM for Stackdriver Monitoring and Logging

play-arrow
Start course
Overview
DifficultyBeginner
Duration1h 18m
Students91
Ratings
5/5
star star star star star

Description

This course has been designed to teach you how to deploy network and compute resources on Google Cloud Platform. The content in this course will help prepare you for the Associate Cloud Engineer exam.

Learning Objectives

  • To understand key networking and compute resources on Google Cloud Platform
  • Be able to explain different networking and compute features commonly used on GCP
  • Be able to deploy key networking and compute resources on Google Cloud Platform

Intended Audience

  • Those who are preparing for the Associate Cloud Engineer exam
  • Those looking to learn more about GCP networking and compute features

Prerequisites

To get the most from this course then you should have some exposure to GCP resources, such as VPCs and Compute Instances. However, this is not essential.

Transcript

Although monitoring can access some basic metrics without the Stackdriver monitoring agent, it's recommended that you always install the agent especially if you need more in-depth metrics info. 

Before installing the Stackdriver agent, you need to be sure that you are running a Compute Engine instance with at least 250 megabytes of resident memory. You'll need a Workspace monitoring the GCP project, along with credentials on the VM instance that authorize communication with Stackdriver. 

Because GCP VM instances typically have the correct credentials by default, you shouldn't need to setup any special service accounts. Now, because the installation of the Stackdriver agent requires access to remote package repositories, it's recommended that you create a custom VM image with the agent pre-installed and that you disable package management in the image if your VM host's security policy denies access to remote package repositories. That said, this should not be an issue for Google Compute Instances. 

Now, before you install the Monitoring agent, you need to be sure that the VM instance has the credentials that the agent needs, because the agent needs to be able to send monitoring information out to monitoring. Generally speaking, this permission is granted via service account credentials that are stored on the VM instance. For an installation on a Compute Engine VM instance on GCP, the default service account on the instance should, by default, have the necessary credentials. So, with that said, I'm going to show you, in the next lesson, how to install the Stackdriver agent on a GCP compute instance.

About the Author

Students5101
Courses20
Learning paths3

Tom is a 25+ year veteran of the IT industry, having worked in environments as large as 40k seats and as small as 50 seats. Throughout the course of a long an interesting career, he has built an in-depth skillset that spans numerous IT disciplines. Tom has designed and architected small, large, and global IT solutions.

In addition to the Cloud Platform and Infrastructure MCSE certification, Tom also carries several other Microsoft certifications. His ability to see things from a strategic perspective allows Tom to architect solutions that closely align with business needs.

In his spare time, Tom enjoys camping, fishing, and playing poker.

Covered Topics