Check ID: compute_instance_group_load_balancer_attached
Provider: GCP
Service: compute
Severity: LOW
Categories: resilience
Resource type: compute.googleapis.com/InstanceGroupManager

What 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

gcloud compute backend-services add-backend BACKEND_SERVICE_NAME --instance-group=INSTANCE_GROUP_NAME --instance-group-zone=ZONE --global

References

Where this check fires

This check runs on every scheduled scan against your GCP account. Findings appear at Cloud Security → Findings filterable by Check 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