Five-nines availability means 99.999% of the service you defined meets its objective during the measurement window. For a time-based measure over a 365-day year, that leaves 315.36 seconds of unavailability. For a request-based measure, it leaves one failed request per 100,000 eligible requests. Those are different budgets.
Start by writing down what a customer must be able to do, where you measure success, and which failures count. Then test whether the system can keep that promise when a component fails. A diagram with redundant servers cannot answer that question.
Define the service before choosing the architecture
A successful homepage response says little about whether a customer can sign in or complete a purchase. Choose the user operation that matters. Define its success condition, deadline and measurement window. Specify how retries, rejected requests and missing telemetry enter the calculation. Google's SLO guidance explains how to turn user expectations into measurable indicators.
For example, a hypothetical order service might count an operation as good only when it records the order durably and returns a valid confirmation within its agreed deadline. A response that says "try again later" fails that definition even if its HTTP status is 200. This example is a measurement design, not a claim about a deployed service.
Write exclusions before reporting results. A maintenance window that interrupts customers still consumes an internal availability budget unless the definition explicitly excludes it. A supplier's contractual SLA can have a different scope, window and remedy from your own service objective. Keep the two records separate. Our guide to SLOs and error budgets covers that distinction in more detail.
Calculate the budget in the units you measure
For a time-based objective, multiply the window duration by 0.00001. The table below is arithmetic for a 99.999% target, not observed uptime or an estimate of how long recovery will take.
| Window | Allowed downtime |
|---|---|
| 1 day | 0.864 seconds |
| 30 days | 25.92 seconds |
| 365 days | 315.36 seconds |
Each row describes a separate objective. An annual target does not imply that every day must meet the daily figure. A rolling 30-day window also behaves differently from a calendar month. AWS describes the underlying time-based availability calculation.
For a request-based objective, ten million eligible requests allow 100 bad requests. A short outage during peak traffic can spend more of that budget than a longer outage overnight. Converting failed requests into downtime requires assumptions about traffic and the fraction of requests affected; report the original count alongside any conversion.
A hypothetical 60-second total outage spends about 19% of the annual time budget, or about 231% of a 30-day time budget. That single event would breach the latter objective. A partial failure needs its own measurement: count the affected requests, or apply the explicitly defined time-based rule. Do not silently treat every incident as a full outage.
Required dependencies set the limit
Trace one successful operation through its required dependencies. Include identity, data storage and external APIs, plus DNS and certificates on the client path. Identify which dependencies can fail while the operation still meets its definition of success.
In a simplified model with independent failures and aligned measurement definitions, three required components each available 99.99% of the time yield 0.9999 cubed, or about 99.9700% for the whole chain. Multiplying suppliers' SLA percentages does not predict your production uptime. The model omits differences in contractual scope and actual failure behavior. AWS discusses these limits in availability with dependencies.
Redundancy changes the calculation only when the alternate path can serve the operation. Two independent paths, each with 99.9% availability, would have a theoretical combined availability of 99.9999% if either could handle the work and switching added no failures. Those assumptions are demanding. Shared credentials, storage, software defects or a bad rollout can defeat both paths. AWS's redundancy model makes independence explicit.
Use these calculations to find assumptions to test. They do not certify a design.
Choose the failure boundary you need to survive
Distributing a workload across availability zones addresses a different failure boundary from running it across regions. Multi-region deployment can reduce exposure to a regional event, but also adds replication, traffic routing and operational work. AWS explicitly lists using multiple regions when multiple zones meet the business requirement as an architecture anti-pattern.
Choose based on the failures the service must withstand and the measured interruption during recovery. A second region cannot protect you from a shared bad configuration pushed to both regions. It also needs enough available capacity and current dependencies to serve the workload when traffic moves.
For a stateful service, record how you prevent conflicting writes during failover, what data can be missing, and how clients reconnect. Restoring availability does not prove that acknowledged data survived. Keep a separate recovery point objective and verify it in the test. The warm-standby tutorial covers those recovery gates.
Measure the interruption through the client
Start the failure clock when the defined user operation stops meeting its objective. Stop it when that operation works again at the required load. Record detection and traffic-switch times separately so you can see where recovery stalls. A promoted database or a green health endpoint is only one checkpoint.
Use a controlled test record like this. These rows are a proposed worksheet, not completed test results.
| Fault to test | Evidence to collect |
|---|---|
| One app instance stops | Failed operations and surviving capacity |
| Database writer is lost | Client recovery, write safety and data gaps |
| An identity service fails | Which user actions still work |
| A release breaks one cohort | Detection time and rollback result |
| A serving location is lost | Traffic recovery and remaining load |
Begin in an isolated environment with representative load. Set a stop condition, name the person who can stop the test, and rehearse recovery. Production experiments need a deliberate scope and a recovery plan. AWS FIS documents alarm-based stop conditions; verify the cleanup behavior of each fault action separately.
Record failures as well as successful runs. A drill that missed its target gives you a specific repair to make before relying on that recovery path.
Keep changes small enough to evaluate
A canary limits the initial exposure to a release. Compare its user-facing results with the unchanged control group, and choose enough traffic and time to detect the failure modes you care about. One percent is not a universal safe size. Google's canary guidance covers evaluation and the limits of partial rollouts.
Check that rollback still works after a data or schema change. Feature flags also need an accessible control path and tested propagation behavior. A switch you cannot reach during the incident will not shorten recovery.
Database migrations deserve specific review. "Never take a table lock" is unusable advice: PostgreSQL acquires locks for ordinary operations, and many schema changes require strong locks. Check the exact operation, expected lock duration and conflicting workload against the PostgreSQL 16 lock documentation. Test migrations with representative data and concurrent queries, and define how to stop a blocked migration before it disrupts service.
Alert while there is still time to recover
Track how fast bad events consume the budget. Google's SLO alerting chapter explains burn rate and the tradeoffs between detection speed, noise and low traffic. Its example thresholds need adjustment for your objective and response process.
External checks sample selected paths at selected times. They can expose failures that internal telemetry misses, but passing probes cannot establish success for every customer or transaction. Combine them with application results and client-side evidence where available. Google's monitoring guidance distinguishes black-box symptoms from internal signals used for diagnosis.
Measure the full alert path too: collection, evaluation, delivery, acknowledgement and effective recovery. A sub-minute alert is not enough to protect a 25.92-second monthly time budget from a complete outage that needs human repair. That failure path needs faster automatic handling, reduced impact, or a different objective.
For the next design review, we'd start with one customer operation and one controlled failure. Bring the measured bad events, the recovery record and the remaining budget. Use that evidence to choose the next reliability change.