PILLAR GUIDE

    Case Studies & Outage Breakdowns

    You learn more from studying real incidents than from reading theory. These 24 case studies are detailed breakdowns of realistic production outages - the timeline, the decisions, the communication, what worked, and what didn't. Study them like a pilot studies accident reports: not to assign blame, but to build the pattern recognition that makes you better when it's your turn to lead.

    How to Study a Case Study

    Don't just read these passively. For each case study, pause at each decision point and ask yourself: "What would I have done here?" Then read what actually happened and compare. The gap between your instinct and the actual decision is where the learning happens.

    At each alert

    Would I have declared an incident? At what severity?

    At each investigation step

    Would I have pursued this hypothesis or a different one?

    At each decision point

    Would I have chosen the same mitigation? Why or why not?

    At each communication

    Would I have communicated sooner? Different content? Different audience?

    The Payment Processing Meltdown

    SEV-1 2 hours 47 minutes$340,000 in lost transactions, 23,000 customers affected

    SUMMARY

    A routine database migration during a maintenance window caused a connection pool exhaustion that cascaded into a complete payment processing failure. The migration was tested in staging but the production database had 10x the connection count.

    INCIDENT TIMELINE

    02:15 UTCScheduled database migration begins - adding index to payments table
    02:23 UTCMigration completes but connections spike to 3x normal levels
    02:31 UTCPagerDuty alert: payment API P99 latency > 5s (threshold: 500ms)
    02:33 UTCOn-call SRE acknowledges. Checks Datadog - sees connection pool at 98% capacity
    02:37 UTCIC declared. SEV-2 initially - payment degradation but not total failure
    02:41 UTCConnection pool hits 100%. All new payment requests failing with timeout errors
    02:43 UTCSeverity upgraded to SEV-1. War room opened. All-hands page sent.
    02:48 UTCTech Lead identifies: new index created table-level lock during vacuum, holding connections open
    02:55 UTCFirst executive update sent: payments down, investigating, ETA unknown
    03:02 UTCDecision: kill the vacuum process and restart connection pooler (PgBouncer)
    03:08 UTCVacuum killed. Connection count dropping. Some payments starting to succeed.
    03:15 UTCPgBouncer restarted. Connection pool normalized. Error rate dropping.
    03:22 UTCPayment success rate back to 95%. Still some elevated latency.
    03:45 UTCLatency normalized. Monitoring for 15 minutes before declaring mitigated.
    04:00 UTCConfirmed: all metrics normal for 15 minutes. Customer update: payments restored.
    05:02 UTCIncident formally resolved. Postmortem scheduled for next day.

    WHAT HELPED

    IC immediately escalated from SEV-2 to SEV-1 when the situation worsened - didn't wait to 'see if it recovers'
    Tech Lead correctly identified that the migration was the trigger, not just a coincidence
    Comms Lead sent the first executive update within 20 minutes of the SEV-1 declaration
    The decision to kill the vacuum process was made quickly - didn't waste time trying to 'let it finish'
    Clear role separation: IC didn't try to debug, Tech Lead didn't try to communicate

    WHAT HINDERED

    Initial severity assessment was too optimistic - should have been SEV-1 from the start given payment impact
    The maintenance window had no automated rollback plan - 'if the migration causes issues, we'll figure it out'
    Staging environment didn't have representative connection counts - the issue was invisible in testing
    The first customer update took 25 minutes - too slow for a total payment failure
    No one checked the migration's impact on connection pooling during the change review

    LESSONS LEARNED

    1All database migrations must include a connection pool impact assessment in the change review
    2Maintenance windows must have documented rollback procedures, not just 'we'll figure it out'
    3Staging environments must have production-representative connection pools for migration testing
    4Any incident affecting payments should default to SEV-1, not SEV-2, regardless of initial scope assessment
    5Implement connection pool monitoring alerts that trigger before exhaustion, not at exhaustion

    The Silent CDN Failure

    SEV-1 4 hours 12 minutesComplete site outage for 45% of users (US-West), 68,000 users affected

    SUMMARY

    The CDN provider experienced a silent failure in their US-West PoPs. No alerts fired because the health checks were routed through US-East, which was healthy. Customers reported the issue 40 minutes before internal monitoring detected it.

    INCIDENT TIMELINE

    14:10 UTCCDN provider begins experiencing issues in US-West PoPs (unknown to us)
    14:25 UTCFirst customer support ticket: 'site won't load' from a California user
    14:32 UTC5 more support tickets from US West Coast users. Support team escalates to engineering.
    14:38 UTCOn-call engineer checks monitoring: 'everything looks green.' Closes the ticket.
    14:50 UTC18 more tickets. Support team re-escalates. 'This isn't a one-off - something is really wrong.'
    14:55 UTCIC declared. Engineer tests from VPN exit in US-West: site completely unreachable.
    15:02 UTCConfirmed: CDN US-West PoPs returning 503 errors. Our health checks route through US-East, so no alerts.
    15:10 UTCCDN provider status page still shows 'All Operational.' Support ticket opened with them at highest priority.
    15:20 UTCCustomer update posted: 'Users in western US may experience access issues. We are working with our CDN provider.'
    15:35 UTCCDN provider acknowledges the issue. No ETA. Their status page finally updates.
    15:50 UTCDecision: begin DNS failover to route US-West traffic through our backup CDN (Cloudflare)
    16:30 UTCDNS failover complete. US-West traffic flowing through Cloudflare. Site accessible.
    17:15 UTCPrimary CDN reports resolution. Decision: stay on backup CDN for 24 hours before switching back.
    18:22 UTCIncident formally resolved. All users can access the site through backup CDN.

    WHAT HELPED

    The support team's persistence in re-escalating was critical - the first dismissal cost 20 minutes
    Having a backup CDN (even if untested for failover) saved hours of waiting for the primary provider
    IC made the correct call to stay on backup CDN for 24 hours rather than immediately switching back
    Customer communication was honest about the third-party dependency

    WHAT HINDERED

    Health checks were only running from US-East - a single-region monitoring blind spot
    The on-call engineer dismissed customer reports because monitoring was green - monitoring was wrong
    No automated regional health checks that would detect a PoP-level failure
    CDN failover was a manual DNS process that took 40 minutes - this should be automated
    The CDN provider's status page lagged reality by over 45 minutes
    The 40-minute gap between first customer report and incident declaration is unacceptable for a site outage

    LESSONS LEARNED

    1Implement synthetic monitoring from multiple regions (US-East, US-West, EU, APAC) - never trust single-region checks
    2Customer reports must be treated as valid signal, even when monitoring disagrees
    3Automate CDN failover with health-check-triggered DNS switching
    4Never trust a vendor's status page as your source of truth - build your own detection
    5The on-call policy must include: 'If 3+ customers report the same issue within 15 minutes, treat it as a real incident regardless of monitoring state'

    The Cascading Authentication Failure

    SEV-1 1 hour 34 minutesAll users unable to log in. 100% of authenticated features unavailable. Revenue impact: $12,000/minute.

    SUMMARY

    A certificate rotation in the authentication service was deployed without the corresponding update to the API gateway's trust store. The gateway started rejecting all auth tokens, effectively locking out every user simultaneously.

    INCIDENT TIMELINE

    10:00 UTCScheduled certificate rotation deployed to auth service
    10:03 UTCAuth service health checks pass - the service itself is healthy
    10:05 UTCFirst alerts: API gateway returning 401 on all authenticated requests
    10:06 UTCError rate: 0% โ†’ 100% authenticated requests failing. Instant SEV-1.
    10:08 UTCIC declared. War room opened. All-hands page.
    10:15 UTCEngineer checks gateway logs: 'CERTIFICATE_VERIFY_FAILED on every auth request.'
    10:18 UTCRoot cause identified: cert rotation updated the auth service cert but not the gateway trust store
    10:22 UTCIC decides: rollback the cert. Faster, known good state, lower risk.
    10:27 UTCAuth cert rolled back. Gateway immediately starts accepting tokens.
    10:35 UTCError rate: 0%. All authentication working. Monitoring.
    10:50 UTCConfirmed stable for 15 minutes. Customer update: 'Login issues resolved.'
    11:34 UTCProper cert rotation performed with gateway trust store update. Incident closed.

    WHAT HELPED

    Instant severity declaration - no debate about whether 100% auth failure is SEV-1
    IC chose the faster mitigation path (rollback) instead of the 'correct' path (forward fix)
    Gateway logs clearly showed the certificate verification failure
    The team had rollback capability for certificate changes

    WHAT HINDERED

    The certificate rotation runbook didn't include updating dependent service trust stores
    No pre-rotation validation step that checks whether dependent services will accept the new cert
    The rotation was marked 'standard' and didn't go through full change review
    No canary rotation - the cert was updated across all instances simultaneously

    LESSONS LEARNED

    1Certificate rotation runbooks must include all dependent service trust store updates
    2Implement a pre-rotation validation: verify dependent services will trust the new cert before deploying
    3Certificate rotations should use canary deployment: rotate one instance first, verify, then roll to all
    4Any change affecting authentication must go through full change review, regardless of how 'routine' it is
    5Automate certificate rotation end-to-end including trust store updates

    The Black Friday Memory Leak

    SEV-1 3 hours 15 minutesCheckout latency 10x normal during peak traffic. Estimated $890,000 in abandoned carts.

    SUMMARY

    A memory leak in the cart service went unnoticed during normal traffic but exploded during Black Friday load. The service was slowly consuming memory over hours, then hitting OOMKill thresholds during the traffic peak, causing rolling restarts.

    INCIDENT TIMELINE

    08:00 UTCBlack Friday traffic begins ramping. All systems nominal.
    11:30 UTCCart service memory usage at 65% - normal is 40%. No alert threshold until 80%.
    13:15 UTCTraffic hits 4x normal. Cart service memory at 82%. First alert fires.
    13:20 UTCCart service pods begin OOMKilling. Kubernetes restarts them. Brief checkout errors.
    13:25 UTCIC declared. SEV-1 due to Black Friday revenue impact.
    13:35 UTCPattern identified: pods restart, memory grows linearly, OOMKill after ~20 min under load.
    13:45 UTCDecision: increase pod memory limits from 2GB to 4GB as a stopgap.
    13:55 UTCMemory limits increased. Pods stable but still leaking - just slower to hit the limit.
    14:10 UTCHeap dump analysis: connection objects not being released in the session cache.
    14:30 UTCHotfix deployed: add explicit cleanup of session cache on checkout completion.
    14:45 UTCMemory growth stabilized. Pods holding at 55% memory. No more OOMKills.
    16:15 UTCConfirmed stable through peak traffic. Incident resolved.

    WHAT HELPED

    Quick decision to increase memory limits bought time for proper investigation
    Heap dump analysis was started immediately alongside the stopgap - parallel workstreams
    The team had a pre-staged Black Friday war room with dedicated monitoring dashboards
    IC recognized this as a memory leak pattern early based on the linear growth curve

    WHAT HINDERED

    Memory alert threshold at 80% was too high - should have been 60% for critical services
    No load testing at Black Friday scale before the event
    The memory leak existed for weeks but was invisible at normal traffic levels
    Session cache cleanup was a known tech debt item that hadn't been prioritized

    LESSONS LEARNED

    1Critical services need lower alert thresholds during high-traffic events
    2Load testing must simulate peak expected traffic, not just 'above normal'
    3Memory leak detection requires trend-based alerts, not just threshold-based
    4Tech debt in critical path services must be prioritized before known traffic events

    The DNS Propagation Nightmare

    SEV-1 6 hours 45 minutesIntermittent site unreachability for all users globally. Resolution blocked by DNS TTL.

    SUMMARY

    A DNS change to migrate to a new load balancer was deployed with a 4-hour TTL. The new load balancer had a misconfigured security group that blocked port 443. By the time the issue was discovered, the old DNS record had expired from most resolvers.

    INCIDENT TIMELINE

    09:00 UTCDNS change deployed: A record updated to point to new load balancer IP.
    09:05 UTCEngineer verifies: 'New LB is responding.' (Tested with HTTP, not HTTPS.)
    09:30 UTCFirst reports: some users can't reach the site. Others can. 'It's probably DNS propagation.'
    10:00 UTCMore reports flooding in. 'Try clearing your DNS cache' is not working.
    10:15 UTCIC declared. Engineer tests HTTPS against new LB IP directly: connection refused.
    10:20 UTCRoot cause: new LB security group allows port 80 but blocks port 443 (HTTPS).
    10:25 UTCSecurity group updated. New LB now accepting HTTPS traffic.
    10:30 UTCProblem: DNS TTL is 4 hours. Some resolvers still have old IP. Some have new (now fixed) IP. Some have nothing.
    10:45 UTCDecision: can't rollback DNS - old LB already decommissioned as part of migration.
    11:00 UTCStatus page updated: 'Some users may experience intermittent access issues as DNS changes propagate.'
    14:30 UTCMost DNS resolvers have picked up the corrected record. Error rate dropping.
    15:45 UTCError rate at baseline. All resolvers updated. Incident resolved.

    WHAT HELPED

    Quick identification of the security group misconfiguration once the IC forced HTTPS testing
    Honest status page communication about the DNS propagation delay

    WHAT HINDERED

    Initial verification only tested HTTP, not HTTPS - missed the actual failure mode
    4-hour DNS TTL meant the fix couldn't take effect for hours
    Old load balancer was decommissioned before verifying the new one worked - no rollback path
    No pre-migration checklist that included HTTPS verification
    The phrase 'it's probably DNS propagation' delayed investigation by 45 minutes

    LESSONS LEARNED

    1DNS changes must use low TTL (60s) before migration, then increase after verification
    2Never decommission the old infrastructure until the new infrastructure is verified in production
    3Pre-migration checklists must include testing all protocols (HTTP, HTTPS, WebSocket)
    4Treat 'it's probably DNS' as a hypothesis to test immediately, not an explanation to accept
    5DNS changes are irreversible on the TTL timescale - treat them with the same rigor as data migrations

    The Runaway Cron Job

    SEV-2 1 hour 52 minutesAPI latency degraded 5x for all users. Internal dashboards unusable.

    SUMMARY

    A cron job that generates daily reports was accidentally scheduled every minute instead of every day. Each execution spawned expensive database queries that competed with production traffic for database connections and CPU.

    INCIDENT TIMELINE

    06:01 UTCCron job config deployed with '* * * * *' instead of '0 6 * * *'.
    06:05 UTC5 instances of the report job running simultaneously.
    06:15 UTCDatabase CPU at 90%. API P99 latency at 3 seconds.
    06:18 UTCOn-call paged. Checks dashboards - sees database as the bottleneck.
    06:25 UTCIC declared. Initial hypothesis: database issue or traffic spike.
    06:35 UTCTraffic is normal. Database is overwhelmed by identical analytical queries.
    06:40 UTCTraces reveal: report generation cron running every minute. 40 instances active.
    06:42 UTCCron job disabled. Running instances killed.
    06:50 UTCDatabase CPU normalizing. API latency returning to baseline.
    07:05 UTCAll metrics normal. Monitoring.
    07:53 UTCCron job redeployed with correct schedule. Incident closed.

    WHAT HELPED

    Database monitoring clearly showed the source of CPU pressure - analytical queries, not production queries
    Once identified, the fix was instant: disable the cron and kill running instances
    The team quickly connected 'unusual database load' to 'recent deployment'

    WHAT HINDERED

    No validation on cron schedules - a one-character typo caused the incident
    The cron job had no concurrency limits - 40 instances ran simultaneously
    No alerting on cron job execution frequency - only on downstream effects
    The deploy review didn't catch '* * * * *' as obviously wrong

    LESSONS LEARNED

    1Implement cron schedule validation: alert or block if schedule is more frequent than expected
    2All cron jobs must have concurrency limits - at most 1-2 instances running simultaneously
    3Add monitoring for cron job execution count, not just success/failure
    4Database queries from batch jobs should use a separate connection pool from production traffic

    The Kubernetes Node Pressure Cascade

    SEV-1 2 hours 20 minutesMultiple services degraded. Pod evictions caused 15-minute gaps in availability across 8 services.

    SUMMARY

    A node in the Kubernetes cluster developed disk pressure due to excessive container logging. The kubelet began evicting pods, which shifted load to remaining nodes, causing a cascade of evictions across the cluster.

    INCIDENT TIMELINE

    03:00 UTCNode k8s-worker-07 disk usage at 90% due to accumulated container logs.
    03:05 UTCKubelet marks node as having DiskPressure. Begins pod eviction.
    03:08 UTC12 pods evicted from worker-07. Rescheduled to other nodes.
    03:12 UTCWorker-03 and worker-09 now over-provisioned. CPU pressure begins.
    03:15 UTCPagerDuty: multiple service health checks failing. Pod restarts across cluster.
    03:18 UTCIC declared. SEV-1 due to multi-service impact.
    03:25 UTCIdentified: cascading evictions originating from worker-07 disk pressure.
    03:30 UTCDecision: cordon affected nodes, manually clean up disk space on worker-07.
    03:40 UTCDisk cleanup complete on worker-07. Node uncordoned. Pods rescheduling.
    03:55 UTCCluster stabilizing. Pod distribution evening out across nodes.
    04:20 UTCAll services healthy. No more evictions. Monitoring.
    05:20 UTCConfirmed stable. Incident closed.

    WHAT HELPED

    IC quickly traced the cascade back to the originating node
    Cordoning affected nodes prevented further cascade
    The team understood Kubernetes eviction mechanics well enough to predict the cascade behavior

    WHAT HINDERED

    No disk usage alerts on Kubernetes nodes - only triggered after evictions started
    No log rotation configured for container logs - they accumulated indefinitely
    Cluster was running at high utilization - no headroom to absorb evicted pods
    The cascade happened at 3am when response times are naturally slower

    LESSONS LEARNED

    1Implement log rotation for all container logs with size and time-based limits
    2Add disk usage monitoring on all Kubernetes nodes with alerts at 70%
    3Maintain cluster headroom: target 70% max utilization to absorb node failures
    4Implement pod disruption budgets to limit the blast radius of evictions

    The Feature Flag That Took Down Search

    SEV-1 45 minutesSearch completely broken for all users. Core product functionality unavailable.

    SUMMARY

    A feature flag was enabled that activated a new search algorithm. The algorithm had a bug where queries with special characters caused an unhandled exception, and the default fallback was disabled in the new code path.

    INCIDENT TIMELINE

    15:00 UTCFeature flag 'new-search-algo' enabled for 100% of users.
    15:02 UTCSearch error rate jumps from 0.1% to 35%. Alerts fire.
    15:04 UTCIC declared immediately. SEV-1 - search is a core feature.
    15:06 UTCError logs: NullPointerException in SearchAlgorithmV2 for queries containing '&', '+', '#'.
    15:08 UTCQuick decision: disable the feature flag.
    15:09 UTCFeature flag disabled. Search immediately recovers.
    15:15 UTCError rate back to baseline. All search queries succeeding.
    15:45 UTCRoot cause analysis complete. Incident closed. Fix deployed to feature branch.

    WHAT HELPED

    Feature flag infrastructure allowed instant rollback without a deploy
    IC made the rollback decision in under 4 minutes - didn't hesitate
    Clear error logs pointed directly to the issue
    The team had recently practiced 'feature flag incidents' in a simulation

    WHAT HINDERED

    The flag was enabled for 100% of users instead of a gradual rollout (1% โ†’ 10% โ†’ 50% โ†’ 100%)
    The new code path didn't have a fallback to the old algorithm on error
    Special characters weren't covered in the test suite for the new algorithm
    No canary period where both old and new results were compared

    LESSONS LEARNED

    1All feature flags must follow a graduated rollout: 1% โ†’ 10% โ†’ 50% โ†’ 100% with monitoring at each stage
    2New code paths must include fallback to the previous implementation on error
    3Test suites must include edge cases: special characters, empty strings, Unicode, extremely long inputs
    4Feature flag changes should be treated as deployments with the same monitoring rigor

    The Third-Party OAuth Outage

    SEV-1 3 hours 30 minutesAll users authenticating via Google OAuth unable to log in. 70% of user base affected.

    SUMMARY

    Google's OAuth service experienced intermittent failures that our auth system didn't handle gracefully. Instead of falling back to email/password login, the system showed a generic 500 error page, locking out the majority of users.

    INCIDENT TIMELINE

    11:00 UTCGoogle OAuth token endpoint begins returning intermittent 503 errors.
    11:05 UTCLogin error rate increases. Auth service retries exhausted.
    11:10 UTCUsers reporting 'Can't log in' across support channels.
    11:15 UTCIC declared. Initial assumption: our auth service is broken.
    11:25 UTCAuth service logs healthy. Failure is in the Google OAuth callback.
    11:30 UTCConfirmed: Google OAuth intermittently failing. Google status page shows no issues.
    11:40 UTCDecision: Can't fix Google. Need to improve our error handling.
    11:50 UTCStatus page updated: 'Login issues for users who sign in with Google.'
    12:00 UTCHotfix: redirect OAuth failures to email/password login with explanation.
    12:30 UTCHotfix deployed. Users hitting OAuth errors now see fallback login option.
    13:45 UTCGoogle OAuth service stabilizes. Normal login flow restored.
    14:30 UTCMonitoring confirms full recovery. Incident closed.

    WHAT HELPED

    IC correctly identified this was a third-party dependency issue within 15 minutes
    Team shifted from 'fix the problem' to 'work around the problem' quickly
    Hotfix to add fallback login was a creative mitigation

    WHAT HINDERED

    Auth system had no fallback for OAuth provider failures - it was all-or-nothing
    Error page showed a generic 500 instead of guiding users to alternative login methods
    No monitoring on third-party OAuth endpoint health - only on our own services
    Took 90 minutes to deploy the fallback hotfix during an active incident

    LESSONS LEARNED

    1Third-party authentication must have graceful degradation - always offer an alternative login method
    2Monitor third-party API health independently from your own services
    3Error pages for auth failures should provide actionable alternatives, not generic errors
    4Pre-build fallback UI components for known third-party dependencies so they can be activated quickly

    The Midnight Deploy That Wasn't Tested

    SEV-2 1 hour 10 minutesAPI returning stale data for 20% of requests. Users seeing outdated account balances.

    SUMMARY

    An engineer deployed a cache configuration change at midnight to 'avoid traffic.' The change increased cache TTL from 5 minutes to 5 hours due to a unit conversion error. Users saw account balances from hours ago.

    INCIDENT TIMELINE

    00:05 UTCCache TTL config deployed: value changed from 300 to 300 (intended hoursโ†’seconds, got secondsโ†’seconds, but wrong constant applied resulting in 18000s).
    05:30 UTCMorning users report: 'My balance is wrong.' 'I made a payment but it still shows pending.'
    06:00 UTCSupport team notices pattern: all complaints about stale data. Escalates.
    06:10 UTCIC declared. SEV-2 - data correctness issue, not availability.
    06:20 UTCInvestigation: cache hit rate at 99.8% (normally 70%). Cache TTL is 5 hours.
    06:25 UTCFound: midnight deploy changed cache config. Cache flush + config rollback.
    06:30 UTCConfig rolled back. Cache flushed. Fresh data serving.
    06:45 UTCAll data current. Users confirming correct balances.
    07:15 UTCIncident closed.

    WHAT HELPED

    Support team connected the dots across multiple 'stale data' complaints quickly
    Cache flush + rollback was a clean, fast mitigation
    The cache config was version controlled, making the change easy to identify and revert

    WHAT HINDERED

    Midnight deployment to 'avoid traffic' meant nobody was monitoring during and after
    No post-deploy verification that the cache was behaving as expected
    Unit conversion error in config - the config format was ambiguous
    Issue wasn't detected for 5+ hours because nobody was watching

    LESSONS LEARNED

    1No solo deploys during off-hours without a monitoring buddy
    2Cache config must use explicit units (e.g., '300s' not '300') to prevent conversion errors
    3All config changes must include a post-deploy verification step
    4Implement anomaly detection on cache hit rates - 99.8% is abnormal and should alert

    The Microservice Circular Dependency

    SEV-1 2 hours 5 minutesComplete platform outage. All services unresponsive. No single service could recover independently.

    SUMMARY

    Service A depended on Service B for health checks. Service B depended on Service C. Service C depended on Service A. When Service A restarted, it couldn't pass health checks, which meant B and C also failed, creating a deadlock.

    INCIDENT TIMELINE

    04:00 UTCService A restarted after routine maintenance.
    04:02 UTCService A health check fails - can't reach Service B.
    04:03 UTCLoad balancer removes Service A from rotation. Service B loses dependency.
    04:04 UTCService B fails health checks. Service C follows.
    04:05 UTCAll three services down. Complete platform outage.
    04:08 UTCPagerDuty: everything is alerting. IC declared.
    04:15 UTCRestart attempts fail - each service fails health checks because dependencies are down.
    04:25 UTCArchitecture diagram reveals: Aโ†’Bโ†’Cโ†’A circular dependency in health checks.
    04:35 UTCDecision: temporarily disable health check dependencies. Restart services manually in sequence.
    04:50 UTCServices restarted with relaxed health checks. All three up and serving traffic.
    05:15 UTCRe-enable proper health checks one service at a time. All pass.
    06:05 UTCConfirmed stable. Incident closed.

    WHAT HELPED

    Someone pulled up the architecture diagram and traced the dependency chain
    IC made the call to temporarily relax health checks - unconventional but effective
    Manual sequential restart broke the deadlock

    WHAT HINDERED

    Circular dependency wasn't visible in any monitoring or alerting
    Automated restart attempts made the problem worse - they reinforced the deadlock
    No dependency graph analysis as part of the architecture review process
    Health checks that depend on other services are fragile by design

    LESSONS LEARNED

    1Service health checks must only verify the service's own health, not its dependencies' health
    2Implement dependency graph analysis to detect circular dependencies automatically
    3Startup procedures must handle the case where dependencies aren't available yet (circuit breakers, retry with backoff)
    4Architecture reviews must include dependency analysis for deadlock potential

    The Elasticsearch Index Explosion

    SEV-2 4 hoursSearch degraded to 30-second response times. Log ingestion stopped. Dashboards unusable.

    SUMMARY

    A logging format change caused Elasticsearch to create a new field mapping for every unique user ID, resulting in a mapping explosion that consumed all heap memory.

    INCIDENT TIMELINE

    09:00 UTCNew log format deployed: user IDs now logged as individual field names instead of values.
    10:30 UTCElasticsearch cluster heap usage climbing. Mapping count increasing rapidly.
    11:00 UTCSearch queries timing out. Kibana dashboards not loading.
    11:10 UTCIC declared. SEV-2 - search degraded, not down.
    11:25 UTCES cluster: 1.2 million field mappings (normal: 5,000). Heap at 95%.
    11:35 UTCTraced to log format change: each user_<id> creating a new mapping.
    11:45 UTCLogging format change rolled back. New logs using correct format.
    12:00 UTCProblem: existing index has 1.2M mappings. Can't shrink. Need to reindex.
    12:30 UTCNew index created with correct mappings. Alias switched to new index.
    13:00 UTCSearch performance recovering. Old index being reindexed in background.
    13:00 UTCFull recovery confirmed. Incident closed.

    WHAT HELPED

    Team quickly identified the mapping explosion pattern
    Elasticsearch index alias allowed switching to a new clean index without downtime
    The log format change was in version control and easy to revert

    WHAT HINDERED

    No review process for log format changes - treated as non-impactful
    No mapping count monitoring or alerting
    The log change was deployed to all services simultaneously
    Reindexing took hours, extending the incident duration

    LESSONS LEARNED

    1Log format changes must be reviewed for Elasticsearch mapping impact
    2Monitor Elasticsearch mapping count and alert on unexpected growth
    3Use dynamic mapping templates to prevent field explosion
    4Log format changes should be rolled out gradually with mapping monitoring

    The Rate Limiter That Rate Limited Everything

    SEV-1 35 minutesAll API requests rejected with 429 Too Many Requests. Complete API outage.

    SUMMARY

    A rate limiter configuration update set the global rate limit to 10 requests per minute instead of 10,000. Every API call was rate limited, returning 429 errors to all clients.

    INCIDENT TIMELINE

    16:00 UTCRate limiter config updated: '10000' changed to '10' (typo - missed three zeros).
    16:01 UTCAPI error rate: 0% โ†’ 99.9% within 60 seconds. All 429 errors.
    16:02 UTCPagerDuty storm: every service alerting on upstream 429 errors.
    16:03 UTCIC declared. SEV-1 immediate.
    16:05 UTCAll errors are 429 - rate limiting. Checking rate limiter config.
    16:08 UTCFound: global limit set to 10/min. Config deployed 8 minutes ago.
    16:10 UTCConfig reverted. Rate limiter reloaded.
    16:15 UTCAPI error rate back to 0%. All services recovering.
    16:35 UTCConfirmed stable. Incident closed.

    WHAT HELPED

    The 429 error code immediately pointed to rate limiting as the cause
    Config revert was fast - under 5 minutes from identification to fix
    IC declaration was nearly instant - no debate about severity

    WHAT HINDERED

    No config validation: '10' is valid syntax even though it's clearly wrong for a global rate limit
    No canary deployment for rate limiter config changes
    A single config value change caused a complete API outage - no gradual application

    LESSONS LEARNED

    1Rate limiter config must have sanity checks: global limit below 100 should require explicit confirmation
    2Implement config change canary: apply to 1% of traffic first, monitor, then expand
    3Critical infrastructure config changes need the same review rigor as code changes
    4Rate limiters should have a circuit breaker: if more than X% of traffic is limited, disable and alert

    The S3 Bucket Policy Lockout

    SEV-1 5 hours 20 minutesAll user-uploaded images and documents unavailable. Product severely degraded for all users.

    SUMMARY

    A security team member updated the S3 bucket policy to restrict access. The new policy was too restrictive and blocked the application's IAM role from reading objects. All user media became inaccessible.

    INCIDENT TIMELINE

    14:00 UTCSecurity team updates S3 bucket policy as part of quarterly access review.
    14:05 UTCApplication starts logging AccessDenied errors for S3 GetObject calls.
    14:10 UTCUsers reporting: profile pictures missing, documents won't download.
    14:20 UTCIC declared. SEV-1 - core functionality depends on S3-stored assets.
    14:30 UTCIdentified: S3 bucket policy changed 30 minutes ago. AccessDenied for app IAM role.
    14:35 UTCContacted security team. They don't have the original policy backed up.
    14:50 UTCCloudTrail audit: found the PutBucketPolicy event with the previous policy.
    15:00 UTCPrevious policy reconstructed from CloudTrail. Applied to bucket.
    15:05 UTCPartial recovery: some assets loading. CDN cache still serving stale errors.
    16:00 UTCCDN cache invalidation complete. All assets accessible.
    19:20 UTCFull monitoring period complete. Incident closed.

    WHAT HELPED

    CloudTrail had a complete audit trail including the previous bucket policy
    IC connected user reports to the S3 policy change within 10 minutes
    CDN cache invalidation procedure was documented, even if slow

    WHAT HINDERED

    Security team made production changes without a rollback plan or backup of the original policy
    No change management process for IAM/bucket policy changes - treated as 'security, not engineering'
    CDN cached the AccessDenied errors, extending the impact even after the policy was fixed
    No pre-deployment testing of the new bucket policy against application access patterns

    LESSONS LEARNED

    1All infrastructure policy changes must go through change management, including security changes
    2Backup the current policy before applying any changes - infrastructure as code for all policies
    3Test policy changes in a staging environment that mimics production IAM roles
    4Configure CDN to not cache error responses (or use short TTL for errors)
    5Security and engineering teams must coordinate on changes that affect application access

    The Timezone-Aware Billing Bug

    SEV-2 8 hours (detection to resolution)12,000 customers overbilled. $180,000 in incorrect charges requiring manual refunds.

    SUMMARY

    A billing system update changed timestamp handling from UTC to local timezone. Customers near the date boundary were billed for an extra day of service. The bug was in production for 3 days before a customer reported it.

    INCIDENT TIMELINE

    Day 1Billing system update deployed with timezone-aware date calculations.
    Day 3Customer support ticket: 'I was charged for 32 days of service in a 31-day month.'
    Day 4 09:00Support escalates to engineering after 5 more similar tickets.
    Day 4 09:30IC declared. SEV-2 - financial impact, not availability.
    Day 4 10:00Billing team identifies: date boundary calculation using local TZ instead of UTC.
    Day 4 10:30Scope analysis: 12,000 customers in timezones where the bug creates an extra day.
    Day 4 11:00Hotfix deployed: billing calculations reverted to UTC.
    Day 4 12:00Finance team begins calculating refunds for affected customers.
    Day 4 14:00Customer communication sent: apology + automatic refund within 5 business days.
    Day 4 17:00Refund processing complete. Incident closed.

    WHAT HELPED

    Customer support team correctly identified the pattern across multiple tickets
    Finance team had the tools to calculate and process bulk refunds quickly
    Proactive customer communication prevented a larger PR issue

    WHAT HINDERED

    The bug was in production for 3 days before detection - no automated billing validation
    Billing tests didn't cover timezone boundary conditions
    The code review didn't flag the UTC-to-local timezone change as risky
    No billing reconciliation process that would catch systematic overcharges

    LESSONS LEARNED

    1All timestamps in billing must be UTC - enforce this with linting rules and code review checks
    2Implement automated billing reconciliation: compare actual charges against expected charges daily
    3Billing code changes require additional review from the finance team
    4Test billing logic with explicit timezone boundary test cases
    5Timezone handling is a critical category: any change to date/time logic must be flagged for extra review

    The Load Balancer Health Check Trap

    SEV-1 1 hour 45 minutes50% of web traffic returning 502 errors. Half of backend fleet removed from rotation.

    SUMMARY

    A health check endpoint was updated to include a database connectivity check. When the database experienced a brief blip, the health check failed for all backend instances, causing the load balancer to remove them from rotation - even though the instances were perfectly capable of serving cached content.

    INCIDENT TIMELINE

    19:00 UTCDatabase experiences 30-second connectivity blip (resolved automatically).
    19:01 UTCHealth checks fail for all backend instances. Load balancer begins removing them.
    19:02 UTC50% of instances removed from rotation. Remaining instances overloaded.
    19:03 UTC502 errors spiking. Customers unable to access the site.
    19:05 UTCIC declared. Database is healthy again but instances aren't being re-added.
    19:10 UTCHealth checks still failing: DB check passes but response time > threshold due to overload.
    19:15 UTCIdentified: health check includes deep DB check. Overloaded instances too slow to respond within timeout.
    19:20 UTCDecision: temporarily switch health check to shallow endpoint (no DB check).
    19:25 UTCShallow health check deployed. Instances beginning to pass. LB re-adding them.
    19:35 UTCAll instances back in rotation. Traffic distribution normal. Errors clearing.
    20:45 UTCImplemented separate deep and shallow health checks. Incident closed.

    WHAT HELPED

    IC identified the feedback loop: DB blip โ†’ health check fail โ†’ overload โ†’ health check fail
    Quick decision to switch to shallow health checks broke the cycle
    Understanding that the original DB blip had already resolved was key to the diagnosis

    WHAT HINDERED

    Deep health checks coupled the application's availability to its dependencies' availability
    Health check timeout was too aggressive for an endpoint that included DB connectivity
    No differentiation between 'instance is unhealthy' and 'instance's dependency had a momentary issue'
    Load balancer was too aggressive in removing instances - no grace period

    LESSONS LEARNED

    1Health checks should be shallow by default (process alive, can handle requests)
    2Deep health checks (including dependencies) should be separate and not affect load balancer routing
    3Load balancers should require multiple consecutive failures before removing an instance
    4A health check that can take down your entire fleet is worse than no health check at all

    The Webhook Retry Storm

    SEV-2 3 hoursPartner integrations receiving duplicate data. 50,000 duplicate webhook deliveries.

    SUMMARY

    A webhook delivery system had a bug where failed deliveries were retried immediately instead of with exponential backoff. When a partner's endpoint went down briefly, the retry storm overwhelmed both the partner and the webhook system.

    INCIDENT TIMELINE

    08:00 UTCPartner's webhook endpoint returns 503 for 2 minutes.
    08:02 UTCWebhook system begins retries. No backoff - retrying every second.
    08:05 UTCQueue depth: 50,000 retry messages. Worker pool saturated.
    08:10 UTCPartner endpoint recovers but is overwhelmed by retry flood.
    08:15 UTCIC declared. Webhook system affecting other integrations due to queue saturation.
    08:25 UTCIdentified: retry config has no backoff. Constant 1-second retry interval.
    08:30 UTCDecision: pause all webhook retries. Drain the queue.
    08:45 UTCQueue drained. Partner contacted about duplicate data.
    09:15 UTCExponential backoff implemented. Retries resumed with 1min/5min/30min/2hr intervals.
    11:00 UTCAll webhook deliveries current. Partner confirmed deduplication complete. Incident closed.

    WHAT HELPED

    IC quickly paused retries to stop the bleeding before fixing the root cause
    Partner was responsive and had deduplication logic (even if not perfect)
    Queue system allowed pausing and draining without data loss

    WHAT HINDERED

    No exponential backoff - a fundamental webhook best practice was missing
    No per-partner rate limiting - one partner's outage affected all partners
    No circuit breaker to stop retries when a partner is consistently failing
    Duplicate webhook deliveries caused data integrity issues on the partner side

    LESSONS LEARNED

    1All retry systems must implement exponential backoff with jitter
    2Implement per-destination circuit breakers for webhook delivery
    3Add per-partner rate limits to prevent one partner's issues from affecting others
    4Include idempotency keys in all webhook payloads so partners can deduplicate

    The Canary Deploy That Wasn't Watched

    SEV-2 2 hours 30 minutes15% of users experiencing errors for 2 hours. Mobile app crashes for users hitting the canary.

    SUMMARY

    A canary deployment showed elevated error rates within 5 minutes, but the deploying engineer had moved on to another task. The canary auto-promoted to full deployment after the 30-minute window, spreading the bug to all instances.

    INCIDENT TIMELINE

    10:00 UTCCanary deploy initiated. 5% of traffic routed to new version.
    10:05 UTCCanary error rate: 12% (baseline: 0.5%). No one watching.
    10:30 UTCAuto-promotion: canary promoted to 100% after 30-minute window. Error rate applied.
    10:35 UTCAlerts fire: error rate at 12% across all instances.
    10:40 UTCIC declared. SEV-2.
    10:50 UTCIdentified: the promoted canary version has a serialization bug on specific API responses.
    10:55 UTCRollback initiated.
    11:05 UTCRollback complete. Error rate dropping.
    11:15 UTCError rate at baseline. Mobile app users need to restart to clear cached bad response.
    12:30 UTCMobile app cache TTL expired. All users recovered. Incident closed.

    WHAT HELPED

    Canary infrastructure existed and correctly detected the issue
    Rollback was straightforward once the decision was made

    WHAT HINDERED

    Canary auto-promoted despite elevated error rates - no automatic abort threshold
    Deploying engineer wasn't monitoring the canary during the critical window
    No alerting on canary error rate delta - only on absolute thresholds post-promotion
    Mobile app cached the bad response, extending the incident beyond the rollback

    LESSONS LEARNED

    1Canary deploys must have automatic abort thresholds: if error rate exceeds 2x baseline, halt and rollback
    2Deploying engineers must actively monitor canary metrics during the promotion window
    3Alert on canary vs. baseline metrics, not just absolute thresholds
    4Mobile app responses should include cache-control headers to prevent stale error caching

    The Terraform State File Corruption

    SEV-1 7 hoursUnable to make any infrastructure changes. Risk of drift between state and reality.

    SUMMARY

    Two engineers ran Terraform apply simultaneously against the same state file. The concurrent writes corrupted the state, leaving infrastructure in an inconsistent state where Terraform wanted to destroy and recreate production resources.

    INCIDENT TIMELINE

    09:00 UTCEngineer A runs terraform apply for a new security group.
    09:01 UTCEngineer B runs terraform apply for a new S3 bucket (same state file).
    09:03 UTCBoth applies complete with warnings. State file has conflicting entries.
    09:10 UTCEngineer C runs terraform plan: output shows 14 resources to be destroyed and recreated.
    09:12 UTCIC declared immediately - terraform destroying production resources is catastrophic.
    09:15 UTCAll terraform operations blocked. No infrastructure changes allowed.
    09:30 UTCState file analysis: conflicting resource entries from concurrent writes.
    10:00 UTCDecision: manually reconcile state file using terraform state commands.
    12:00 UTCState file reconciled for 80% of resources. Remaining 20% require manual verification.
    14:00 UTCManual verification of remaining resources complete. State file consistent.
    15:30 UTCterraform plan shows no changes. State matches reality. Incident closed.

    WHAT HELPED

    Engineer C caught the corrupted plan before anyone applied it
    IC immediately blocked all terraform operations to prevent further damage
    Team had experience with terraform state manipulation commands

    WHAT HINDERED

    No state locking - concurrent applies were possible
    Remote state backend didn't enforce exclusive access
    No CI/CD pipeline for terraform - engineers running apply from laptops
    State reconciliation is manual and time-consuming

    LESSONS LEARNED

    1Enable state locking (DynamoDB for S3 backend, or use Terraform Cloud/Enterprise)
    2All terraform applies must go through CI/CD pipeline - no local applies to production
    3Implement terraform plan review as a required step before any apply
    4Regular state file backups with versioning enabled on the S3 backend
    5Use workspaces or separate state files per component to reduce blast radius

    The Email Notification Flood

    SEV-2 1 hour 15 minutes2.3 million duplicate emails sent to 150,000 users. Email provider rate-limited. Legitimate emails delayed.

    SUMMARY

    A background job that sends daily digest emails was triggered 15 times due to a scheduler bug. Each user received 15 copies of their daily digest, and the email volume exhausted the SendGrid rate limit, blocking transactional emails.

    INCIDENT TIMELINE

    07:00 UTCDaily digest job triggered. Then triggered again. And again. 15 times total.
    07:05 UTC2.3 million emails queued to SendGrid.
    07:10 UTCSendGrid rate limit hit. Transactional emails (password resets, receipts) failing.
    07:15 UTCIC declared. Customer support flooded with 'why did I get 15 emails?'
    07:20 UTCDigest job killed. Remaining queued emails cancelled.
    07:30 UTCSendGrid queue cleared. Transactional emails resuming.
    07:45 UTCApology email drafted. Decision: send or don't send? (Ironic.)
    08:00 UTCDecision: don't send apology email - users already have enough emails. Post on status page.
    08:15 UTCStatus page updated. Social media response prepared. Incident closed.

    WHAT HELPED

    SendGrid rate limit actually prevented the situation from being even worse
    Quick decision to not send an apology email was the right call
    Status page update was honest and slightly self-deprecating - well received by users

    WHAT HINDERED

    No idempotency check on the digest job - it happily ran 15 times
    No rate limiting on our side before hitting the email provider
    Transactional and marketing emails shared the same SendGrid account and rate limit
    No monitoring on email send volume - only on delivery failures

    LESSONS LEARNED

    1Background jobs must be idempotent - check if the job has already run for this period
    2Separate transactional and marketing email into different provider accounts with separate rate limits
    3Implement application-level rate limiting on email sends, not just provider-level
    4Monitor email send volume and alert on anomalies - 15x normal volume should fire immediately

    The Database Connection Leak

    SEV-2 3 hours 45 minutesGradual performance degradation over 6 hours culminating in service unavailability.

    SUMMARY

    A code change introduced a path where database connections weren't returned to the pool on error. Under normal traffic, the leak was slow. Under load, it accelerated until the pool was exhausted.

    INCIDENT TIMELINE

    06:00 UTCDeploy with new error handling code that skips connection.close() on exceptions.
    08:00 UTCConnection pool: 40% utilized (normal: 30%). No alerts.
    10:00 UTCConnection pool: 60%. Latency starting to increase.
    11:00 UTCConnection pool: 80%. P99 latency at 2 seconds.
    11:15 UTCIC declared. SEV-2 - degraded but not down.
    11:30 UTCConnection pool trending toward exhaustion. Investigating recent deploys.
    11:45 UTCCode review of morning deploy: found missing connection.close() in error handler.
    12:00 UTCHotfix deployed: connection.close() in finally block.
    12:05 UTCLeak stopped. But pool is still at 85% - leaked connections haven't timed out.
    12:15 UTCDecision: restart application instances in rolling fashion to release leaked connections.
    12:30 UTCRolling restart complete. Connection pool at 30%. Latency normal.
    13:45 UTCMonitoring period complete. Incident closed.

    WHAT HELPED

    Code review of recent deploy quickly identified the leak
    Rolling restart strategy minimized downtime while releasing connections
    Hotfix was a one-line change that was low-risk to deploy

    WHAT HINDERED

    Connection pool monitoring alert threshold was too high (80%)
    Leak was slow enough to evade detection for 5 hours
    Code review process didn't catch the missing finally block
    No automated detection of connection pool trending

    LESSONS LEARNED

    1Use try-with-resources or finally blocks for all database connections - enforce with linting
    2Lower connection pool alert thresholds and add trend-based alerts
    3Implement connection leak detection: alert when connections are held longer than expected
    4Database connection handling should be abstracted into a shared utility, not implemented per-callsite

    The Multi-Region Failover That Didn't

    SEV-1 4 hours 30 minutesComplete outage. Multi-region failover failed because the secondary region hadn't been tested in 6 months.

    SUMMARY

    When the primary region went down, the team attempted to failover to the secondary region. The failover failed because database replication had silently broken 3 months ago, and the secondary region's application config still pointed to the primary region's resources.

    INCIDENT TIMELINE

    02:00 UTCAWS us-east-1 experiences widespread connectivity issues.
    02:05 UTCAll services in us-east-1 unreachable. Automatic failover initiated.
    02:08 UTCIC declared. SEV-1. 'Activating us-west-2 failover.'
    02:15 UTCus-west-2 application starts but can't connect to database.
    02:20 UTCDatabase replication lag: 3 months. Replication silently failed in December.
    02:30 UTCus-west-2 config still references us-east-1 Redis and S3. Not a true multi-region setup.
    02:45 UTCDecision: failover won't work. Wait for us-east-1 recovery.
    03:00 UTCStatus page: 'We are experiencing a complete outage due to cloud provider issues.'
    04:30 UTCus-east-1 connectivity beginning to recover.
    05:00 UTCServices recovering in us-east-1. Monitoring.
    06:30 UTCFull recovery confirmed. Incident closed.

    WHAT HELPED

    IC quickly recognized the failover wasn't going to work and stopped wasting time on it
    Honest communication about the cloud provider dependency

    WHAT HINDERED

    Multi-region failover was never actually tested end-to-end
    Database replication failure went undetected for 3 months
    Secondary region config wasn't maintained - pointed to primary region resources
    The team believed they had multi-region redundancy when they didn't
    No regular failover drills or replication health monitoring

    LESSONS LEARNED

    1Multi-region failover must be tested monthly - untested failover is not failover
    2Monitor database replication lag with alerts on any lag > expected threshold
    3All region-specific configuration must be validated as part of failover testing
    4Conduct full failover drills quarterly: actually route traffic to the secondary region
    5If you haven't tested it, don't count on it. Untested redundancy is false confidence.

    The GraphQL N+1 Query Meltdown

    SEV-2 2 hours 15 minutesAPI response times 20x slower. Mobile app unusable. Web app degraded.

    SUMMARY

    A new GraphQL resolver was deployed that fetched related entities one at a time instead of batching. A single API call that should generate 1 database query was generating 500+ queries, overwhelming the database.

    INCIDENT TIMELINE

    14:00 UTCNew GraphQL resolver deployed for user dashboard endpoint.
    14:15 UTCDashboard API endpoint: response time from 200ms to 4 seconds.
    14:20 UTCDatabase query count: 50,000/min (normal: 5,000/min). CPU at 80%.
    14:25 UTCIC declared. SEV-2 - degraded performance, not outage.
    14:35 UTCDatabase slow query log: thousands of identical SELECT queries per request.
    14:40 UTCClassic N+1: resolver fetching each user's orders individually instead of batch.
    14:50 UTCDecision: rollback the resolver change. Implement DataLoader pattern before redeploying.
    14:55 UTCRollback deployed. Database load immediately dropping.
    15:10 UTCAll metrics normal. Dashboard responding in 200ms.
    16:15 UTCFixed version with DataLoader deployed to staging. Incident closed.

    WHAT HELPED

    Database query count monitoring clearly showed the anomaly
    Team immediately recognized the N+1 pattern from the query logs
    Clean rollback path for the GraphQL resolver change

    WHAT HINDERED

    No automated N+1 detection in the CI/CD pipeline
    GraphQL makes N+1 problems easy to create and hard to spot in code review
    Staging environment had too few records to expose the N+1 performance impact
    No per-query database load monitoring - only aggregate metrics

    LESSONS LEARNED

    1Implement DataLoader pattern for all GraphQL resolvers that fetch related entities
    2Add N+1 detection to CI/CD: alert when a single API call generates > 10 identical queries
    3Staging environments must have representative data volumes for performance testing
    4GraphQL resolver code reviews must specifically check for N+1 patterns

    The SSL Certificate Expiry Nobody Noticed

    SEV-1 52 minutesComplete site outage. All HTTPS connections failing with certificate errors.

    SUMMARY

    The production SSL certificate expired at midnight. The auto-renewal system had been silently failing for 2 months due to a DNS validation change. The cert expired, and all browsers showed security warnings.

    INCIDENT TIMELINE

    00:00 UTCSSL certificate expires. All HTTPS connections fail.
    00:02 UTCMonitoring alerts: health check failures across all endpoints.
    00:05 UTCIC declared. Site completely unreachable - browser cert warnings blocking all access.
    00:10 UTCConfirmed: SSL cert expired 10 minutes ago. Auto-renewal didn't fire.
    00:15 UTCChecking cert manager logs: renewal has been failing since January. DNS validation failing.
    00:20 UTCDNS validation records were removed during a DNS migration 2 months ago.
    00:25 UTCDNS validation records re-added. Manual cert renewal initiated.
    00:35 UTCNew certificate issued and deployed to load balancer.
    00:40 UTCHTTPS working. Site accessible. Monitoring.
    00:52 UTCAll metrics normal. Incident closed.

    WHAT HELPED

    Manual certificate issuance process was well-documented and fast
    IC focused on resolution first (get a cert) rather than root cause (why did renewal fail)
    Once the DNS validation records were added, renewal was straightforward

    WHAT HINDERED

    Auto-renewal failure went undetected for 2 months
    No monitoring on certificate expiry date - only on connection failures
    DNS migration process didn't include audit of all DNS records in use
    Certificate expiry at midnight meant slower response due to off-hours

    LESSONS LEARNED

    1Monitor certificate expiry dates: alert at 30 days, 14 days, 7 days, and 1 day before expiry
    2Monitor auto-renewal success/failure - alert immediately on renewal failure
    3DNS migration checklists must include audit of all records including ACME validation records
    4Maintain a certificate inventory with expiry dates and renewal mechanisms

    Continue Reading