Installing agents on a fleet of VMs using gcloud/Agent Policies
Use the gcloud command line tool to create an Agent Policy that installs and manages agents on your fleet of VMs.
Installing agents on a fleet of VMs using automation tools
Use automation tools, like Ansible and Terraform, to install and manage agents on your fleet of VMs.
Installing the agent on a single VM
Use a script to install the agent on a single VM.
Installing the Ops Agent
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.