시작하기 전에
- 실습에서는 정해진 기간 동안 Google Cloud 프로젝트와 리소스를 만듭니다.
- 실습에는 시간 제한이 있으며 일시중지 기능이 없습니다. 실습을 종료하면 처음부터 다시 시작해야 합니다.
- 화면 왼쪽 상단에서 실습 시작을 클릭하여 시작합니다.
Configure service accounts
/ 5
Create the VMs
/ 5
In this lab, you will learn how to install the Cloud logging and monitoring agents on Windows VMs.
In this lab, you will learn how to:
For each lab, you get a new Google Cloud project and set of resources for a fixed time at no cost.
Sign in to Google Skills using an incognito window.
Note the lab's access time (for example, 1:15:00), and make sure you can finish within that time.
There is no pause feature. You can restart if needed, but you have to start at the beginning.
When ready, click Start lab.
Note your lab credentials (Username and Password). You will use them to sign in to the Google Cloud Console.
Click Open Google Console.
Click Use another account and copy/paste credentials for this lab into the prompts. If you use other credentials, you'll receive errors or incur charges.
Accept the terms and skip the recovery resource page.
It's a best practice to create service accounts for your VMs, and to assign those accounts the minimal set of roles required for the VMs to perform their jobs. In this task, you'll create a service accounts and assign them only the roles required to write log entries and metrics data into Cloud Monitoring.
Click Check my progress to verify the objective.
In this task, you'll create a Windows VM. You will configure the VM to use an appropriate service account that will allow the installed agents to write their data to Cloud Monitoring.
| Property | Value |
|---|---|
| Name | windows-server |
| Region | us-central1 |
| Zone | us-central1-a |
| Boot disk | Click Change, select Operating system: Windows server and version: Windows Server 2019 Datacenter Core then click Select. |
| Identity and API accesss > Service account | windows-servers |
| Allow HTTP traffic | Enabled |
You may continue on to Task 3 while the Windows VM finishes starting.
Click Check my progress to verify the objective.
In this task, you will install the Cloud Ops Agent on your VM. The Ops Agent is the primary agent for collecting telemetry from your Compute Engine instances. Combining logging and metrics into a single agent, the Ops Agent uses Fluent Bit for logs, which supports high-throughput logging, and the OpenTelemetry Collector for metrics. You will check the VM logs before and after agent installation to see how installing the agent results in more logs being recorded.
Press Ctrl+Alt+Del (for macOS Command+Option+Delete).
Choose Sign out and close the Spark RDP window.
In the VM instances window, reset the window-server instance.
The Agent column reports the following values:
The Ops Agent collects both metrics and logs by default. You can change this default behavior by configuring the Ops Agent.
Ops Agent: You are running the Ops Agent.
Legacy agent: You are running the legacy Monitoring or the Logging agent. See Migrating from the legacy agents to the Ops Agent for information on transitioning to the Ops Agent.
Not applicable: This VM is not a supported platform for running the agent.
VM stopped: The VM is not running, so the agent's status is not known.
In this lab, you had the chance to do the following:
Also, keep in mind that Cloud Logging can collect logs and metrics data from non-GCP systems. Google provides Cloud Monitoring agents that can be installed on AWS EC2 instances, and you can install fluentd and collectd agents on on-premise machines, enabling them to write data to the Cloud Monitoring service.
When you have completed your lab, click End Lab. Google Skills removes the resources you’ve used and cleans the account for you.
You will be given an opportunity to rate the lab experience. Select the applicable number of stars, type a comment, and then click Submit.
The number of stars indicates the following:
You can close the dialog box if you don't want to provide feedback.
For feedback, suggestions, or corrections, please use the Support tab.
Copyright 2026 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.
현재 이 콘텐츠를 이용할 수 없습니다
이용할 수 있게 되면 이메일로 알려드리겠습니다.
감사합니다
이용할 수 있게 되면 이메일로 알려드리겠습니다.
한 번에 실습 1개만 가능
모든 기존 실습을 종료하고 이 실습을 시작할지 확인하세요.