20 cloud design patterns, grouped by the problem they solve

10 November 2026 · 13 min read · Luka Engels

Twenty cloud design patterns sorted into six groups by the problem they solve, with when to use each one, where it shows up in real cloud services, and how they combine.

Most lists of cloud design patterns are exactly that: lists. Twenty names in alphabetical order, each with a definition. You can read them all and still not know which one to reach for when a downstream service starts timing out in the middle of the night.

The patterns are easier to learn and to choose between when you group them by the problem they solve. Most of their connections run inside those groups: Retry and Circuit Breaker belong together because both deal with failing calls, Saga and Compensating Transaction because both deal with work that spans several databases. So this article sorts 20 well-known patterns into six groups, from A (resilience) to F (operations and evolution), and numbers them A1 to F3 so you can match the text to the infographic.

For each pattern you get what it does, when it helps, where you meet it in real services, what to watch out for, and how it connects to the others. The examples lean on AWS (Amazon Web Services), with Azure and open source equivalents where they are common.

Infographic of 20 cloud design patterns in six groups. A Resilience: Retry, Circuit Breaker, Bulkhead, Health Endpoint Monitoring. B Messaging and load: Queue-Based Load Leveling, Competing Consumers, Publisher-Subscriber. C Data: Cache-Aside, CQRS (Command Query Responsibility Segregation), Event Sourcing, Sharding. D Distributed transactions: Saga, Compensating Transaction. E Gateway and edge: Backends for Frontends, Gateway Routing, Gateway Aggregation, Gateway Offloading. F Operations and evolution: Sidecar, Strangler Fig, External Configuration Store.
The 20 patterns in six groups. Select the image to open the full-size version.

Group A: Resilience

Surviving failure without taking the whole system down.

A1. Retry

A2. Circuit Breaker

A3. Bulkhead

A4. Health Endpoint Monitoring

Group B: Messaging and load

Handling volume without overwhelming the backend.

B1. Queue-Based Load Leveling

B2. Competing Consumers

B3. Publisher-Subscriber

Group C: Data

Scaling storage while keeping reads fast and data consistent.

C1. Cache-Aside

C2. CQRS

C3. Event Sourcing

C4. Sharding

Group D: Distributed transactions

Staying consistent when one business action spans several services.

D1. Saga

Saga is the pattern in this list with the most hidden detail: which steps can be undone, where the point of no return sits, and what happens when the undo fails too. The next article in this series, The Saga pattern in practice, goes through all of that with an interactive demo and a Step Functions implementation.

D2. Compensating Transaction

Group E: Gateway and edge

Controlling how clients reach your services.

E1. Backends for Frontends

E2. Gateway Routing

E3. Gateway Aggregation

E4. Gateway Offloading

Group F: Operations and evolution

Running services well and modernising them safely.

F1. Sidecar

F2. Strangler Fig

F3. External Configuration Store

How the patterns cluster in practice

Few of these patterns show up alone. Six combinations come up again and again:

  1. The resilience stack: Retry, Circuit Breaker, Bulkhead and Health Endpoint Monitoring. Retry handles short failures, the breaker handles long ones, the bulkhead contains the damage, and health checks drive automated recovery. A service mesh sidecar often delivers all four.
  2. The asynchronous backbone: Queue-Based Load Leveling plus Competing Consumers for distributing work, Publisher-Subscriber for fan-out. Use a queue when one worker should process a message, and a topic when everyone should hear about it.
  3. The event-driven data trio: Event Sourcing holds the truth as events, Publisher-Subscriber distributes them, and CQRS read models answer queries fast. Cache-Aside is the cheaper alternative when you only need faster reads.
  4. The distributed transaction pair: Saga plus Compensating Transaction. They become necessary once a business operation spans data split with Sharding or a database per service, and no single transaction covers it.
  5. The edge layer: Gateway Routing, Offloading and Aggregation usually live in one product, such as Amazon API Gateway or Azure API Management, with Backends for Frontends added when clients diverge.
  6. The modernisation path: Strangler Fig through Gateway Routing, an External Configuration Store with feature flags to switch traffic, and Health Endpoint Monitoring to verify the new path before cutting over.

Rule of thumb for choosing

Start with the problem, not the pattern.

Most of these patterns add moving parts, so use them when the problem actually exists, not because it might one day.

Next in the series

Of the six groups, distributed transactions is where good intentions most often turn into half-finished bookings and orphaned reservations. The Saga pattern in practice takes D1 and D2 apart: compensatable, pivot and retriable steps, choreography versus orchestration, a rental onboarding example you can click through, and the production pitfalls that the textbook diagrams leave out.

Further reading