Black Friday: 60% off yearly plans with code BF2026, until November 30. See the deal

Learn

SLA vs SLO vs SLI: what each one means

An SLI is a measured number, an SLO is the target you set for that number, and an SLA is a contract that spells out consequences when the target is missed. SLIs feed SLOs, and SLOs usually sit stricter than the SLA.

The short answer
  • SLI is the measurement, SLO the target, SLA the contract with consequences.
  • Google SRE test: if missing the target has no explicit consequence, it is an SLO, not an SLA.
  • The gap between 100% and the SLO is the error budget: 43.2 minutes a month at 99.9%.

What is the difference between SLA, SLO and SLI?

The three terms side by side
TermWhat it isWho it is forExample
SLI (indicator)A measured number describing service qualityEngineeringShare of checks returning 200 in under 1 s
SLO (objective)A target value or range for an SLIEngineering and product99.9% of checks succeed over 30 days
SLA (agreement)A contract with consequences if not metCustomers and legalBelow 99.5% in a month: 10% service credit

Definitions follow Google SRE Book, Service Level Objectives. The SLA figures in the example row are illustrative, not from any provider.

Which SLIs fit a website?

Pick indicators that reflect what a visitor experiences. Two well-chosen SLIs beat ten that nobody watches.

Availability

Share of successful checks or well-formed requests that succeed.

Latency

How long a response takes, taken at a percentile such as the 75th or 95th.

Error rate

Fraction of requests that fail with a 5xx or time out.

Correctness

Page contains the expected content, such as the price or the add-to-cart button.

How do you set an SLO for a website?

Work from measurement to promise, never the other way around. Setting the number first leads to targets nobody can meet.

  1. 01

    Choose one or two SLIs

    Start with availability of the pages that matter and response time of the main page. More indicators dilute attention.

  2. 02

    Measure for a month before promising anything

    Real data shows what you achieve today. A 99.99% target on a site that delivers 99.5% only creates noise.

  3. 03

    Set the SLO below what you achieve

    Pick a target you can hold, such as 99.9%, and compute the budget: 43.2 minutes per 30 days.

  4. 04

    Decide what happens when the budget is spent

    Freeze risky deploys, review incidents, fix the top cause. Google describes the error budget as a guide for decisions such as when to release.

  5. 05

    Only then write an SLA

    Set the contractual number looser than the SLO, so you can miss the internal target without paying credits.

The quick test

Ask what happens if you miss it. No explicit consequence means it is an SLO. A contract with credits or penalties is an SLA. This is the test the Google SRE Book gives.

What belongs in a website SLA?

  • The measured quantity, for example successful HTTP checks divided by all checks, and where the checks run.
  • The measurement window: calendar month or rolling 30 days.
  • The exclusions, such as announced maintenance and problems caused by the customer.
  • The remedy, such as a service credit as a percentage of the monthly fee, and how to claim it.
  • A cap on total credits, so both sides know the maximum exposure.

Common questions

What is an error budget?

The allowed amount of failure implied by an SLO. At 99.9% over 30 days it is 43.2 minutes. Google describes it as a rate at which the SLOs can be missed, used to decide when to ship risky changes or pause them.

Does a small website need an SLA?

Usually not. Customers of a small site rarely have a contract that references uptime. An internal SLO with monitoring is enough. An SLA matters when you sell hosting, an API or a service with paid uptime commitments.

Is an SLO always stricter than the SLA?

It should be. The SLO is your internal alarm line, and the SLA is the line where you owe customers something. If the two were equal, the first miss would already cost you.

How is uptime related to SLI?

Uptime is one SLI: successful time divided by total time, or successful checks divided by all checks. Latency and error rate are other SLIs measuring different parts of quality.

Watch your domains automatically

Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.