Ensure that your Google Cloud Managed Instance Groups (MIGs) are configured with Autohealing feature. Autohealing allows re-creating virtual machine instances when they become unresponsive.
Managed Instance Groups (MIGs) maintain high availability of your cloud applications by proactively keeping your VM instances available, in the "RUNNING" state. A MIG automatically re-creates an instance that is not in a "RUNNING" state. However, relying only on the VM state may not be sufficient. You may need to re-create instances when an application freezes, crashes, or runs out of memory. Application-based autohealing improves application availability by relying on a health checking signal that detects application-specific issues such as freezing, crashing, or overloading. If a health check determines that your cloud application has failed on a virtual machine within the instance group, the group automatically re-creates that VM instance.
To determine if all your Managed Instance Groups (MIGs) are using autohealing, perform the following operations:
Remediation / Resolution
To enable autohealing for your existing Google Cloud Managed Instance Groups (MIGs) using health checks, perform the following operations:Note: As example, this conformity rule demonstrates how to enable autohealing by creating a health check that looks for a web server response on port 80 (HTTP).
- Google Cloud Platform (GCP) Documentation
- Instance groups
- Setting up health checking and autohealing
Unlock the Remediation Steps
Gain free unlimited access
to our full Knowledge Base
Over 750 rules & best practices
Get started for FREE
You are auditing:
Enable Instance Group Autohealing
Risk level: High