Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

Logging agent on VM Instances group

While installing logging agent on VM instance group, Adding installation script in the template is a best practice, or Is there any other approach?

1 Answers

Hello Mohan,  

thanks for posting your question, the answer is there is another approach.

You can manage the Cloud Logging agent across your fleet of Compute Engine Linux VMs through an Agent Policy. Using the gcloud command-line tool, you can create an Agent Policy that governs new and existing VMs, ensuring proper installation and optional auto-upgrade of all agents.

https://cloud.google.com/logging/docs/agent/fleet-installation

mohan akotkar

Thanks Karlos

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?