Skip to content
Connect an agent
Cloud architecture

Cloud architecture examples

Three complete cloud diagrams, one for each of Azure, AWS, and Google Cloud, each drawn from a checked pattern. It is for anyone who wants to read a finished diagram before writing one, human or AI agent.

TL;DR

QuestionAnswer
Where do these come from?Each example is a pattern from the architecture patterns guide. It validates with no warnings, passes the text-fit check, and renders in light and dark at desktop and phone width.
Can I copy one?Yes. The source is in the block above each picture. Every label and value is a placeholder, so rename them to fit the request.
Where do I start from a pattern?Call find_pattern with the request in plain words, then draw_from_pattern with the values to change.
Which features do they show?Typed groups, a provider icon on every service, stack marks, overlays, event edges, and a level edge between a primary and a replica.

1. Web application on Azure

A single-page app served from storage behind a CDN, services on an app plan, a database, secrets, a queue, sign-in, monitoring, and a delivery pipeline. It uses typed groups, a provider icon on every service, stack marks, and dotted edges for events.

Web application on a cloud: 12 nodes, 12 connections. Visitors load a single-page app from storage through a content delivery network and sign in through an identity service. The app calls an API on an application plan, which stores uploads, reads a database, and hands slow work to a queue that a background worker drains. A pipeline builds and deploys the API, and a monitoring service collects telemetry.

2. Two-zone network on AWS

A network in a region with two zones. Each zone has a public, a private, and an isolated subnet. Load balancers and a scaling group span both zones with overlays, and the primary database replicates to its replica across the zones.

Two-zone network with a replicated database: 8 nodes, 8 connections. Traffic enters through an internet gateway and reaches load balancers in the public subnets of two availability zones. Each balancer sends it to an application server in a private subnet, and the two servers form one scaling group. Each server writes to a database in an isolated subnet, and the primary database replicates to the replica in the other zone.

3. Serverless API on Google Cloud

A function behind an API gateway with a database, a queue for slow work, and storage for files, drawn with Google Cloud icons.

Serverless API: 9 nodes, 10 connections. A client calls an API gateway, which checks the caller with a sign-in service and routes each request to one of three functions. The functions keep records in a managed database and files in object storage, and send logs and metrics to monitoring.

See also

DocWhy
Architecture patternsEvery pattern, with its slots and the advice on what to keep, rename, and split
Cloud architectureThe five-step recipe
Group typesThe types the examples use, each drawn
Marks, second lines, and overlaysThe marks and overlays the examples use
Writing diagrams with an agentThe validate-and-fix loop