Skip to content
flowchart.tools

Architecture diagram tool

Vendor-neutral shapes for the parts every system has, boundaries that carry their contents, and templates for the designs people draw most.

Three-tier web application architecture diagram. About this example

Architecture shapes

These shapes are deliberately generic. A cylinder reads as a database to anyone, whichever cloud it runs on, and the diagram does not go out of date when a provider redraws its icons.

SymbolNameMeaning
UserA person or external actor that starts a request.
Web clientA browser-based front end.
Mobile appA native or hybrid mobile client.
ServiceAn application or microservice that handles requests.
ServerA host, VM or node, when the machine matters more than the software.
FunctionServerless or scheduled code that runs on demand.
DatabaseA relational or document store.
Queue / streamAsynchronous messaging: a queue, topic or event stream.
Object storageFiles and blobs, such as an S3 bucket.
External systemSomething you call but do not run: a payment provider, an LLM API.
BoundaryA network, region, account or trust boundary. Dragging it moves what is inside.

What the lines mean

Pick a convention and state it. This one is common and needs no legend.

LineNameMeaning
Synchronous callA request that waits for a response, such as HTTP or gRPC. Label it with the protocol.
Asynchronous messageAn event or queued message. The sender does not wait.
Two-wayA persistent connection such as a WebSocket, or replication in both directions.

How to draw one

  1. Start from a template close to your system, or open the editor with the Architecture shapes.

  2. Add the things users touch on one side and the data stores on the other, with services between.

  3. Connect them in the direction requests travel and label each line with what flows over it.

  4. Draw a boundary around what runs in your network, then tidy the layout and export.

Open the editor

One diagram, one question

An architecture diagram that tries to show everything shows nothing. Decide what this one answers, such as where a request goes, where state lives or what talks to what across a trust boundary, and leave out whatever does not help answer it.

Templates for common designs

The template gallery has a three-tier web app, microservices, an event-driven system, a RAG pipeline, CI/CD and a URL shortener. Each opens in the editor as ordinary shapes, so renaming the boxes to your real services takes a minute.

No cloud icon sets

This tool does not ship AWS, Azure or Google Cloud icon libraries. If your audience needs the official icons for a specific provider, draw.io has them. For design docs and reviews, labelled generic shapes are usually clearer and age better.

Architecture diagram templates

Related tools

Questions

Does it have AWS, Azure or GCP icons?
No. It has generic shapes for clients, services, servers, databases, queues, storage and external systems. Name the shape after the product, for example "SQS" on a queue, and the diagram stays readable to people who do not know that provider's icon set.
Can I draw C4 model diagrams?
Yes for context and container diagrams: use the user shape for people, rectangles for systems and containers, and boundaries for the system edge. There is no dedicated C4 shape set.
How do I keep an architecture diagram up to date?
Keep it small enough that updating it is a five-minute job, store the exported JSON next to the code, and change it in the same pull request as the architecture.

Other diagram types