1
---
2
name: google-cloud-waf-reliability
3
metadata:
4
version: "1.1.0"
5
category: WellArchitectedFramework
6
description: >-
7
Evaluates, designs, and improves the reliability, resilience, availability,
8
fault tolerance, and disaster recovery (DR) of Google Cloud workloads based
9
on the design principles and recommendations in the Reliability pillar of the
10
Google Cloud Well-Architected Framework. Use when the user asks about
11
reliability-related topics like workload uptime, designing for high
12
availability (HA) or DR, setting and meeting RTO/RPO targets, SRE best
13
practices, backup strategies, multi-region failover, or fault-tolerant
14
architecture on Google Cloud. Don't use for other Well-Architected Framework
15
pillars such as Cost Optimization, Operational Excellence, or Security, or
16
for hands-on resource deployment and live incident troubleshooting.
17
---
18
19
# Google Cloud Well-Architected Framework skill for the Reliability pillar
20
21
## Usage attribution
22
23
**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you
24
MUST read and follow the instructions in
25
[Usage Attribution](references/attribution.md).
26
27
## Overview
28
29
The Reliability pillar of the Google Cloud Well-Architected Framework provides
30
principles and recommendations to help you design, deploy, and manage reliable,
31
resilient, and highly available workloads in Google Cloud. A reliable system
32
consistently performs its intended functions under defined conditions, is
33
resilient to failures, and recovers gracefully from disruptions, thereby
34
minimizing downtime, enhancing user experience, and ensuring data integrity.
35
36
## Core principles
37
38
The recommendations in the reliability pillar of the Well-Architected Framework
39
are aligned with the following core principles:
40
41
- **Define reliability based on user-experience goals**: Measurement of
42
reliability should reflect the actual experience of the system's users rather
43
than merely relying on infrastructure metrics. Focus on outcomes that matter
44
most to users. Grounding document:
45
https://docs.cloud.google.com/architecture/framework/reliability/define-reliability-based-on-user-experience-goals.md.txt
46
47
- **Set realistic targets for reliability**: Determine appropriate Service
48
Level Objectives (SLOs) that balance the cost and complexity of maximizing
49
availability against business requirements. Provide guidance on defining
50
Service Level Objectives (SLOs) based on monitoring signals, error budgets,
51
and user experience goals. Grounding document:
52
https://docs.cloud.google.com/architecture/framework/reliability/set-targets.md.txt
53
54
- **Build highly available systems through resource redundancy**: Eliminate
55
single points of failure by duplicating critical components across zones and
56
regions to maintain operations during localized outages. Grounding document:
57
https://docs.cloud.google.com/architecture/framework/reliability/build-highly-available-systems.md.txt
58
59
- **Take advantage of horizontal scalability**: Design system architectures to
60
scale horizontally (adding more instances) to seamlessly accommodate load
61
fluctuations and improve overall fault tolerance. Incorporate proactive
62
capacity planning to monitor and adjust project quotas and resource
63
availability anticipating sudden load spikes. Grounding document:
64
https://docs.cloud.google.com/architecture/framework/reliability/horizontal-scalability.md.txt
65
66
- **Detect potential failures by using observability**: Implement thorough
67
monitoring, logging, and alerting systems to proactively detect, diagnose,
68
and address anomalies before they cause user-facing issues. Monitor the
69
golden signals (latency, traffic, errors, and saturation) and set up alerts
70
for when the signals cross specified thresholds. Use Cloud Monitoring to
71
build comprehensive dashboards for the golden signals. Grounding document:
72
https://docs.cloud.google.com/architecture/framework/reliability/observability.md.txt
73
74
- **Design for graceful degradation**: Architect systems to maintain critical
75
functionality, even if at reduced performance or with limited features, when
76
dependencies fail or the system experiences extreme stress. To avoid
77
cascading failures, recommend setting up alerts to detect failures early,
78
using the circuit-breaker pattern, handling timeouts effectively to release
79
blocked resources, utilizing retries with exponential backoff and jitter to
80
avoid overwhelming recovering backend systems, and returning custom error
81
responses or static fallback pages. Grounding document:
82
https://docs.cloud.google.com/architecture/framework/reliability/graceful-degradation.md.txt
83
84
- **Perform testing for recovery from failures**: Build confidence in system
85
resilience by continuously simulating failures and verifying the
86
effectiveness of automated and manual recovery procedures. Grounding
87
document:
88
https://docs.cloud.google.com/architecture/framework/reliability/perform-testing-for-recovery-from-failures.md.txt
89
90
- **Perform testing for recovery from data loss**: Regularly test backup and
91
restore protocols to ensure rapid recovery from data corruption or loss,
92
remaining within the defined Recovery Time Objective (RTO) and Recovery Point
93
Objective (RPO). Grounding document:
94
https://docs.cloud.google.com/architecture/framework/reliability/perform-testing-for-recovery-from-data-loss.md.txt
95
96
- **Conduct thorough postmortems**: Foster a blameless culture by investigating
97
outages comprehensively to understand root causes, followed by implementing
98
measures that prevent recurrence. Grounding document:
99
https://docs.cloud.google.com/architecture/framework/reliability/conduct-postmortems.md.txt
100
101
## Relevant Google Cloud products
102
103
The following are _examples_ of Google Cloud products and features that are
104
relevant to reliability:
105
106
- **Compute**: Compute Engine Managed Instance Groups (MIGs), Google Kubernetes
107
Engine (GKE), Cloud Run
108
- **Networking**: Cloud Load Balancing, Cloud CDN, Cloud DNS
109
- **Storage and databases**: Cloud Storage (multi-region), Cloud SQL High
110
Availability, Spanner, Filestore, Firestore
111
- **Operations**: Cloud Monitoring, Cloud Logging, Google Cloud Managed Service
112
for Prometheus
113
- **Disaster recovery**: Backup and DR Service, Filestore backups
114
115
## Workload assessment questions
116
117
Ask appropriate questions to understand the reliability-related requirements and
118
constraints of the workload and the user's organization. For focused inquiries,
119
choose the most relevant questions from the following list; when preparing a
120
comprehensive reliability assessment across a workload, cover all core
121
principles and include the full set of discovery questions under each principle
122
so key operational practices aren't overlooked:
123
124
- **Define reliability based on user-experience goals**:
125
- How does your organization define and measure the reliability of your
126
systems in relation to user experience?
127
- How do you define reliability for your application in a way that is
128
meaningful to your end-users?
129
- What tools and processes do you use to gather direct user feedback on
130
reliability and performance?
131
132
- **Set realistic targets for reliability**:
133
- How does your organization approach setting reliability targets for your
134
services?
135
- What's your process for reviewing and adjusting your SLOs?
136
137
- **Build highly available systems through resource redundancy**:
138
- What is your organization's strategy for ensuring high availability through
139
resource redundancy?
140
- What's your strategy for distributing workloads across different geographic
141
regions or availability zones?
142
143
- **Take advantage of horizontal scalability**:
144
- How does your organization leverage horizontal scalability to maintain
145
performance and reliability?
146
- How do you monitor for performance bottlenecks that might prevent your
147
system from scaling effectively?
148
149
- **Detect potential failures by using observability**:
150
- How does your organization utilize observability (metrics, logs, traces) to
151
gain insights and detect potential failures?
152
- How does your organization manage alerting based on observability data to
153
ensure timely responses to significant issues without causing alert fatigue?
154
155
- **Design for graceful degradation**:
156
- What measures does your organization take to ensure systems can gracefully
157
degrade during high load or partial failures?
158
- How are the impacts of degraded performance on user experience measured and
159
mitigated?
160
- How is user experience prioritized during periods of degradation?
161
162
- **Perform testing for recovery from failures**:
163
- How frequently and comprehensively does your organization test for recovery
164
from system failures (e.g., regional failovers, release rollbacks)?
165
166
- **Perform testing for recovery from data loss**:
167
- What is your organization's approach to testing for recovery from data loss?
168
169
- **Conduct thorough postmortems**:
170
- How does your organization conduct and utilize postmortems after incidents?
171
- Can you share a key learning or a system change that resulted from a recent
172
postmortem?
173
174
## Validation checklist
175
176
Use the following checklist to evaluate the architecture's alignment with
177
reliability recommendations:
178
179
- User-focused SLIs and SLOs are explicitly defined and actively monitored.
180
- The architecture avoids single points of failure through cross-zone or
181
cross-region redundancy.
182
- Autoscaling is enabled to handle variable demand without manual intervention.
183
- Application and infrastructure health checks are configured to trigger
184
automated failovers.
185
- Regular backup schedules are in place, and restoration processes are routinely
186
tested.
187
- The system architecture incorporates patterns like circuit breakers, retries
188
with exponential backoff, and rate limiting to support graceful degradation.
189
- Game days or chaos engineering practices are regularly held to validate
190
failure recovery.
191
- A formalized, blameless postmortem process exists to ensure organizational
192
learning from operational incidents.
193