An e-commerce platform running on Google Cloud processes order transactions through a fleet of Compute Engine virtual machines managed by a Managed Instance Group (MIG) behind an External HTTP(S) Load Balancer. During a flash sale event, downstream database contention caused transient query latency spikes. Because the load balancer health check was configured to query a deep database endpoint, the load balancer marked all backend instances as unhealthy simultaneously and initiated automated instance replacements, causing a complete service outage. Which architectural modification should you recommend to prevent this cascading operational failure and establish a resilient incident management and alerting workflow?
- Reconfigure the load balancer health check to target a lightweight local endpoint that validates only instance web server responsiveness, and implement Cloud Monitoring multi-window SLO burn-rate alerting to manage incident response.Cevap
- BConfigure the load balancer health check probes to execute deep database SELECT queries on every probe interval, and set an automated policy to restart instances immediately when health probes fail.
- CAssign the primitive Owner role to the automated incident remediation service account to grant unconstrained permissions to restart instances and alter VPC load balancer settings during an outage.
- DEstablish static single-window threshold alerts on CPU usage, and apply a broad Cloud Logging exclusion filter to drop all 5xx HTTP application logs during traffic spikes to avoid notification throttling.
Cevap
Reconfigure the load balancer health check to target a lightweight local endpoint that validates only instance web server responsiveness, and implement Cloud Monitoring multi-window SLO burn-rate alerting to manage incident response.
Reconfiguring health checks to monitor a local lightweight endpoint prevents load balancers from mistakenly terminating instances due to downstream dependency bottlenecks. Combining this with Cloud Monitoring SLO burn-rate alerting provides precise operational observability, allowing SRE teams to respond effectively to incident events.
Adım Adım Çözüm
Anahtar Kavram
Incident Management and Health Check Architecture