I am working on a project with more than 400 VMs. I am looking for a solution to run a set of commands or a script on all the VMs at once.
Hello @SarthakAgr ,
You can use OS policy and trigger script for all VMs.
https://cloud.google.com/compute/docs/os-configuration-management/working-with-os-policies#example-2
cheers,
DamianS
Hi @SarthakAgr , can you elaborate more on your usecase? I would love to know more.
+ 1 on OS policy usage for now, I am also PM on VM Manager.
Please feel free to DM me directly if convenient.
Hey @omkarsuram_
Thanks for your reply.
I have a GCP project with more than 400 VMs. I am aiming to monitor the VMs using the 'Wazuh' tool. How it works is, there is a 'wazuh-manager' installed on a server and the on the endpoints, which we want to monitor, 'wazuh-agent' is installed, with communicates with the 'wazuh-manager'. So I am looking for a solution to install 'wazuh-agent' on all the VMs at once, without having to ssh into each VM and running the command individually.