Health Check Misconfiguration Causing Flapping
Instances are flapping in and out of load balancers due to aggressive health checks. How do you detect and fix this without masking real failures?
- Correlate LB health check logs with app readiness/liveness
- Adjust thresholds/intervals/timeout to match latency profile
- Differentiate startup vs steady-state checks
- Add graceful shutdown/drain and connection draining
- Monitor false-positive/negative rates after changes
- 💡Use separate readiness and liveness probes.
- ⚠️Simply increasing the health check timeout or interval without understanding the underlying cause.
- ⚠️Failing to correlate load balancer logs with application-specific logs.
- ⚠️Treating startup health checks the same as steady-state health checks.
- ⚠️Not considering the application's inherent latency and resource constraints when configuring health checks.
- ⚠️Ignoring the possibility that the health check endpoint itself might be faulty or experiencing performance issues within the application.
- ❓How to set SLO-aware thresholds?
- ❓Should you gate deploys on health trends?
Ready to prove your AWS SysOps knowledge?
Practice with free SysOps Administrator Associate (SOA-C02) exam questions. Instant answers and detailed explanations — no account required.
Start free practice quizQuestions that share similar topics with this one
Types of Load Balancers
IntermediateK8s Readiness vs Liveness Probes
IntermediatePostgreSQL Replication Lag Troubleshooting
AdvancedExactly-Once Effects with the Outbox Pattern
AdvancedDesigning Backpressure in Reactive Systems
AdvancedDeepen your knowledge with these related blog posts
Taming Toil: Eliminating Repetitive Work to Scale SRE Teams
Toil kills engineering velocity and burns out teams. Learn how to measure, reduce, and automate toil in SRE and DevOps environments — with actionable best practices, anti-patterns, and case studies.
The Pragmatic SRE Guide to SLOs: From Business Goals to Error Budgets
Go beyond uptime percentages—learn how to map business goals into user-centric SLOs, define error budgets, and set up actionable alerting with real-world examples.
Kubernetes Production Readiness Checklist
A practical checklist to ensure your Kubernetes clusters are production-ready. Covering security, reliability, operational safeguards, observability, and common pitfalls every team should avoid.