Skip to main content
Five Steps for Cloud Compliance Readiness·A practical playbook for security teamsDownload
CIS Google Cloud Platform Foundation v5.0.0 · Section 4

Virtual Machines

Section 4 of the CIS Google Cloud Platform Foundation Benchmark v5.0.0 holds 12 controls on Compute Engine virtual machines: service accounts, SSH access, disk encryption, public exposure and platform hardening. ConfigCobra assesses it read-only through a viewer-level service account, across every project in your organization or a selected list.

12controls
6Level 1
6Level 2

About this section

Section 4, Virtual Machines, covers Compute Engine instances in the CIS Google Cloud Platform Foundation Benchmark v5.0.0. It is a compact section of 12 controls out of the benchmark's 93, split into 6 Level 1 and 6 Level 2 recommendations. The controls concern how a VM authenticates to Google APIs, how people reach it, how its disks are protected and how exposed it is to the network.

By our reading of the control titles, the first theme is the identity a VM runs as. Two controls ask that instances do not use the default service account, and that they do not use the default service account with full API access. A VM with broad API scopes turns any compromise of the workload into a compromise of the project, so this is an identity control as much as a compute one.

The second theme is administrative access. Controls ask you to block project-wide SSH keys on instances, to enable OS Login for the project and to disable serial-port connections. Together they push access toward individually managed, auditable identities and away from shared keys and side-channel consoles. The third theme is network exposure: IP forwarding should not be enabled on instances, compute instances should not carry public IP addresses, and App Engine applications should enforce HTTPS connections.

The fourth theme is platform and data protection. There are controls to encrypt critical VM disks with customer-supplied encryption keys, to launch instances with Shielded VM, to enable Confidential Computing on supported instances and to keep the VM operating systems patched with the latest updates. These Level 2 recommendations are stricter and can have operational cost, for example key handling for customer-supplied keys or machine types that support Confidential Computing, so they deserve a planning step before rollout.

Practically, an administrator works on this section in the Google Cloud console under Compute Engine, in project and instance metadata, and in organization policy and IAM settings for service accounts.

ConfigCobra assesses the Google Cloud benchmark with a read-only service account that holds viewer-level roles, organization-wide so that every project in the organization is covered, or limited to a selected list of projects. It never changes anything in your environment. Findings can be produced by scheduled scans (daily, weekly or monthly) or by an ad hoc scan, and each carries a ConfigCobra severity estimate used to prioritise remediation; CIS itself publishes no severity. Remediation impact analysis shows the affected resources and identities before you apply a fix, the Google Cloud inventory lists resources across the projects in scope with their security properties, and drift detection with email notifications alerts you when a control regresses. Findings and evidence go into the PDF report.

Numbering and counts follow the CIS Google Cloud Platform Foundation Benchmark v5.0.0; the grouping into themes is ConfigCobra's own wording.

The 12 controls

CIS IDCheckProfile
4.1Ensure instances are not configured to use the default service accountLevel 1
4.2Ensure instances do not use the default service account with full API accessLevel 1
4.3Enable "Block Project-wide SSH keys" for VM instancesLevel 1
4.4Enable OS Login for the projectLevel 1
4.5Disable serial-port connection on VM instancesLevel 1
4.6Ensure IP forwarding is not enabled on instancesLevel 1
4.7Encrypt critical VM disks with customer-supplied encryption keys (CSEK)Level 2
4.8Launch compute instances with Shielded VM enabledLevel 2
4.9Ensure compute instances do not have public IP addressesLevel 2
4.10Enforce HTTPS connections for App Engine applicationsLevel 2
4.11Enable Confidential Computing on supported compute instancesLevel 2
4.12Keep VM operating systems patched with the latest updatesLevel 2

Check all 12 controls on your Google Cloud

ConfigCobra runs this section with the rest of the CIS Google Cloud Platform Foundation Benchmark v5.0.0, read-only.

Get in touch

Let's talk.

Whether you're evaluating ConfigCobra, running an audit, or managing a client fleet — we respond within one business day.

Free trial