10.1 SRE Fundamentals: SLIs, SLOs, SLAs & Error Budgets

Key Takeaways

  • Site Reliability Engineering (SRE) applies software engineering practices to infrastructure operations, capping operational toil at 50% and treating system reliability as an ongoing engineering problem rather than an administrative task.
  • Service Level Indicators (SLIs) are quantitative measurements of real-time service behavior (e.g., latency, availability, throughput), formatted mathematically as (Good Events / Total Valid Events) × 100.
  • Service Level Objectives (SLOs) define internal target reliability over rolling compliance windows (e.g., 99.95% over 30 rolling days), while Service Level Agreements (SLAs) are looser external contractual commitments with financial penalties (where SLA targets are always more conservative than SLOs).
  • The Error Budget represents allowed unreliability (100% - SLO), serving as the governing mechanism balancing feature velocity against system stability; exhausted budgets trigger release freezes and mandate developer focus on reliability engineering.
  • Multi-window, multi-burn-rate alerting pairs short lookback windows (to rapidly detect severe budget burns) with longer lookback windows (to reset alerts and catch slow burns) without triggering alert fatigue or false positives.
Last updated: August 2026

SRE Fundamentals: SLIs, SLOs, SLAs & Error Budgets

Architectural Objective: Modern enterprise cloud architectures require a quantifiable, software-driven approach to system availability and operational resilience. A Google Professional Cloud Architect must design resilient cloud platforms founded on Google Site Reliability Engineering (SRE) principles: establishing measurable Service Level Indicators (SLIs), setting defensible Service Level Objectives (SLOs), structuring contractual Service Level Agreements (SLAs), calculating error budget consumption rates, configuring multi-window multi-burn-rate alerting policies, and institutionalizing blameless postmortem cultures.


SRE Principles in Enterprise Cloud Architecture

Google pioneered Site Reliability Engineering (SRE) under the fundamental premise: "SRE is what happens when you ask a software engineer to design an operations team." Rather than relying on traditional, ticket-driven sysadmin workflows, SRE approaches reliability, scalability, and disaster mitigation as software engineering problems.

+-----------------------------------------------------------------------------------+
|                         CORE SRE OPERATIONAL TENETS                               |
+-----------------------------------------------------------------------------------+
| 1. EMBRACING RISK        | 100% reliability is the wrong target; unreliability   |
|                          | beyond the SLO is an acceptable trade-off for speed.   |
+--------------------------+---------------------------------------------------------+
| 2. SERVICE LEVEL TARGETS | Reliability is defined quantitatively using SLIs, SLOs, |
|                          | and SLAs, decoupling emotion from engineering reviews.  |
+--------------------------+---------------------------------------------------------+
| 3. ELIMINATING TOIL      | SRE teams enforce a strict 50% cap on operational toil; |
|                          | at least 50% of time is dedicated to software projects. |
+--------------------------+---------------------------------------------------------+
| 4. BLAMELESS CULTURE     | Human error is a symptom of flawed system design;       |
|                          | postmortems identify structural and procedural gaps.    |
+-----------------------------------------------------------------------------------+

Toil vs. Engineering Work

In SRE nomenclature, toil is operational work that is manual, repetitive, automatable, devoid of enduring value, and scales linearly with service growth (e.g., manually restarting failed VMs, running repetitive database schema scripts, or manually triaging disk capacity alerts).

  • The 50% Rule: Google SRE mandates that no team spend more than 50% of their engineering capacity on toil and on-call operations. The remaining 50%+ must be invested in engineering projects (such as writing automation, building self-healing infrastructure, developing chaos experiments, and refactoring architectural bottlenecks).
  • Toil Elimination Lifecycle: If toil exceeds 50%, work is pushed back to product development teams until automated remediation and architectural fixes reduce the operational burden below the threshold.

The Reliability Hierarchy: SLIs, SLOs & SLAs

Reliability cannot be managed without rigorous, unambiguous definitions. Google SRE structures reliability into a three-tiered hierarchy:

+-----------------------------------------------------------------------------------+
|                        THE SRE RELIABILITY HIERARCHY                              |
+-----------------------------------------------------------------------------------+
|   SLI (Service Level Indicator)   ───> "What is the current measured performance?"|
|   [ Quantitative Metric ]              e.g., 99.96% of HTTP requests < 200ms      |
|                 │                                                                 |
|                 v                                                                 |
|   SLO (Service Level Objective)   ───> "What is our internal reliability target?" |
|   [ Engineering Goal ]                 e.g., 99.90% over a 30-day rolling window  |
|                 │                                                                 |
|                 v                                                                 |
|   SLA (Service Level Agreement)   ───> "What is our legal/contractual commitment?"|
|   [ Commercial Contract ]              e.g., 99.50% availability or 10% credit    |
+-----------------------------------------------------------------------------------+

1. Service Level Indicators (SLIs)

An SLI is a carefully defined quantitative measure of some aspect of the level of service that is provided. To provide mathematically sound aggregation across varying traffic volumes, SLIs are formulated as the ratio of valid events that met a specific condition over total valid events:

SLI=Good EventsTotal Valid Events×100\text{SLI} = \frac{\text{Good Events}}{\text{Total Valid Events}} \times 100

+---------------------------------------------------------------------------------------------------+
|                                      CORE SLI TAXONOMY                                            |
+---------------------------------------------------------------------------------------------------+
| SLI CATEGORY  | FORMULATION & MEASUREMENT POINT               | EXAMPLE FORMULA                   |
+---------------+-----------------------------------------------+-----------------------------------+
| Availability  | Ratio of successful requests to total valid   | (HTTP 2xx & 3xx / Total Requests  |
|               | requests at the Cloud Load Balancer.          | excluding 4xx client errors) * 100|
+---------------+-----------------------------------------------+-----------------------------------+
| Latency       | Ratio of valid requests served faster than    | (Requests served in < 250ms /     |
|               | a specified threshold (e.g., p95 < 250ms).    | Total Valid Requests) * 100       |
+---------------+-----------------------------------------------+-----------------------------------+
| Throughput    | Ratio of time periods where system sustained  | (Seconds where QPS >= 5,000 /     |
|               | required request volume without dropping.     | Total Evaluated Seconds) * 100    |
+---------------+-----------------------------------------------+-----------------------------------+
| Correctness   | Ratio of incoming payloads processed without  | (Records processed with valid     |
| / Freshness   | data corruption, pipeline loss, or lag.       | schema & lag < 5s / Total) * 100  |
+---------------------------------------------------------------------------------------------------+

2. Service Level Objectives (SLOs)

An SLO is a target value or range of values for a service level that is measured by an SLI. It represents the internal reliability target agreed upon between product managers, software developers, and SRE teams.

  • Rolling Windows vs. Calendar Windows: Calendar-month windows (e.g., May 1 to May 31) introduce artificial boundary resets; a massive outage on the 31st is "forgotten" on the 1st of the next month. SRE best practices mandate rolling compliance windows (e.g., trailing 28 or 30 days) to reflect continuous customer experience.
  • Setting Defensible Targets: SLOs should reflect the point at which users become dissatisfied, not the theoretical maximum of the underlying infrastructure. Setting an unnecessarily strict SLO (e.g., 99.999% for an internal batch reporting service) wastes engineering effort, drastically slows feature velocity, and drives up cloud infrastructure costs without business justification.

3. Service Level Agreements (SLAs)

An SLA is an explicit or implicit contract with users or customers that includes consequences (typically financial penalties, service credits, or contract termination rights) if the service fails to meet the specified targets.

+-----------------------------------------------------------------------------------+
|                    ARCHITECTURAL RULE: SLA < SLO (SAFETY BUFFER)                  |
+-----------------------------------------------------------------------------------+
|  Enterprise Internal SLO:  99.95% Availability (Allows ~21.9 mins outage / month) |
|  ═══════════════════════════════════════════════════════════════════════════════  |
|  [ SAFETY BUFFER ZONE ]    0.05% Margin (Allows SREs to mitigate and recover      |
|                            before financial/legal breach occurs)                  |
|  ═══════════════════════════════════════════════════════════════════════════════  |
|  External Customer SLA:    99.90% Availability (Allows ~43.8 mins outage / month) |
+-----------------------------------------------------------------------------------+

[!IMPORTANT] Critical SRE Rule: An organization's internal SLO must always be stricter than its external SLA. If a service experiences an outage that breaches its internal SLO, the operations team can intervene, trigger rollbacks, and burn error budget before the looser SLA threshold is crossed and financial penalties are incurred.


SLI/SLO/SLA Comparative Architecture

DimensionService Level Indicator (SLI)Service Level Objective (SLO)Service Level Agreement (SLA)
Core QuestionWhat is the actual measured performance?What reliability level should we target?What happens commercially if we fail?
AudienceSREs, DevOps engineers, telemetry agentsProduct owners, software engineers, SREsCustomers, legal counsel, enterprise sales
Measurement PeriodReal-time / Instantaneous time seriesRolling 7-day, 28-day, or 30-day windowCalendar month, quarter, or annual billing term
Calculation Example$\frac{49,980\text{ (Good)}}{50,000\text{ (Total)}} = 99.96%$$99.90%$ over 30 rolling days$99.50%$ over billing quarter
Consequence of BreachTriggers alert or increments burn rateHalts releases; shifts roadmap to reliabilityIssues financial credits, refunds, or SLA penalties
VisibilityInternal observability dashboardsInternal executive & engineering reviewsPublic status pages, commercial contracts

Error Budgets: Mathematics & Governance

The Error Budget is the fundamental construct that aligns incentives between product development (seeking speed and innovation) and SRE (seeking stability and uptime).

Error Budget=100%SLO\text{Error Budget} = 100\% - \text{SLO}

If a service has a 30-day availability SLO of 99.9%, its 30-day Error Budget is 0.1% (or $1 - 0.999 = 0.001$).

+-----------------------------------------------------------------------------------+
|                    CALCULATING DOWNTIME BUDGETS BY SLO TIER                       |
+-----------------------------------------------------------------------------------+
| SLO TARGET | ERROR BUDGET (%) | ALLOWED DOWNTIME / 30 DAYS | ALLOWED DOWNTIME / YEAR|
+------------+------------------+----------------------------+------------------------+
| 99.0%      | 1.0%             | 7.2 hours                  | 3.65 days              |
| 99.9%      | 0.1%             | 43.2 minutes               | 8.76 hours             |
| 99.95%     | 0.05%            | 21.6 minutes               | 4.38 hours             |
| 99.99%     | 0.01%            | 4.32 minutes               | 52.6 minutes           |
| 99.999%    | 0.001%           | 25.9 seconds               | 5.26 minutes           |
+-----------------------------------------------------------------------------------+

Error Budget as a Development Governor

An error budget is not merely a theoretical statistic; it is an active governing mechanism for software delivery:

  1. Positive Budget Available: Development teams are empowered to push new features, perform canary deployments, conduct chaos engineering experiments, and deploy infrastructure updates at high velocity.
  2. Budget Depleted / Exhausted (Zero or Negative):
    • Feature Release Freeze: All non-emergency production deployments and new feature launches are immediately blocked.
    • Engineering Redirection: 100% of the engineering team's sprint capacity is redirected toward reliability engineering, architectural hardening, test automation, infrastructure refactoring, and observability enhancements.
    • Unfreezing Criteria: Feature deployments resume only when the service operates stably and the rolling error budget recovers above the required threshold.

Error Budget Burn Rate & Multi-Window Alerting

Burn rate measures how fast a service is consuming its error budget relative to its SLO period.

  • A Burn Rate of 1.0 means the service will consume exactly 100% of its error budget over the course of the compliance window (e.g., 100% consumed in 30 days).
  • A Burn Rate of 10.0 means the service is consuming budget 10 times faster than allowed (consuming 100% of the 30-day budget in only 3 days).
  • A Burn Rate of 14.4 consumes 100% of the 30-day budget in 2 days (or 2% of the budget per hour).

Burn Rate=Observed Error Rate100%SLO Target\text{Burn Rate} = \frac{\text{Observed Error Rate}}{100\% - \text{SLO Target}}

+-----------------------------------------------------------------------------------+
|                     THE PROBLEM WITH TRADITIONAL ALERTING                         |
+-----------------------------------------------------------------------------------+
| NAIVE THRESHOLD ALERTS      | High alert fatigue. Alerting on "Error Rate > 1%"    |
| (e.g., error rate > X%)     | causes thousands of false alarms during low-traffic  |
|                             | periods and misses slow, steady 0.2% budget burns.   |
+-----------------------------+------------------------------------------------------+
| MULTI-WINDOW MULTI-BURN     | Google SRE Best Practice. Evaluates short-term       |
| RATE ALERTING               | rate-of-change alongside long-term persistence       |
| (Short + Long Lookbacks)    | to eliminate false alarms and guarantee paging.      |
+-----------------------------------------------------------------------------------+

Multi-Window Multi-Burn-Rate Alerting Strategy

Google SRE standardizes on alerting based on budget burn rates across paired lookback windows:

+---------------------------------------------------------------------------------------------------+
|                         GOOGLE SRE MULTI-WINDOW ALERTING MATRIX                                   |
+---------------------------------------------------------------------------------------------------+
| SEVERITY | NOTIFICATION | SHORT WINDOW | LONG WINDOW | BURN RATE | BUDGET CONSUMED | TIME TO DRAIN     |
+----------+--------------+--------------+-------------+-----------+-----------------+-------------------+
| Critical | Page On-Call | 2 minutes    | 1 hour      | 14.4x     | 2% of budget    | 2 days (48 hours) |
| High     | Page On-Call | 15 minutes   | 6 hours     | 6.0x      | 5% of budget    | 5 days (120 hours)|
| Medium   | Ticket / Bug | 1 hour       | 24 hours    | 3.0x      | 10% of budget   | 10 days           |
| Low      | Log / Review | 6 hours      | 3 days      | 1.0x      | 10% of budget   | 30 days           |
+---------------------------------------------------------------------------------------------------+

Why Both Windows Must Exceed the Threshold

An alert fires only when both the short window AND the long window exceed the target burn rate:

  1. Long Window Requirement: Ensures that brief, transient traffic spikes (such as a 10-second blip) do not trigger an on-call page if the overall multi-hour health remains intact.
  2. Short Window Requirement: Ensures that once an incident is mitigated (e.g., rolling back a bad deployment), the alert immediately resets and stops paging the engineer, rather than waiting 6 hours for the long window's historical average to cool down.

Incident Management & Blameless Postmortems

When major production outages occur, SRE culture mandates a systematic, blameless investigation process.

+-----------------------------------------------------------------------------------+
|                        BLAMELESS POSTMORTEM WORKFLOW                              |
+-----------------------------------------------------------------------------------+
| [ Outage Occurs ] ──> [ Mitigate & Restore ] ──> [ Draft Postmortem Document ]    |
|                                                             │                     |
|                                     ┌───────────────────────┴──────────────────┐  |
|                                     │ 1. Incident Timeline (UTC timestamps)    │  |
|                                     │ 2. Root Cause Analysis (5 Whys Analysis) │  |
|                                     │ 3. Error Budget Consumption Impact       │  |
|                                     │ 4. Lessons Learned & Where We Got Lucky  │  |
|                                     │ 5. SMART Preventative Action Items       │  |
|                                     └───────────────────────┬──────────────────┘  |
|                                                             │                     |
| [ Track P0/P1 Action Items ] <── [ Peer Review & Knowledge ] <─────────────────────┘  |
+-----------------------------------------------------------------------------------+

Principles of a Blameless Culture

  • Assume Good Intentions & Competence: Postmortems operate under the baseline assumption that everyone involved in an incident had good intentions and acted appropriately based on the information available to them at the time.
  • Root Cause vs. Proximate Trigger: Human error (e.g., an engineer running terraform destroy in production or fat-fingering a configuration parameter) is viewed as a proximate trigger, never the root cause. The true root cause is the systemic lack of safeguards, insufficient validation guardrails, or inadequate rollback mechanisms that permitted the human action to cause widespread damage.
  • SMART Action Items: Every postmortem must generate actionable, prioritized engineering tickets (Specific, Measurable, Achievable, Relevant, Time-bound). P0/P1 remediation items (such as adding automated canary validation or configuring CI/CD policy gates) must be prioritized ahead of standard feature backlogs.

Concrete Architectural Scenario: Tier-1 Payment Processing Service

Scenario Profile

  • Workload: Global e-commerce checkout API processing 50,000 transactions per minute hosted on GKE across us-central1 and europe-west1.
  • Business Requirements: High availability, zero silent transaction drops, customer-facing SLA of 99.9% availability, strict error budget governance.
[ Global External HTTP(S) Load Balancer ]
                  │
      ┌───────────┴───────────┐
      ▼                       ▼
[ GKE us-central1 ]     [ GKE europe-west1 ]
  Checkout Service        Checkout Service
  (SLI Instrumentation)   (SLI Instrumentation)

Architecture Blueprint

  1. SLI Definition:
    • Availability SLI: Count of HTTP requests returning status codes 200, 201, or 202 divided by total HTTP requests (excluding 4xx client errors) measured at the Cloud Load Balancer.
    • Latency SLI: Percentage of successful checkout requests completing with an end-to-end response time under 350ms.
  2. SLO Target: 99.95% availability and 99.0% latency (< 350ms) evaluated over a rolling 30-day window.
  3. SLA Commitment: 99.90% availability over a calendar month with graduated service credits (10% credit for 99.0–99.9%, 25% credit for < 99.0%).
  4. Error Budget Enforcement: 30-day error budget is $100% - 99.95% = 0.05%$. Cloud Build CI/CD triggers an automated deployment block if remaining 30-day budget drops below 10%.
  5. Alerting: Configured Cloud Monitoring alerting policy utilizing Multi-Window Multi-Burn-Rate alerting (paging PagerDuty on a 14.4x burn rate over 1-hour/2-minute windows).

[!IMPORTANT] Exam Watch: On the Google Professional Cloud Architect exam, whenever asked how to handle an exhausted error budget, always choose halting new feature deployments and dedicating engineering effort toward reliability, testing, and automated rollbacks. If asked to set an alert that catches rapid, disastrous outages without false alarms, choose multi-window multi-burn-rate alerting, which pairs a short lookback window with a long lookback window.

Loading diagram...
SRE SLI/SLO Hierarchy, Multi-Window Burn Rate Alerting & Error Budget Governance
Test Your Knowledge

An enterprise SaaS platform hosts an order-processing service on Google Cloud. The product and engineering teams are establishing their reliability metrics and commercial commitments. Which design principle correctly represents Google SRE best practices when structuring SLIs, SLOs, and SLAs?

A
B
C
D
Test Your Knowledge

A financial microservices application running on Google Cloud has an availability Service Level Objective (SLO) of 99.9% measured over a 30-day rolling window. Over the past two weeks, a series of failed configuration updates and downstream database lockups have consumed 100% of the allocated 30-day error budget. According to Google SRE principles, what action should the organization mandate?

A
B
C
D
Test Your Knowledge

A lead cloud architect is configuring an alerting policy in Cloud Monitoring for a mission-critical banking API with an SLO of 99.95%. The team requires an alert that pages the primary on-call SRE when an outage is severe enough to consume 2% of the monthly error budget within 1 hour (burn rate of 14.4x), while avoiding false alarms from momentary 10-second traffic spikes and ensuring the alert immediately silences once the issue is mitigated. Which alerting approach should the architect implement?

A
B
C
D
Test Your Knowledge

Following a major multi-zone outage that impacted customer checkout transactions, an enterprise conducts an engineering review. The investigation reveals that a senior DevOps engineer executed a script with an incorrect variable, causing production database replicas to shut down. How should the cloud architect structure the postmortem to align with Google SRE culture?

A
B
C
D