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.
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.
| Symbol | Name | Meaning |
|---|---|---|
| User | UserA person or external actor that starts a request. | |
| Web client | Web clientA browser-based front end. | |
| Mobile app | Mobile appA native or hybrid mobile client. | |
| Service | ServiceAn application or microservice that handles requests. | |
| Server | ServerA host, VM or node, when the machine matters more than the software. | |
| Function | FunctionServerless or scheduled code that runs on demand. | |
| Database | DatabaseA relational or document store. | |
| Queue / stream | Queue / streamAsynchronous messaging: a queue, topic or event stream. | |
| Object storage | Object storageFiles and blobs, such as an S3 bucket. | |
| External system | External systemSomething you call but do not run: a payment provider, an LLM API. | |
| Boundary | 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.
| Line | Name | Meaning |
|---|---|---|
| Synchronous call | Synchronous callA request that waits for a response, such as HTTP or gRPC. Label it with the protocol. | |
| Asynchronous message | Asynchronous messageAn event or queued message. The sender does not wait. | |
| Two-way | Two-wayA persistent connection such as a WebSocket, or replication in both directions. |
How to draw one
Start from a template close to your system, or open the editor with the Architecture shapes.
Add the things users touch on one side and the data stores on the other, with services between.
Connect them in the direction requests travel and label each line with what flows over it.
Draw a boundary around what runs in your network, then tidy the layout and export.
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
Three-tier web app
Browser, load-balanced web servers, an application API, a cache and a replicated database.
Microservices
Clients, an API gateway, four services with their own data, and an event bus between them.
Event-driven architecture
Producers, a broker topic, independent consumers and a dead-letter queue.
RAG pipeline
Retrieval-augmented generation: ingestion on one path, question answering on the other.
CI/CD pipeline
From commit to production with a test gate, a staging deploy and a manual approval.
URL shortener system design
The classic interview question: write path, cached read path and asynchronous analytics.
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.