This document provides an overview of VM Extension Manager. Use VM Extension Manager to manage extensions on your fleet of Compute Engine instances (VMs) at scale, which helps you monitor and manage your workloads.
VM Extension Manager overview
VM extensions are optional plugins of the Compute Engine guest agent that run on your compute instances (VMs). You can use VM Extension Manager to automate the lifecycle of these extensions across your entire fleet of compute instances, without connecting to each instance. VM Extension Manager installs and runs extensions on instances only when you apply a policy to the instance, and removes the extensions when you delete the policy. After you install extensions, VM Extension Manager monitors their health status while they are running.
For a list of extensions that you can manage by using VM Extension Manager, see Supported extensions.
You can use VM Extension Manager to create policies that declare which extensions you want to install on VMs. You can also choose VMs that match specific criteria—for example, VMs with specific labels. These extension policies apply to both existing VMs and any new VMs that match the criteria. You can create either zonal extension policies or global extension policies to manage extensions on your VMs.
VM Extension Manager functions
VM Extension Manager lets you do the following:
- Install extensions at scale. Use policies to install extensions across large fleets of VMs, instead of connecting to each machine individually.
Automate extension updates. Configure policies to keep extensions pinned to a specific version, or automatically updated to the latest version as it becomes available.
View extension status. See which extensions are installed on each VM without logging in to individual machines.
Supported extensions
VM Extension Manager supports installing and managing the following extensions:
| Extension | Description | Required APIs |
|---|---|---|
| Ops Agent | Installs the Ops Agent, which collects logs and metrics from your Compute Engine instances, so that you can view these telemetry on Google Cloud Observability dashboards. | Cloud Monitoring API Cloud Logging API |
| Extension for SAP | Installs Google Cloud's Agent for SAP, which is required for SAP systems running on Google Cloud. The agent collects SAP Host Agent metrics, Process Monitoring metrics, and Workload Manager evaluation metrics. | Workload Manager API |
| Extension for Compute Workload | Installs Agent for Compute Workloads, which you can configure to collect metrics from multiple workloads running on Compute Engine instances. | Workload Manager API |
Supported operating systems
VM Extension Manager supports installing extensions on any operating system that is supported by the specific extension. For details about supported operating systems for each extension, see the following:
- Ops Agent: Supported operating systems
- Extension for SAP: Supported operating systems
- Extension for Compute Workloads: Supported operating systems
Limitations
VM Extension Manager supports creating extension policies only at a project level.
Quotas
Each Google Cloud project has a limit of 100 VM extension policies per zone. There is no limit on the number of VMs you can select per policy.
Pricing
There is no charge for using VM Extension Manager. However, you might incur charges from using the extensions installed by the policies. For more information, see the pricing pages for the specific extensions:
What's next
To learn more about managing extensions, see the following resources:
- Learn about global extension policies
- Learn about zonal extension policies
- Install VM extensions by creating extension policies
- Manage VM extensions by using extension policies