MORTIMERDEV LABS / AWS / SLOS FREE · BETA

Build an SLO.
And know when it should page you.

Set a goal, see the error budget it gives you, and get multi-window burn-rate alarms with thresholds worked out the way AWS and the Google SRE workbook recommend. Try an incident to see which alarm fires and when, then copy CDK in TypeScript and Python for a CloudWatch Application Signals SLO.

Runs in your browser. Nothing is stored or sent.
Take the 10-question SLO quiz

Build an SLO

What you measure
Goal

YOUR SLO

Error budget

Burn-rate alarms

Each pair fires only when both windows burn faster than the threshold. Threshold = share of budget × interval ÷ long window.

Windows Burn ≥ Means Action

As CDK

A CfnServiceLevelObjective with a burn-rate metric for each window, an alarm per window and a composite alarm per pair.

TypeScript

Python

When would an incident page you?

Assumes a steady error rate from a clean start. Real alarms also wait for their metric’s next data point, so add a minute or two.

Pair Threshold Fires?

See it in AWS

Once it’s deployed: where to find the SLO, how to check its error budget and burn rate from the CLI, and what each budget status means.

In the console

    From the CLI

    Uses the names you entered above. Run with credentials for the right account and region.

    What good and bad look like

      What is an SLO?

      A service level objective is a reliability target for something users care about, measured over time: “99.9% of checkout requests succeed over 28 days”. Whatever’s left over, here 0.1%, is the error budget: the failures you can afford. A burn rate says how fast you’re spending it, and alarming on burn rate pages you for problems that threaten the goal, not for every blip.

      99.9% of checkout requests succeed over 28 days → 40 min budget
      Goal
      The share that must be good
      Indicator (SLI)
      What’s measured, and what counts as good
      Interval
      The rolling or calendar window it’s judged over
      Error budget
      100% minus the goal, over the interval

      Where you’ll use them

      • Paging on burn rate instead of raw error counts, so alerts track user impact.
      • Release decisions: ship freely while there’s budget, slow down when it runs low.
      • Front-end performance, with CloudWatch RUM metrics like Largest Contentful Paint as the indicator.

      Easy to confuse

      • Burn rate isn’t error rate: it’s the error rate divided by the budget, so 1% errors on a 99.9% SLO is a burn rate of 10.
      • Higher isn’t better: every extra nine shrinks the budget tenfold. Aim for what users notice.
      • Alarms aren’t automatic: Application Signals publishes burn-rate metrics, but you still create the alarms.

      TEST YOURSELF

      How well do you know SLOs?

      Ten questions on error budgets, burn rates and multi-window alarms, with an explanation and a link to the reference after each one. Three are maths questions worked out by the builder.

      SLO REFERENCE

      SLOs and burn rates, in plain English.

      Concepts

      SLI, SLO and SLAAn SLI is what you measure; an SLO is the goal for it; an SLA is a contract with consequences if it’s missed.

      For example: SLI = share of checkout requests that succeed; SLO = 99.9% over 28 days; SLA = refunds below 99.5%. Set SLOs tighter than any SLA so you get warning before breaking a promise.

      Request-based and period-basedRequest-based: good requests ÷ total requests. Period-based: good periods ÷ total periods.

      Request-based SLOs weight busy times more, which matches what users feel. Period-based SLOs mark each period (say a minute) good or bad against a threshold, like p99 latency ≤ 500 ms, and a bad period counts in full.

      Rolling and calendar intervalsRolling intervals cover the last N days; calendar intervals reset each month (or week or day).

      Rolling windows reflect recent experience and never reset to a full budget overnight. Calendar windows match reporting and SLAs. 28 days is popular because every window contains the same number of each weekday.

      Choosing a goalPick the lowest goal that keeps users happy, not the highest you can hit.

      Each extra nine costs far more effort and leaves less room to ship. Start from what your users notice and from your dependencies’ reliability: a service can’t be more available than everything it calls.

      Budgets

      Error budget100% minus the goal: how much can go wrong in the interval while still meeting the SLO.

      99.9% over 30 days allows 43.2 minutes of full outage, or 0.1% of requests failing. Teams often spend the budget on releases and experiments, and slow down when it runs low.

      The ninesOver 30 days: 99% ≈ 7.2 hours, 99.5% ≈ 3.6 hours, 99.9% ≈ 43 minutes, 99.95% ≈ 22 minutes, 99.99% ≈ 4.3 minutes.

      Per day, 99.9% is about 1.4 minutes. For request-based SLOs the budget is a share of requests rather than minutes, but the idea is the same.

      Warning thresholdApplication Signals marks an SLO as Warning when the remaining error budget drops below this percentage.

      You can also alarm on it. 25–50% gives time to slow down risky changes before the budget is gone.

      Burn rates

      Burn rateHow fast the budget is being used: error rate over a window ÷ (100% − goal). 1 means exactly on target.

      With a 99.9% goal, a 1% error rate is a burn rate of 10: the whole 30-day budget would be gone in 3 days. The highest possible burn rate is 1 ÷ (100% − goal), when everything fails.

      Burn-rate thresholdsthreshold = share of budget × interval length ÷ look-back window.

      Spending 2% of a 30-day budget in an hour means a burn rate of 2% × 720 hours ÷ 1 hour = 14.4. AWS treats a calendar month as 30 days for this.

      Multi-window alarmsPair a long window with a short one (1/12 the length) and alarm only when both burn: 1 h + 5 min, 6 h + 30 min, 3 d + 6 h.

      The long window makes sure enough budget has really been spent; the short one makes the alarm stop soon after the problem is fixed. Page on the first two pairs and raise a ticket for the slow one. AWS recommends this for intervals of at least three hours.

      Thresholds that can’t fireIf a threshold is above 1 ÷ (100% − goal), even a total outage can’t reach it.

      With a 90% goal the maximum burn rate is 10, so a 14.4 threshold never fires. Use a smaller share of budget for that window, or rethink the goal.

      On AWS

      Application Signals SLOsCloudWatch Application Signals tracks SLOs on its own Latency and Availability metrics, or on any CloudWatch metric or math expression.

      Availability is the share of requests without 5xx faults (4xx counts as success). The service must be instrumented and reporting before you can create an SLO on it. In CDK, use applicationsignals.CfnServiceLevelObjective.

      Burn-rate metrics and alarmsEach look-back window in burnRateConfigurations publishes AWS/ApplicationSignals BurnRate with SloName and BurnRateWindowMinutes.

      Create a CloudWatch alarm per window, then a composite alarm with AND for each pair. Look-back windows can be up to 7 days, must be shorter than the interval, and for period-based SLOs must be a multiple of the period.

      SLOs for real usersCloudWatch RUM metrics like WebVitalsLargestContentfulPaint can be the SLI, measuring what browsers actually experience.

      A period-based SLO such as “p75 LCP ≤ 2.5 s in 95% of 5-minute periods” tracks front-end performance the same way as back-end latency.

      Built from AWS’s own numbers.

      Thresholds use the formula in AWS’s SLO documentation, and the tests check AWS’s worked examples (a 432-minute budget, a 13.44 threshold) and the SRE workbook’s 14.4, 6 and 1.

      Nothing leaves this page.

      Everything is worked out in your browser and nothing is saved. We count anonymous page views and button use, never what you enter.