Cloud / DevOpsObservability & ReliabilityDiagramBeginner
SLA / SLO / SLI
KO: SLA / SLO / SLI·EN: SLA / SLO / SLI·JA: SLA / SLO / SLI·SLA / SLO / SLI
The three-tier SRE reliability hierarchy: Service Level Indicators (measured metrics), Service Level Objectives (internal targets), and Service Level Agreements (external customer contracts)
Table of Contents
Structure Diagram
Live SLI Availability vs Internal SLO (99.9%) & Contract SLA (99.5%)
(40, 92)Measured SLI #3
Quick Answer
What is SLA / SLO / SLI?
The three-tier SRE reliability hierarchy: Service Level Indicators (measured metrics), Service Level Objectives (internal targets), and Service Level Agreements (external customer contracts). It is a core concept in Observability & Reliability within Cloud / DevOps.
Core Principles
Popularized by Google SRE, SLA, SLO, and SLI form the three-tier hierarchy for quantifying service reliability:
- SLI (Service Level Indicator): The actual measured ratio of good events to valid events—e.g., 99.94% of checkout requests succeeded in under 300ms.
- SLO (Service Level Objective): The internal reliability target teams aim to meet—e.g., 99.9% monthly availability (~43.8 minutes of downtime allowed).
- SLA (Service Level Agreement): The external contractual promise to customers, specifying financial penalties or service credits if breached—e.g., <99.5% availability triggers a 10% credit.
Practical Takeaways
- Always set internal SLOs tighter than external SLAs: Keeping a buffer (e.g., 99.95% SLO vs. 99.9% SLA) ensures your team gets alerted and intervenes well before violating customer contracts.
- 100% reliability is the wrong target: Moving from 99.9% to 99.99% can multiply infrastructure and engineering costs by an order of magnitude. Choose the lowest SLO that keeps users happy so you retain velocity.
- Measure user journeys, not CPU: Pick SLIs that reflect real user pain—request success rate, tail latency (p95/p99), and data freshness—rather than raw host CPU utilization.
Notable Examples
- Google SRE: Uses SLOs and Error Budgets to align product and engineering teams objectively on release velocity vs. reliability work.
- Cloud Provider SLAs (AWS, GCP, Stripe): Publish tiered monthly uptime guarantees with automated credit schedules.
- Sloth, Pyrra & Datadog SLOs: Generate multi-window burn-rate alerts automatically from Prometheus metrics.