Re:VM Manager: Operate large Compute Engine fleets with ease
by tbobm on Thursday January 28, 2021 @03:40PM
(#25948832)
I can not find the use-cases this might answer, is this supposed to replace IaC tools such as ansible or Terraform?
AFAIK using standard GCE instances and updating them or re-rovisioning them is a quite cheap operation, I'm not sure where this stands in the whole "pet vs cattle" spectrum.
I could be missing something, I am genuinely curious about this new product.
[ Parent
| on HN ]
Re:VM Manager: Operate large Compute Engine fleets with ease
by leg100 on Thursday January 28, 2021 @04:38PM
(#25949659)
VM Manager is three separate services, one of which is "OS config management", which is more akin to Ansible (or Puppet, Chef, etc), i.e. provisioning software on a system. The other two services look after themselves TBH.
The OS config mangement in practice is a daemon that polls for "guest policies" every 10 minutes. Their example policies will give you a good idea of what it does:
https://cloud.google.com/compute/docs/os-config-management/c...
Or better still, the `google_os_config_guest_policies` terraform resource:
https://registry.terraform.io/providers/hashicorp/google/lat...
(Essentially it's pretty basic stuff: configuring package repos, installing packages, running scripts, and copying artefacts).