AWS Kinesis OS Thread-Limit Cascade — US-EAST-1 (Nov 25, 2020)
Summary
A small addition of capacity to the Kinesis Data Streams front-end fleet in US-EAST-1 pushed every server past an operating-system maximum thread-count limit. Because each front-end server creates OS threads for every other server in the fleet, the added hosts made the per-server thread count breach the OS ceiling; cache construction failed and servers were left with useless shard-maps, unable to route requests. Kinesis errored and slowed, and because many AWS services depend on Kinesis, CloudWatch, Cognito, Lambda, EventBridge and customer workloads cascaded down. Recovery was throttled by slow membership propagation and restart contention, so full Kinesis restoration took roughly 17 hours.
- Users affected
- Not publicly quantified by AWS; broad impact across many AWS customers in US-EAST-1 whose applications depend on Kinesis and dependent services (CloudWatch, Cognito, Lambda, EventBridge/CloudWatch Events, and downstream ECS/EKS provisioning and AWS Auto Scaling).
- Duration
- 11h 0m — First customer-visible errors 05:15 PST → majority of downstream issues resolved 16:15 PST
- Financial
- Not published by AWS for this event. (The ~$34M Parametrix estimate belongs to the separate Dec 7, 2021 US-EAST-1 outage and does not apply here.)
- Scope
- Major regional multi-service outage
- Site
- AWS US-EAST-1 (Kinesis Data Streams front-end fleet) · Ashburn, USA, us-east-1
- Services down
- Amazon Kinesis Data Streams, Amazon CloudWatch (metrics and alarms), Amazon Cognito (User Pools), AWS Lambda (invocation error rates), Amazon EventBridge / CloudWatch Events, Amazon ECS / EKS (provisioning and scaling delays, via EventBridge), AWS Auto Scaling (metric-dependent policy delays)
How the defences failed
High blast radius: a single control-plane data service (Kinesis) took down at least five dependent AWS services plus customer workloads in the busiest AWS region. Duration: ~11 h from the first customer-visible errors to the majority of downstream services recovering; full Kinesis recovery took ~17 h. User and financial magnitudes are inferred as large but are NOT quantified by AWS for this event; scores reflect scope of dependent services, not a published cost/user figure.
All 10 impact metrics
| Capacity-addition (trigger) window | 63 min (02:44–03:47 AM PST) |
| Detection lag (breach to first alarm) | ~1h28m (03:47 to 05:15 AM PST) |
| Time to confirmed root cause | ~5h52m after breach (03:47 to 09:39 AM PST) |
| Constrained restart rate | a few hundred servers per hour |
| Recovery span (restart start to full recovery) | 12h16m (10:07 AM to 10:23 PM PST) |
| Total Kinesis outage duration | ~18h36m from breach (03:47 AM to 10:23 PM PST) |
| Thread scaling relationship | O(N): threads per server proportional to fleet size |
| Downstream services impacted | 6+ (Cognito, CloudWatch, Lambda, EventBridge, ECS, EKS) |
| Cognito recovery time | 02:18 PM PST |
| CloudWatch full recovery | 10:31 PM PST |
Sequence of events
- TRIGGER A 'relatively small addition of capacity' begins to be added to the Kinesis front-end fleet — the trigger, explicitly not the root cause.
- TRIGGER Capacity addition finishes; the larger fleet pushes every server past the OS max-thread limit — 'the new capacity had caused all of the servers in the fleet to exceed the maximum number of threads allowed by an operating system configuration.'
- CASCADE Failure mechanism engages fleet-wide: 'cache construction was failing to complete and front-end servers were ending up with useless shard-maps,' disabling authentication, throttling and request-routing.
- DETECTION Automated monitoring raises the first alarms for elevated Kinesis error rates — the sensor detects the symptom, not the underlying thread-limit breach, roughly 90 minutes after the breach. CloudWatch Events/EventBridge errors also begin at 5:15 AM.First responder
- MITIGATION Engineers narrow the root cause to candidate failures that would require a full front-end fleet restart.Operations lead
- DETECTION Root cause confirmed: the new capacity caused all servers to exceed the OS-configured maximum thread count — the 'confirmation of the fire's origin.'
- RECOVERY Controlled, throttled restart of the front-end fleet begins; first servers take traffic again. Restart deliberately slow because too-fast recovery would overwhelm shard-map/metadata retrieval and re-trigger failure.Service recovery lead
- MITIGATION Cognito remediation deployment begins to reduce reliance on the backlogged Kinesis Data Stream buffers that were blocking Cognito webservers.Service recovery lead
- MITIGATION Engineers act to mitigate Lambda memory contention — metric buffering that could not drain to Kinesis had 'caused memory contention on the underlying service hosts used for Lambda function invocations' — resolving the increased error rates.Operations lead
- IMPACT CloudWatch shows 'increased error rates and latencies for the PutMetricData and PutLogEvents APIs'; ECS and EKS, which use EventBridge for internal workflows, see delays provisioning new clusters and scaling existing ones.
- RECOVERY 'By 2:18 PM PST Cognito was operating normally' after authentication failures clear.
- RECOVERY Majority of EventBridge, ECS and EKS event-processing and cluster-provisioning issues resolved.
- MITIGATION De-energisation/isolation analogue: the added capacity is removed and the fleet restarted under the existing OS limit; AWS deliberately defers raising the limit 'without further testing,' adding only 'a few hundred per hour.'
- RESTORED Amazon Kinesis fully recovered — end of the ~18.5-hour 'burn' from the 3:47 AM breach.
- RESTORED CloudWatch metrics and alarms (PutMetricData / PutLogEvents) fully recovered.
- RECOVERY Structural remediation committed: greatly accelerate cellularization of the front-end fleet 'to match what we've done with the back-end,' move to 'larger CPU and memory servers, reducing the total number of servers,' add thread-consumption alarming, radically improve cold-start time, and raise OS thread limits after testing.
Response by role
What each role did
Roles the sequence of events shows acting; every entry quotes its source line. Select a time to jump to it.
Role by role
Recorded actions / playbook actions per role. A role with 0 recorded actions does not appear in the sources.
AWS Kinesis on-call engineers — automated alarms fired first, individuals not named — Meets the first alarm: on-shift technician or security in a facility, on-call engineer in a service.
On the record
- Alarms fire at 05:15, about 90 minutes after the breach, on the symptom not the thread limit
Automated monitoring raises the first alarms for elevated Kinesis error rates
Playbook analyst guidance by failure mode, not a record of what happened
- FM-01Alarm on thread count per front-end server against the OS maximum during and after every capacity changeSRE incident mgmtImprovement #3
- FM-04Track servers restored per hour against a target, and page when the rate stallsSRE incident mgmt
- FM-02Page on the first Kinesis front-end error spike and open the thread count graph for the fleet firstSRE incident mgmtLesson #2
- FM-05Alarm on dependent service buffer depth and host memory contention when Kinesis puts begin to failSRE incident mgmt
- FM-03Show per-cell error rates on the dashboard to separate a cell fault from a fleet-wide oneSRE incident mgmt
No incident commander is named in the record — Owns every decision until formally relieved: site duty manager on scene, or the declared IC of a service incident.
On the record
No action by this role appears in the sources.
Playbook analyst guidance by failure mode, not a record of what happened
- FM-01Hold the OS limit change until it is tested; restart under the existing limitChange management
- FM-04Defer raising the OS limit mid-incident until it is tested, and say so on the bridgeChange management
- FM-02Call the incident at the first alarm instead of waiting for diagnosis, and open a bridge with the dependent service teamsSRE incident mgmt
AWS Kinesis team adding capacity to the front-end fleet — not named — Authored or approved the change, deployment or configuration push that started the event.
On the record
No action by this role appears in the sources.
Playbook analyst guidance by failure mode, not a record of what happened
- FM-01Before adding front-end capacity, compute the per-server thread count for the new fleet size and check it against the OS limitChange managementLesson #1
- FM-01Move to larger CPU and memory servers so fewer servers are needed and peer threads per server fallCorrection of errors #2
- FM-04Radically improve cold-start time so restart is not capped at a few hundred servers per hourCorrection of errors #5
- FM-02Add fine-grained thread-consumption alarms to the front-end fleet before further scalingCorrection of errors #3
- FM-05Add back-pressure to Cognito, Lambda and CloudWatch buffers so a Kinesis backlog does not block webservers or use host memoryCorrection of errors #6
- FM-03Cellularize the front-end fleet to match the back-end so a limit breach hits one cellCorrection of errors #1
- FM-03Move large tenants like CloudWatch to a separate front-end fleetChange managementImprovement #4
AWS engineers diagnosing and mitigating — not individually named — Technical lead who diagnoses and drives the fix; the subject-matter expert at the keyboard or the switchboard.
On the record
- Narrow the cause to candidates that need a full fleet restart, at 07:51
Engineers narrow the root cause to candidate failures that would require a full front-end fleet restart.
- Mitigate Lambda memory contention from undrained metric buffers at 10:36
Engineers act to mitigate Lambda memory contention
Playbook analyst guidance by failure mode, not a record of what happened
- FM-02Check server resource ceilings (threads, memory, file handles) against any change made in the last few hoursSRE incident mgmt
- FM-01Stop the capacity addition and remove the added servers once thread counts approach the limitChange management
- FM-04Throttle restarts so shard-map and metadata retrieval is not overwhelmed and the failure re-triggeredSRE incident mgmt
- FM-05Deploy a Cognito change that tolerates Kinesis errors without exhausting buffersImprovement #5
- FM-05Clear Lambda memory contention from metric buffers that cannot drain to KinesisSRE incident mgmt
- FM-03Add capacity to one cell only first and hold the rest until the thread count is confirmedChange management
AWS Kinesis, Cognito, Lambda and CloudWatch recovery engineers — not named — Restores customer service: failover, workload moves, capacity, backlog drain.
On the record
- Start a deliberately slow restart at 10:07 so shard-map retrieval is not overwhelmed
Controlled, throttled restart of the front-end fleet begins
- Deploy a Cognito change at 10:15 to cut reliance on backlogged Kinesis buffers
Cognito remediation deployment begins
Playbook analyst guidance by failure mode, not a record of what happened
- FM-01Restart the front-end fleet in throttled batches and check each batch builds its shard-mapITIL 4
- FM-04Bring servers back in rate-limited batches and watch membership propagation, which can take up to an hourITIL 4Lesson #5
- FM-02Confirm the thread alarm is wired and firing on a test fleet before the recovery is called completeITIL 4
- FM-05Confirm Cognito, CloudWatch PutMetricData, EventBridge and ECS/EKS provisioning each return to normal in turnITIL 4
- FM-03Restart the affected cell first and check it before restarting othersITIL 4
AWS status and support communications — not in this sequence of events — Status page, customer notices, regulators and press; one voice, timed updates.
On the record
No action by this role appears in the sources.
Playbook analyst guidance by failure mode, not a record of what happened
- FM-05Post status through a channel that does not depend on Cognito, and use the backup toolSRE incident mgmtImprovement #7
Customers of Kinesis, Cognito, CloudWatch, ECS and EKS in US-EAST-1 — The tenant or service user: their own redundancy, backups and continuity plan.
On the record
No action by this role appears in the sources.
Playbook analyst guidance by failure mode, not a record of what happened
- FM-04Retry Kinesis puts with backoff while the fleet is restored so the retries do not add loadSRE incident mgmt
Failure mode & effects analysis (FMEA)
The Amazon Kinesis Data Streams front-end fleet in US-EAST-1 — its shard-map coordination design and OS thread limit, the capacity-addition change that triggered the breach, the alarming on that fleet, its fault-domain boundary and cold-restart path, and the AWS services that buffer data through Kinesis. Analysed retrospectively from the official AWS post-event summary held in this dossier. Every corrective action is recorded as committed by AWS; none is recorded as completed, so each revised score is a claim about the action, not a confirmed outcome.
- Caught only after impactD ≥ 8
- 4 of 5
- Actions that cut occurrenceO lowered
- 2
- Actions that cut detectionD lowered
- 1
- Actions that cut severityS lowered
- 2
FM-01 Per-server thread demand crosses the OS-configured maximum on every server at once after a small capacity addition, and shard-map construction failsFront-end shard-map coordination and OS thread limit 9·7·8 504 216
- Function
- Build each front-end server's shard-map so it can authenticate, throttle and route requests to the right back-end shards
- Effect
- Front-end servers end up with useless shard-maps and cannot route; Kinesis errors and slows across US-EAST-1 for about 18.5 hours from the breach
- Cause
- Each front-end server creates one OS thread per peer, so thread count grows in proportion to fleet size, against an OS thread limit not dimensioned for that growth
- Prevention in place
- None recorded; the limit had never been checked against the fleet's growth
- Detection in place
- None at the breach; the first alarm was on Kinesis error rates about 88 minutes later
- S 9
- Region-wide outage of a foundational data service that at least six other AWS services depend on, with no customer workaround: the rubric's 9. Not 10: one region, no hazard to people.
- O 7
- Adding capacity is routine work, and with thread count tied to fleet size every addition moved the fleet toward the ceiling; scored just under 'frequent' because the ceiling is only crossed once the fleet is large enough.
- D 8
- Nothing checked thread headroom before or during the capacity addition; the breach was seen only through Kinesis error-rate alarms after impact, 'detected after impact by internal monitoring'.
Corrective action
- Move the front-end fleet to larger CPU and memory servers, cutting the number of servers and so the per-server thread count Correction of errors #2
- Raise the OS thread-count limit once it has been load tested Correction of errors #4
After action: S9 · O3 · D8 → RPN 216. Fewer, larger servers shrink the fleet size that drives thread count, and a tested higher limit adds headroom, so a routine capacity addition should no longer reach the ceiling (O 7→3). The O(N) coupling itself remains, so severity and detection are unchanged. Both actions are recorded as committed, not completed, so the reduction is a claim about the action, not a confirmed outcome.
Who acts — playbook
- Change owner Before adding front-end capacity, compute the per-server thread count for the new fleet size and check it against the OS limitChange managementLesson #1
- Change owner Move to larger CPU and memory servers so fewer servers are needed and peer threads per server fallCorrection of errors #2
- First responder Alarm on thread count per front-end server against the OS maximum during and after every capacity changeSRE incident mgmtImprovement #3
- Operations lead Stop the capacity addition and remove the added servers once thread counts approach the limitChange management
- Incident commander Hold the OS limit change until it is tested; restart under the existing limitChange management
- Service recovery lead Restart the front-end fleet in throttled batches and check each batch builds its shard-mapITIL 4
Evidence
- Sequence of events #22020-11-25 03:47 AM PST — Capacity addition finishes; the larger fleet pushes every server past the OS max-thread limit — 'the new capacity had caused all of the servers in the fleet to exceed the maximum number of threads allowed by an operating system configuration.'
- Sequence of events #32020-11-25 ~03:47 AM PST — Failure mechanism engages fleet-wide: 'cache construction was failing to complete and front-end servers were ending up with useless shard-maps,' disabling authentication, throttling and request-routing.
- Metric #7Thread scaling relationship: O(N): threads per server proportional to fleet size
- Root cause“the total threads each server must maintain is directly proportional to the number of servers in the fleet”
- Reference #1 · official-postmortem“exceed the maximum number of threads allowed by an operating system configuration”
FM-04 Restart throughput is capped at a few hundred servers per hour, because shard-map rebuild is metadata-heavy and a faster restart would re-trigger the failureFront-end cold-restart path 8·7·9 504 288
- Function
- Bring the whole front-end fleet back into service quickly after a fleet-wide failure
- Effect
- Recovery span of 12 h 16 min from first restart (10:07 AM) to full Kinesis recovery (10:23 PM PST)
- Cause
- Expensive shard-map construction at fleet scale, membership propagation of up to an hour, and an OS limit that could not be raised mid-incident without further testing
- Prevention in place
- None recorded
- Detection in place
- None before the incident; the restart rate was learned during it
- S 8
- This mode sets the duration of the outage: hours of full outage of a major service is the rubric's 8.
- O 7
- Whenever a fleet-wide restart is needed the cap applies; the condition was present the whole time.
- D 9
- Nothing in the dossier shows the restart rate had been measured before the incident needed it.
Corrective action
- Radically improve cold-start time for the front-end fleet Correction of errors #5
After action: S8 · O4 · D9 → RPN 288. A faster cold start makes a throttled, hours-long restart less likely to set the outage duration (O 7→4). Severity is held at 8 because the dossier gives no target restart time. Recorded as committed, not completed, so the reduction is a claim about the action, not a confirmed outcome.
Who acts — playbook
- Change owner Radically improve cold-start time so restart is not capped at a few hundred servers per hourCorrection of errors #5
- First responder Track servers restored per hour against a target, and page when the rate stallsSRE incident mgmt
- Operations lead Throttle restarts so shard-map and metadata retrieval is not overwhelmed and the failure re-triggeredSRE incident mgmt
- Incident commander Defer raising the OS limit mid-incident until it is tested, and say so on the bridgeChange management
- Service recovery lead Bring servers back in rate-limited batches and watch membership propagation, which can take up to an hourITIL 4Lesson #5
- Customer Retry Kinesis puts with backoff while the fleet is restored so the retries do not add loadSRE incident mgmt
On the record at this failure
- Service recovery lead Start a deliberately slow restart at 10:07 so shard-map retrieval is not overwhelmed
Evidence
- Sequence of events #72020-11-25 10:07 AM PST — Controlled, throttled restart of the front-end fleet begins; first servers take traffic again. Restart deliberately slow because too-fast recovery would overwhelm shard-map/metadata retrieval and re-trigger failure.
- Sequence of events #132020-11-25 (throughout) — De-energisation/isolation analogue: the added capacity is removed and the fleet restarted under the existing OS limit; AWS deliberately defers raising the limit 'without further testing,' adding only 'a few hundred per hour.'
- Metric #4Constrained restart rate: a few hundred servers per hour
- Metric #5Recovery span (restart start to full recovery): 12h16m (10:07 AM to 10:23 PM PST)
- Contributing factor #5Fragile, expensive recovery path: because shard-map construction is metadata-heavy at fleet scale, servers could only be restored 'at the rate of a few hundred per hour,' and the OS limit could not be safely raised mid-incident 'without further testing,' extending the outage (aws.amazon.com/message/11201).
FM-02 No alarm exists on thread consumption, so the first signal is downstream error rates and the cause takes hours to identifyFront-end fleet alarming 7·7·8 392 196
- Function
- Warn operators before the fleet runs out of the resource it is about to exhaust
- Effect
- First alarm 1 h 28 min after the breach; root cause confirmed 5 h 52 min after the breach, delaying the start of recovery
- Cause
- Monitoring covered the symptom (Kinesis error rates) but not the limiting resource (thread count against the OS limit)
- Prevention in place
- None recorded
- Detection in place
- Automated alarms on elevated Kinesis error rates at 05:15 AM PST
- S 7
- This mode lengthens the outage by delaying diagnosis rather than causing it; hours of added delay on a major service is scored as 'major degradation', below FM-01 so the same outage is not counted twice at full weight.
- O 7
- The missing alarm was a standing condition, present for any approach to the thread limit.
- D 8
- Internal monitoring did fire, but only on the symptom and after impact: the rubric's 8.
Corrective action
- Add fine-grained alarming for thread consumption Correction of errors #3
After action: S7 · O7 · D4 → RPN 196. An alarm on the limiting resource would show the fleet approaching the ceiling with time to act (D 8→4). It does not remove the condition, so O is unchanged. Recorded as committed, not completed, so the reduction is a claim about the action, not a confirmed outcome.
Who acts — playbook
- Change owner Add fine-grained thread-consumption alarms to the front-end fleet before further scalingCorrection of errors #3
- First responder Page on the first Kinesis front-end error spike and open the thread count graph for the fleet firstSRE incident mgmtLesson #2
- Operations lead Check server resource ceilings (threads, memory, file handles) against any change made in the last few hoursSRE incident mgmt
- Incident commander Call the incident at the first alarm instead of waiting for diagnosis, and open a bridge with the dependent service teamsSRE incident mgmt
- Service recovery lead Confirm the thread alarm is wired and firing on a test fleet before the recovery is called completeITIL 4
On the record at this failure
- First responder Alarms fire at 05:15, about 90 minutes after the breach, on the symptom not the thread limit
Evidence
- Sequence of events #42020-11-25 05:15 AM PST — Automated monitoring raises the first alarms for elevated Kinesis error rates — the sensor detects the symptom, not the underlying thread-limit breach, roughly 90 minutes after the breach. CloudWatch Events/EventBridge errors also begin at 5:15 AM.
- Sequence of events #62020-11-25 09:39 AM PST — Root cause confirmed: the new capacity caused all servers to exceed the OS-configured maximum thread count — the 'confirmation of the fire's origin.'
- Metric #2Detection lag (breach to first alarm): ~1h28m (03:47 to 05:15 AM PST)
- Metric #3Time to confirmed root cause: ~5h52m after breach (03:47 to 09:39 AM PST)
- Contributing factor #2Observability/maintenance gap: no fine-grained alarming existed for thread consumption; AWS commits to add 'fine-grained alarming for thread consumption' only as a post-incident action, meaning operators had no early warning as the fleet approached the OS thread limit (aws.amazon.com/message/11201).
FM-05 Buffers toward Kinesis back up with no back-pressure ceiling, so dependents block or exhaust host memory and fail in turnAWS services that buffer data through Kinesis (Cognito, Lambda, CloudWatch, EventBridge) 8·3·8 192 144
- Function
- Keep serving their own requests while Kinesis is impaired
- Effect
- Cognito authentication fails until 2:18 PM; Lambda error rates rise from host memory contention; CloudWatch PutMetricData and PutLogEvents error until 10:31 PM; EventBridge delays stall ECS and EKS cluster provisioning and scaling
- Cause
- Unbounded buffering toward Kinesis in dependent services, with no recorded degraded mode
- Prevention in place
- None recorded
- Detection in place
- Error rates in each dependent service after Kinesis impact began
- S 8
- Turns one service's outage into a multi-service regional outage lasting hours: the rubric's 8. Not 9, because the region-wide Kinesis outage itself is scored in FM-01.
- O 3
- Needs Kinesis to be impaired first, which is infrequent.
- D 8
- The dependent failures were seen and mitigated by AWS engineers only after they produced error rates: 'detected after impact by internal monitoring'.
Corrective action
- Add back-pressure and graceful degradation so a Kinesis backlog no longer blocks webservers or exhausts host memory Correction of errors #6
- Cognito webservers tolerate Kinesis errors without exhausting buffers; CloudWatch persists 3 hours of metrics locally Improvement #5
After action: S6 · O3 · D8 → RPN 144. If dependents degrade instead of failing, a Kinesis outage stays confined to Kinesis and its direct users (S 8→6). The COE item is recorded as 'Committed / implied by remediation' and the improvement names only Cognito and CloudWatch, not Lambda or EventBridge, so the reduction is a claim about the action, not a confirmed outcome.
Who acts — playbook
- Change owner Add back-pressure to Cognito, Lambda and CloudWatch buffers so a Kinesis backlog does not block webservers or use host memoryCorrection of errors #6
- First responder Alarm on dependent service buffer depth and host memory contention when Kinesis puts begin to failSRE incident mgmt
- Operations lead Deploy a Cognito change that tolerates Kinesis errors without exhausting buffersImprovement #5
- Operations lead Clear Lambda memory contention from metric buffers that cannot drain to KinesisSRE incident mgmt
- Service recovery lead Confirm Cognito, CloudWatch PutMetricData, EventBridge and ECS/EKS provisioning each return to normal in turnITIL 4
- Communications lead Post status through a channel that does not depend on Cognito, and use the backup toolSRE incident mgmtImprovement #7
On the record at this failure
- Service recovery lead Deploy a Cognito change at 10:15 to cut reliance on backlogged Kinesis buffers
- Operations lead Mitigate Lambda memory contention from undrained metric buffers at 10:36
Evidence
- Sequence of events #82020-11-25 10:15 AM PST — Cognito remediation deployment begins to reduce reliance on the backlogged Kinesis Data Stream buffers that were blocking Cognito webservers.
- Sequence of events #92020-11-25 10:36 AM PST — Engineers act to mitigate Lambda memory contention — metric buffering that could not drain to Kinesis had 'caused memory contention on the underlying service hosts used for Lambda function invocations' — resolving the increased error rates.
- Sequence of events #102020-11-25 (daytime) — CloudWatch shows 'increased error rates and latencies for the PutMetricData and PutLogEvents APIs'; ECS and EKS, which use EventBridge for internal workflows, see delays provisioning new clusters and scaling existing ones.
- Metric #8Downstream services impacted: 6+ (Cognito, CloudWatch, Lambda, EventBridge, ECS, EKS)
- Contributing factor #6Unbounded downstream buffers: dependent services (Cognito, Lambda, CloudWatch) buffered data toward Kinesis with no back-pressure ceiling, so Cognito webservers 'begin to block on the backlogged Kinesis Data Stream buffers' and Lambda metric buffering 'caused memory contention on the underlying service hosts used for Lambda function invocations' — turning one service's outage into a multi-service cascade (aws.amazon.com/message/11201).
FM-03 The front-end fleet is not cellularized, so the thread-limit breach reaches every server at the same momentFront-end fleet fault domain 9·3·6 162 108
- Function
- Confine a resource exhaustion to part of the fleet
- Effect
- Routing fails fleet-wide rather than for a fraction of streams
- Cause
- Front-end fleet not partitioned into cells, unlike the back-end
- Prevention in place
- None recorded for the front end; the back end was already cellularized
- Detection in place
- Error-rate alarms at onset of customer impact
- S 9
- The single fault domain is what makes the breach region-wide for Kinesis, so it carries FM-01's severity.
- O 3
- Losing the whole fleet needs a fleet-wide trigger such as FM-01's breach first, an unusual combination; held low so the event is not double-counted.
- D 6
- The fleet-wide failure was visible to monitoring once impact began, but nothing in the architecture contained it: 'detected at onset, not prevented'.
Corrective action
- Greatly accelerate cellularization of the front-end fleet to match the back-end Correction of errors #1
After action: S6 · O3 · D6 → RPN 108. With cells, a breach of this kind would stop one cell rather than the fleet (S 9→6). Recorded as committed (medium-term), not completed, so the reduction is a claim about the action, not a confirmed outcome.
Who acts — playbook
- Change owner Cellularize the front-end fleet to match the back-end so a limit breach hits one cellCorrection of errors #1
- Change owner Move large tenants like CloudWatch to a separate front-end fleetChange managementImprovement #4
- First responder Show per-cell error rates on the dashboard to separate a cell fault from a fleet-wide oneSRE incident mgmt
- Operations lead Add capacity to one cell only first and hold the rest until the thread count is confirmedChange management
- Service recovery lead Restart the affected cell first and check it before restarting othersITIL 4
Evidence
- Contributing factor #3No failure-isolation barrier: the front-end fleet was not cellularized, so the limit breach hit 'all of the servers in the fleet' at once instead of being confined to a cell — accelerating cellularization is named as the medium-term fix, confirming it was absent (aws.amazon.com/message/11201).
- Root cause“the front-end fleet was not cellularized”
- Technical deep-dive“cellularization "to isolate the effects of failure within a service,"”
Scoring rubric and method
Scales adapted from IEC 60812:2018 and AIAG-VDA. RPN = S × O × D. High: S ≥ 9 with O ≥ 4 or D ≥ 7, or RPN ≥ 300. Medium: RPN ≥ 120 or S ≥ 7. Severity overrides the product: 9 × 2 × 9 = 162 would otherwise hide a region-wide outage nothing could catch. Quotes are checked verbatim against this dossier; a revised score needs a published action. RZ analyst assessment, not an operator document.
Severity
| 10 | Hazard to people, or loss of the facility / several regions |
| 9 | Region-wide or provider-wide outage of a foundational service, no workaround |
| 8 | Full outage of a major service for hours |
| 7 | Major degradation of a major service |
| 6 | Partial outage confined to one zone or one service |
| 5 | Customer-visible degradation |
| 4 | Limited customer impact |
| 3 | Internal impact only |
| 2 | Negligible |
| 1 | No effect |
Occurrence
| 10 | Near certain: the cause is present in normal operation |
| 8 | Frequent: routine work exercises the cause |
| 6 | Occasional: a foreseeable slip or condition, weakly guarded |
| 4 | Infrequent: needs an unusual combination |
| 2 | Remote: guarded by design |
| 1 | Eliminated by design |
Detection
| 10 | No control could detect it |
| 9 | Detected only through customer impact |
| 8 | Detected after impact by internal monitoring |
| 6 | Detected at onset, not prevented |
| 4 | Detected before impact with time to act |
| 2 | Automated interlock almost certainly stops it |
| 1 | Certain to be stopped |
Root cause and contributing factors
Full root-cause narrative
Contributing factors by category
- Architectural design fault: coordination threads scale O(N) with fleet size — AWS confirms 'each front-end server creates operating system threads for each of the other servers in the front-end fleet' and 'the total threads each server must maintain is directly proportional to the number of servers in the fleet' — so routine horizontal scaling raised every server's thread count toward the OS ceiling simultaneously (aws.amazon.com/message/11201).
- Observability/maintenance gap: no fine-grained alarming existed for thread consumption; AWS commits to add 'fine-grained alarming for thread consumption' only as a post-incident action, meaning operators had no early warning as the fleet approached the OS thread limit (aws.amazon.com/message/11201).
- No failure-isolation barrier: the front-end fleet was not cellularized, so the limit breach hit 'all of the servers in the fleet' at once instead of being confined to a cell — accelerating cellularization is named as the medium-term fix, confirming it was absent (aws.amazon.com/message/11201).
- Detection sensed the symptom, not the cause: alarms fired at 5:15 AM for elevated Kinesis error rates — roughly 90 minutes after the 3:47 AM breach — and the thread-limit root cause was not confirmed until 9:39 AM, a slow path from alarm to diagnosis (aws.amazon.com/message/11201).
- Fragile, expensive recovery path: because shard-map construction is metadata-heavy at fleet scale, servers could only be restored 'at the rate of a few hundred per hour,' and the OS limit could not be safely raised mid-incident 'without further testing,' extending the outage (aws.amazon.com/message/11201).
- Unbounded downstream buffers: dependent services (Cognito, Lambda, CloudWatch) buffered data toward Kinesis with no back-pressure ceiling, so Cognito webservers 'begin to block on the backlogged Kinesis Data Stream buffers' and Lambda metric buffering 'caused memory contention on the underlying service hosts used for Lambda function invocations' — turning one service's outage into a multi-service cascade (aws.amazon.com/message/11201).
Analysis
Trigger vs. Root Cause
AWS is unusually explicit in separating the two. The trigger was 'a relatively small addition of capacity' (02:44–03:47 AM PST) — routine, small, and by itself harmless. The root cause was a latent design defect: each front-end server 'creates operating system threads for each of the other servers in the front-end fleet,' so thread count scales O(N) with fleet size and had crept toward a fixed OS maximum. The capacity add simply pushed every server across that ceiling at once. Treating the capacity change as 'the cause' would miss the real hazard, which had been building silently as the fleet grew.
Failure Mechanism: The Shard-Map Cache
The front-end tier 'handles authentication, throttling, and request-routing to the correct stream-shards on the back-end clusters,' and depends on a local 'shard-map' cache of 'membership details and shard ownership.' Building that cache requires a thread per peer. Once the OS thread limit was exceeded, 'cache construction was failing to complete and front-end servers were ending up with useless shard-maps' — a server that cannot build its shard-map cannot route, so the failure was fleet-wide and synchronized rather than a gradual degradation.
Cascade Through Dependent Services
The blast radius followed data dependencies on Kinesis. Cognito webservers began to 'block on the backlogged Kinesis Data Stream buffers,' failing authentication until 2:18 PM. Lambda metric buffering that could not drain 'caused memory contention on the underlying service hosts used for Lambda function invocations.' CloudWatch degraded on PutMetricData/PutLogEvents; EventBridge errors from 5:15 AM propagated to ECS and EKS, which 'make use of EventBridge to drive internal workflows,' delaying cluster provisioning and scaling. Each was the same anti-pattern: an unbounded buffer backing up behind a stalled dependency with no back-pressure.
Recovery Constraints and Remediation
Recovery was slow by necessity: shard-map rebuild is metadata-heavy, so servers could be added only 'a few hundred per hour,' and AWS declined to raise the OS limit mid-incident 'without further testing,' instead removing the added capacity so thread count fell below the limit. Full Kinesis recovery came at 10:23 PM — about 18.5 hours after the breach. Structural fixes named by AWS attack every layer: cellularization for isolation, larger/fewer servers to cut N, thread-consumption alarming for early warning, faster cold-start for quicker recovery, and a tested higher thread limit.
Technical deep-dive
Corrective actions and lessons
Correction of errors
| Action | Owner | Status |
|---|---|---|
| Greatly accelerate cellularization of the front-end fleet 'to match what we've done with the back-end' so a limit breach is contained to a single cell rather than the whole fleet. | AWS Kinesis service team | Committed (medium-term) |
| Move the front-end fleet to 'larger CPU and memory servers, reducing the total number of servers,' which cuts fleet size N and the per-server thread count directly. | AWS Kinesis service team | Committed |
| Add 'fine-grained alarming for thread consumption' so operators get early warning before the OS thread ceiling is approached. | AWS Kinesis service team | Committed |
| Raise the operating-system thread-count limit after further load testing, removing the specific ceiling that failed once validated. | AWS Kinesis service team | Committed |
| Radically improve the cold-start time for the front-end fleet so recovery is not constrained to 'a few hundred per hour.' | AWS Kinesis service team | Committed |
| Reduce Cognito, CloudWatch, and Lambda coupling to Kinesis by adding back-pressure/graceful degradation so a Kinesis backlog no longer blocks webservers or exhausts host memory. | AWS dependent-service teams | Committed / implied by remediation |
Lessons learnt
- Resource limits that scale with fleet size are latent scaling traps: a thread-per-peer model makes per-host thread usage grow with the whole fleet, so an ordinary, small capacity add can silently push every host over an OS ceiling at once.
- Alarm on the failing resource, not just its symptoms: with no thread-consumption alarming, the first signal was downstream put/get errors ~1.5 hours after the breach — precious lead time lost to indirect detection.
- Blast radius follows dependencies: a single data-plane service (Kinesis) coupled to CloudWatch, Cognito, Lambda and EventBridge turned one fleet's failure into a multi-service regional outage.
- Design dependents to degrade, not die: latent buffering assumptions (Cognito exhausting buffers on upstream errors; CloudWatch metric buffers growing into memory contention that reached Lambda) converted a Kinesis fault into independent secondary failures.
- Recovery must be planned as carefully as failure: slow membership propagation (up to 1h) and restart contention capped restart at a few hundred servers/hour, so the fix itself took ~12 hours — cold-start speed is a first-class reliability property.
- Status-communication tooling must not share the failure domain it reports on: the primary dashboard depended on the impaired Cognito, so operators needed a rehearsed, independent backup channel.
Improvements
- Bound the fault domain via cellularization of the front-end fleet so thread growth (and any similar resource pressure) is contained within a cell rather than the entire fleet.
- Reduce per-host peer-thread pressure by consolidating onto larger CPU/memory servers and raising the tested OS thread-count limit, giving headroom against fleet-size-driven thread growth.
- Add fine-grained thread-consumption alarming to detect the actual limiting resource before it manifests as downstream request errors.
- Isolate high-fan-in tenants by moving large services like CloudWatch to a separate, partitioned front-end fleet and moving the front-end cache to a dedicated fleet.
- Harden dependents against upstream failure: Cognito webservers now tolerate Kinesis errors without exhausting buffers, and CloudWatch persists 3 hours of metrics locally so alarms survive a Kinesis outage.
- Make recovery faster and safer by radically improving cold-start time so a throttled, contention-limited restart no longer dominates the outage duration.
- Decouple operational status communications from the services being reported on, and keep support engineers regularly trained on the independent backup tool.
References and provenance
- official-postmortem Summary of the Amazon Kinesis Event in the Northern Virginia (US-EAST-1) Region“the new capacity had caused all of the servers in the fleet to exceed the maximum number of threads allowed by an operating system configuration”https://aws.amazon.com/message/11201
- news AWS explains what went wrong at US-East-1“Reporting on AWS's own account of the November 25, 2020 Kinesis event in US-East-1.”https://www.datacenterdynamics.com/en/news/aws-explains-what-went-wrong-us-east-1/
Quotes are short, attributed, and for provenance only; the analysis is original. Last verified 2026-07-31.