
Before you begin
- Labs create a Google Cloud project and resources for a fixed time
- Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
- On the top left of your screen, click Start lab to begin
Install the Logging and Monitoring agents on Linux VM
/ 20
Add an uptime check for Apache VM
/ 20
Add an alert policy for Apache Server
/ 20
Create a dashboard and chart for Apache VM
/ 20
Create logs-based metric
/ 20
In a challenge lab you’re given a scenario and a set of tasks. Instead of following step-by-step instructions, you will use the skills learned from the labs in the course to figure out how to complete the tasks on your own! An automated scoring system (shown on this page) will provide feedback on whether you have completed your tasks correctly.
When you take a challenge lab, you will not be taught new Google Cloud concepts. You are expected to extend your learned skills, like changing default values and reading and researching error messages to fix your own mistakes.
To score 100% you must successfully complete all tasks within the time period!
Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources will be made available to you.
This hands-on lab lets you do the lab activities yourself in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials that you use to sign in and access Google Cloud for the duration of the lab.
To complete this lab, you need:
As a junior cloud engineer, you are part of a team of people assigned to manage Google Cloud resources in your organization. One of your job requirements in this role is to use the Cloud Logging and Cloud Monitoring services to monitor Apache Web Server activities installed on a virtual machine (VM) instance.
You are expected to have the skills and knowledge for the tasks that follow.
For this challenge, you have been tasked with installing the Cloud Monitoring and Cloud Logging agents on the VM via SSH, create an alert policy for Apache Web Server, set uptime checks for the VM, configure a dashboard, and add a log-based metric for the server that's installed on the VM.
You need to:
For this challenge lab, a virtual machine (VM) instance named
You can verify the server is running by clicking on the External IP
of the VM.
Each task is described in detail below, good luck!
So for this task, you need to install the Cloud Logging and Cloud Monitoring agents.
Connect to the VM instance
Enable the Apache Web Server monitoring plugin using the following commands:
Click Check my progress to verify the objective.
instance
.Click Check my progress to verify the objective.
Create an alert policy for Apache Web Server traffic that notifies you on your personal email account when the traffic rate exceeds 3 KiB/s.
Connect to the instance via SSH and run the following command to generate the traffic:
Click Check my progress to verify the objective.
For this task, you need to create a dashboard that's configured with charts.
Add the first line chart that has a Resource metric filter, CPU load (1m)
, for the VM.
Add a second line chart that has a Resource metric filter, Requests
, for Apache Web Server.
Click Check my progress to verify the objective.
Next, create a log based metric that filters for the following values:
Filter | Values |
---|---|
Resource type | VM |
Logname | apache-access |
Text Payload | textPayload:"200" |
Explore the log-based metrics by selecting the metric VM Instance > Apache > Request.
Click Check my progress to verify the objective.
You have successfully installed The Cloud Logging and Cloud Monitoring agents on a VM, created an alert policy, added a dashboard and set a log-based metric with Apache Web server for your project.
...helps you make the most of Google Cloud technologies. Our classes include technical skills and best practices to help you get up to speed quickly and continue your learning journey. We offer fundamental to advanced level training, with on-demand, live, and virtual options to suit your busy schedule. Certifications help you validate and prove your skill and expertise in Google Cloud technologies.
Manual Last Updated July 04, 2024
Lab Last Tested July 04, 2024
Copyright 2024 Google LLC All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.
Questi contenuti non sono al momento disponibili
Ti invieremo una notifica via email quando sarà disponibile
Bene.
Ti contatteremo via email non appena sarà disponibile
One lab at a time
Confirm to end all existing labs and start this one