Check ID:
Provider: GCP
Service:
Severity: LOW
Categories:
Resource type:
compute_instance_group_load_balancer_attachedProvider: GCP
Service:
computeSeverity: LOW
Categories:
resilienceResource type:
compute.googleapis.com/InstanceGroupManagerWhat this check verifies
Managed Instance Groups (MIGs) should be attached to load balancers via backend services to enable traffic distribution across instances. Load balancers provide health checking, autoscaling integration, and high availability features that are essential for production workloads.Risk
Without load balancer attachment, MIGs cannot distribute traffic evenly across instances, which impacts:- Application availability - No automatic failover when instances become unhealthy
- Scalability - Autoscaling benefits are limited without proper traffic distribution
- Performance - Uneven load distribution can cause hotspots and degraded user experience
Recommendation
Attach Managed Instance Groups to load balancers using backend services to enable traffic distribution, health checking, and seamless autoscaling. This ensures high availability and optimal performance for production workloads.Remediation
- CLI
- Terraform
- Dashboard steps
References
- https://cloud.google.com/compute/docs/instance-groups
- https://cloud.google.com/load-balancing/docs/backend-service
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_group_load_balancer_attached. 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