How Amela Turned AWS Incidents from Hours into Minutes

Amela runs a high-traffic AWS application where a peak-time symptom could start in the code, the database, the network or an AWS limit. A Well-Architected review hardened the foundation, and Resolve now takes the team from alert to root cause and a validated fix in under 30 minutes.

Customer storyUpdated Nov 2, 2026

Cover Image for How Amela Turned AWS Incidents from Hours into Minutes

How Amela Turned AWS Incidents from Hours into Minutes

It's the busiest hour of the day. Thousands of users are on the app at once, p99 latency has doubled, and the error rate is climbing. The on-call has CloudWatch in one tab, application logs in another, the database dashboard in a third and the deploy channel in a fourth. Each tab shows a symptom. None of them says where it started.

At Amela, finding that starting point used to take hours, and the hours landed at the worst moments of the day. The team fixed it in two moves: a Well-Architected review to harden the foundation, then CloudThinker Resolve to run the hypothesis loop. Amela now gets to a root cause and a validated fix in under 30 minutes.

The customer

Amela runs a consumer-facing application on AWS built for scale. At peak, thousands of concurrent users hit the platform at once, far above the daily baseline, and the system has to stay responsive exactly when demand is highest. Getting to that scale meant composing many AWS services into one system. That composition made the platform powerful. It also made it hard to operate, because any user request touched several services and a slowdown in one could surface as a symptom in another.

Why the traditional incident workflow breaks at peak

The usual way of working an incident falls short here for structural reasons, not because anyone was slow.

Symptoms and causes live in different places. A latency alarm fires on the load balancer. The cause might be a release, a database that runs out of connections only at peak concurrency, a retry storm between two services, or an AWS quota that's never reached on an ordinary afternoon. The alarm tells you where it hurts, not where it started.

01Application

Code and config

A release or a feature flag changes how a hot path behaves under load.

02Data

Database layer

Connections, locks or a slow query that only bite at peak concurrency.

03Network

Between services

Timeouts and retries that turn one slow hop into a cascade.

04Platform

AWS limits

A quota or throttle that is never reached on an ordinary afternoon.

The four places a peak-time symptom on Amela's stack could start. The symptom usually shows up somewhere else.

Every hypothesis is checked by hand, one at a time. An engineer opens CloudWatch, then Logs Insights, then CloudTrail, then the deploy history, and builds a timeline in their head. Each check depends on what the last one showed. With four plausible starting points, that serial loop is where the hours go.

Growth outran hardening. Gaps nobody had time to close (missing health checks, timeouts that amplify failures) turned minor incidents into long investigations.

Alerts arrive after impact. Threshold alarms fire when users already feel it. The slow drift before an outage rarely crosses a static line in time to get ahead of it.

Where CloudThinker fits

01Harden

Well-Architected

Reliability, scalability and security gaps found and prioritized.

02Respond

Resolve

Root cause and a validated fix in under 30 minutes.

03Warn

Earlier warning

Related alerts grouped in Pulse, so early warnings read as one problem.

The order mattered. Fewer incidents first, then faster answers on the ones that remained, then earlier warning.

The order mattered: fewer incidents first, then faster answers on the ones that remained, then earlier warning.

1. Harden the foundation. CloudThinker started where the AWS Well-Architected Framework does, with the architecture itself. The review surfaced prioritized gaps across three pillars. Reliability: single points of failure, missing health checks, and retry and timeout behavior that turned small failures into cascades. Performance efficiency: scaling policies and resource limits that only bit under real peak load. Security: least-privilege access, network segmentation and exposure. Fixing them meant the system failed less often, and failed in more contained ways when it did.

2. Respond with Resolve. Resolve works an incident the way an experienced SRE would, except the checks don't wait on each other: CloudThinker can start subagents to check several services at once. It pulls AWS metrics, application logs and recent changes, tests each hypothesis against them, and posts the cause it supports with the evidence linked. The engineer judges a finding instead of assembling one.

3. Warn earlier. Pulse, Resolve's detection layer, drops duplicate and known-noise alerts and groups the rest into clusters. A run of small warnings reads as one emerging problem instead of scattered noise, early enough to act on.

Resolve investigates with reads. Any change it proposes goes through Auto Mode, so the team decides what runs on its own and what waits for approval.

One peak-time incident, end to end

01Signal

Alert fires

p99 latency or 5xx rate crosses its threshold at peak.

02Frame

Hypotheses

Release, database, network or an AWS limit. Each predicts different data.

03Check

Evidence

Metrics, logs and recent changes pulled in parallel.

04Decide

Root cause

The reading the evidence supports, with the evidence cited.

05Close

Validated fix

A proposed fix the team approves, then watches hold.

How Resolve works an incident. Readings the evidence rules out are dropped, and the finding says why.

This walkthrough is illustrative. It shows the shape of a peak-time investigation on a stack like Amela's, with resource names and values made up. It isn't a transcript of a specific Amela incident.

The signal. At 19:04 local time, p99 TargetResponseTime on the production load balancer doubles and the 5xx count starts climbing.

The readings. Four starting points fit, and each predicts something different:

  • A release shows a change shortly before 19:04 and errors concentrated in the new code path.
  • A database problem shows connections or CPU climbing on the instance before latency does.
  • A network or retry problem shows timeouts between specific services, not across the board.
  • An AWS limit shows throttling errors in the logs and a flat line where a metric should keep rising.

The checks. Resolve pulls the evidence for all four at once. Load balancer latency, minute by minute:

aws cloudwatch get-metric-statistics \
  --namespace AWS/ApplicationELB \
  --metric-name TargetResponseTime \
  --dimensions Name=LoadBalancer,Value=app/web-prod/50dc6c495c0c9188 \
  --start-time 2026-06-18T11:30:00Z --end-time 2026-06-18T12:30:00Z \
  --period 60 --extended-statistics p99

Database connections over the same window:

aws cloudwatch get-metric-statistics \
  --namespace AWS/RDS \
  --metric-name DatabaseConnections \
  --dimensions Name=DBInstanceIdentifier,Value=app-prod-db \
  --start-time 2026-06-18T11:30:00Z --end-time 2026-06-18T12:30:00Z \
  --period 60 --statistics Maximum

Timeouts and throttling in the application logs, bucketed by minute:

aws logs start-query \
  --log-group-name /app/web-prod \
  --start-time 1781782200 --end-time 1781785800 \
  --query-string 'fields @timestamp, @message
    | filter @message like /timeout|Throttling|too many connections/
    | stats count(*) by bin(1m)'

And recent changes to the database, from CloudTrail:

aws cloudtrail lookup-events \
  --lookup-attributes AttributeKey=EventName,AttributeValue=ModifyDBInstance \
  --start-time 2026-06-18T00:00:00Z

What came back. No ModifyDBInstance call and no throttling errors, which rules out a database config change and an AWS limit. Connections climb to the instance ceiling at 19:01, three minutes before latency moves, and the log errors are too many connections, not timeouts between services. The deploy history shows an afternoon release that raised the worker count per container, so each new task opens more connections than before. At peak, the extra tasks push the pool over the limit.

The finding. Posted in plain words in the incident channel: the release multiplied connections per task, peak scaling did the rest, and the database is refusing new connections. The proposed fix puts the per-task pool size back and adds a connection proxy in front of the instance, with the rollback step written out. The two graphs, the log query and the release are linked, so the on-call can check the reasoning before approving.

That's the work that used to take hours: four hypotheses, checked one after another, by someone switching tabs under pressure.

Results

These are Amela's own reported outcomes. Amela hasn't published a per-incident baseline, so read them as the team's before and after, not a benchmark.

Operational dimensionBeforeAfter
Incident MTTRHoursMinutes
Root cause to fixOpen-ended investigationUnder 30 minutes, with a validated fix
DetectionAfter users noticedClustered early warnings in Pulse
ArchitectureGaps across pillarsHardened in a Well-Architected review

The fix stopped being a guess. Because the cause arrived with its evidence, the team acted on it instead of trying things under pressure.

Why this beats the traditional approach

Traditional incident workflowWith CloudThinker
First lookOpen four consoles, start clickingTimeline and evidence already in the channel
HypothesesChecked one at a timeChecked side by side, ruled out with evidence
Change correlationFrom memory or the deploy channelPulled from CloudTrail and deploy history
FixTrial and error under pressureProposed with evidence and a rollback step
Architecture gapsFound during incidentsFound in a review, fixed before the next peak

The deeper difference is where the hours went. Fixing was rarely the slow part at Amela. Locating the cause was, because each check depended on the last one and a person could only run them in sequence. Resolve takes over that loop, and the engineer's job becomes judging a finding instead of building one.

Getting started

Connect your AWS account with a read-only role, then ask from chat:

"Our p99 latency on the production load balancer doubled at 19:04. Check the release, the database, service-to-service timeouts and AWS throttling in parallel, and tell me which one the evidence supports. Propose only, change nothing."

"Run a Well-Architected review of the production account. Rank the reliability findings by how likely they are to turn a small failure into an outage at peak."

"Show me alert clusters from the last week that look like the start of an incident but never crossed an alarm."

Next step: connect one AWS account and run the first prompt against your last peak-time incident. Resolve explains how an investigation runs from alert to verified fix.

Steve Tran, CTO, CloudThinker

About the author

ST

Steve Tran

Founder & CTO, CloudThinker

Steve Tran is the founder and CTO of CloudThinker, which builds Frontier Investigation Agents for production cloud operations. He writes about incident investigation, cloud cost, and the practices teams use to safely run autonomous AI agents against production AWS, GCP, and Azure environments.

casestudyawsincidentresponseresolvepulsewellarchitectedmttrcloudthinker