Check ID:
Provider: GCP
Service:
Severity: MEDIUM
Categories:
Resource type:
compute_instance_on_host_maintenance_migrateProvider: GCP
Service:
computeSeverity: MEDIUM
Categories:
resilienceResource type:
compute.googleapis.com/InstanceWhat this check verifies
Compute Engine VM instances should have their On Host Maintenance setting configured toMIGRATE for live migration during host maintenance events, ensuring continuous availability without downtime.
Risk
VM instances configured with On Host Maintenance set toTERMINATE will be shut down during host maintenance events, causing service interruptions and unplanned downtime. This can impact application availability and may require manual intervention to restart services.
Recommendation
Configure VM instances to use live migration during host maintenance events to ensure continuous availability. This is the recommended setting for production workloads that require high availability.Remediation
- CLI
- Terraform
- Dashboard steps
References
Where this check fires
This check runs on every scheduled scan against your GCP account. Findings appear at Cloud Security → Findings filterable byCheck ID = compute_instance_on_host_maintenance_migrate. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to GCP checks