Tool Comparison

Best AWS architecture diagram tools

By the engineer who builds Datadef, from client work on data platforms · Reviewed August 21, 2026

Seven ways to draw an AWS architecture diagram, compared by the only question that decides between them: where does the picture get its truth? Some make you place every box by hand, some scan your account and draw what actually runs, and some generate the diagram from a description or straight from your Terraform. Here is which one wins for which job, and what each costs to keep current.

10 min readFor engineers who have to present, document, or review AWS infrastructure

See it as a diagram

Everything below, as a diagram you can edit. Describe yours and see it in seconds.

104/2000• 1 free generation left today
Try:

No account needed · Editable canvas, not a picture

The short answer

There is no single best AWS architecture diagram tool, but there is a best one per job, and the deciding question is where the diagram gets its truth. draw.io (diagrams.net) is the strongest free manual editor and ships the official AWS shape libraries. Lucidchart is the manual editor teams buy for collaboration, permissions, and SSO. Cloudcraft and Hava connect to a live AWS account with a read-only role and draw what is actually deployed, which is the right answer for an as-built audit. The Python diagrams library and Mermaid keep small diagrams in the repository as code that diffs in review. Datadef generates the diagram from a plain-English description or from the Terraform in a connected repository, hands you an editable canvas with the 439 official AWS icons, and embeds a live image in a README, Notion, or Confluence so the copy people read is never a screenshot. Pick a scanner when you do not trust that your docs match production. Pick a generator when you need the explainable diagram for a review tomorrow.

AWS diagram tools compared, side by side

ToolSource of truthKeeping it currentBest for
diagrams.net (draw.io)Your handsManual, every timeFree one-off diagrams
LucidchartYour hands, shared canvasManual, with ownersEnterprise collaboration
Cloudcraft / HavaYour AWS accountAutomatic rescanAs-built audits, cost views
Python diagrams / MermaidCode in the repoSame-commit editsSmall repo-native diagrams
Datadef generatorYour descriptionEdit canvas, embeds followExplainable architecture, fast
Datadef repo syncTerraform in your repoRedrawn daily from the branchDocs that track the code
Datadef + agent (MCP)Your repo, read by an agentAgent updates in-sessionTeams coding with AI agents

Which AWS diagram tool is best for your case?

“I need a diagram for tomorrow's review”: the AWS architecture diagram generator draws it from a description, then spend your hour editing instead of placing boxes. “I do not trust that our docs match production”: that is an as-built problem, so scan the account with Cloudcraft or Hava. “Our diagram is always three quarters behind”: the update loop is broken, not the drawing tool, so embed a live diagram and let the repository or your agent own the updates. “We just need boxes in a README”: Mermaid, free, in the commit. “Nobody here writes code”: draw.io if it is one diagram, Lucidchart if a dozen people need to edit it.

Most teams land on two artifacts rather than one: an as-built view straight from the account when auditing, and one explainable architecture diagram that is generated, edited, and embedded everywhere people actually look. Trying to make a single diagram do both is the most common reason AWS documentation ends up satisfying nobody. If you are choosing between drawing it by hand and describing it, the AWS diagram tool page answers the two questions that decide it: how the generator compares to draw.io, and whether it can read your AWS account.

Can you draw AWS diagrams automatically?

Yes, and the three automatic routes produce genuinely different diagrams, so the choice matters more than the automation.

Scan the account. Cloudcraft and Hava assume a read-only role and call the AWS APIs, so the output is inventory: every subnet, every security group, exactly as deployed. Nothing else in this comparison can prove what is running.

Parse the infrastructure code. A read-only connection to GitHub, GitLab, or Azure DevOps reads the branch or tag you choose and parses every .tf file without running terraform init, without touching state, and without any cloud credentials. Modules are drawn as zones, per-environment counts survive, and registry modules keep their version label. The diagram and an architecture.md are regenerated daily, which the living diagram from Terraform walkthrough covers end to end.

Let the agent draw it. If Claude Code or Cursor is already editing your infrastructure code, it can draw and later update the same canvas through an MCP server in the session that made the change.

What automatic does not mean

None of the three invents the story. A scanner gives you 200 faithful resources with no opinion about which five matter; code parsing and agents give you what the repository says, which is the intended architecture rather than the deployed one. Every automatic route still leaves you the editing pass where the diagram becomes explainable.

Where an AWS diagram gets its truth

Your hands: manual editors where you place each service and draw each arrow. Total control, total maintenance burden. Your account: scanners that call the AWS APIs and render what is deployed right now. Always true, rarely readable. Your words or your repo: generators that produce the diagram from a description or from infrastructure code, which you then edit. Fast and readable, but only as complete as what you told them.

None of these is best in general; each is best against a different failure mode. The reviews below are ordered from most manual to most automated.

1. diagrams.net (draw.io), the free manual standard

Free, runs in the browser or offline, and ships the complete official AWS shape libraries. For a one-off diagram where you know exactly what you want to show, it remains the default answer, and nothing about it locks you in: files are XML you can keep in the repo.

The honest limit

Every box, arrow, and alignment is your labor, and so is every update. A 40-service diagram is an afternoon the first time and twenty minutes of tax on every architecture change after. Most stale AWS diagrams in the wild are draw.io diagrams, not because the tool is bad, but because manual updates are a chore that loses to any deadline.

2. Lucidchart, the enterprise manual editor

The polished commercial version of the same idea: AWS shapes, team collaboration, comments, SSO, and templates, with paid seats. Where draw.io is a file, Lucidchart is a system of record with permissions, which is what larger organizations actually buy it for. Its cloud-visualization add-on can also import from a live account into an editable canvas.

The maintenance economics stay manual: a human still owns every update, now at a per-seat price. If your organization already pays for it, the marginal cost is zero; if not, the money question is whether you need the collaboration layer or just the diagram.

3. Cloudcraft and Hava: draw what actually runs

Account scanners connect to AWS with a read-only role and render your real deployed infrastructure, Cloudcraft (now part of Datadog) with its signature 3D isometric view and live cost overlays, Hava with automated versioned snapshots per VPC. For an as-built audit, a security review, or the moment someone asks “what are we actually running in eu-west-1”, this category is unbeatable, because the diagram cannot lie.

The honest limit

Scanners draw inventory, not intent. You get every subnet and security group faithfully rendered, but the diagram has no idea which parts matter, what the zones mean, or how to summarize 200 resources into the five-box story you tell in an architecture review. The as-built view and the explainable view are different diagrams, and scanners only make the first one.

Where that line falls in practice is the whole decision, so it is worth reading the side-by-side of Cloudcraft and Datadef: one reads a live AWS account, the other reads the Terraform in your repository and keeps the modules and per-environment counts you already wrote. Teams whose infrastructure is declared rather than clicked usually find the second answer closer to the diagram they wanted.

4. Python diagrams and Mermaid, the repo-native options

The diagrams Python library defines AWS diagrams in code with official icons; Mermaid's architecture syntax renders directly in GitHub READMEs. Both versions of diagrams-as-code share the same virtue, the diagram diffs in review and changes in the same commit as the infrastructure, which is why they pair naturally with Terraform repos.

# diagrams (mingrammer), the diagram is code
with Diagram("Ingest", show=False):
    ALB("alb") >> ECS("api") >> RDS("orders")

The cost is layout control: past a couple dozen nodes you are fighting the auto-layout, and there are no zones, no deliberate placement, and no editing by anyone who does not write code. Strong for small per-service diagrams inside repos; weak as the big picture you present.

5. AI generators, describe it, then edit it

The newest category generates the diagram from a plain-English description and gives you an editable canvas to refine. Datadef's AWS architecture diagram generator produces architectures with the real AWS service icons, the same 439-icon library you would use manually, plus zones, labeled flows, and data lineage where it applies. Eraser takes a related approach from the diagram-as-code side with AI on top.

Two properties separate this category from a ChatGPT-drawn Mermaid sketch. The output is a real editable diagram, not frozen syntax: generation gets you to 80% in a minute and the mouse gets the last 20%. And the diagram can live on: embedded by link in a README or Confluence page, it updates everywhere when the canvas changes, which is the property the docs-sync comparison shows almost nothing else has.

The honest limit

A generator draws what you describe, not what you deployed. It will not discover the forgotten NAT gateway the way an account scanner will. If you need a guaranteed as-built inventory, use a scanner; if you need the explainable architecture, the one with intent, zones, and a story: generation is dramatically cheaper than drawing it.

6. Agents via MCP: the diagram your AI maintains

If your team already codes with Claude Code, Cursor, or another agent, the drawing step can disappear entirely. Datadef exposes the canvas as an MCP server: the agent reads your Terraform or CDK, draws the AWS architecture with proper icons, and, the part that changes the economics, updates the same diagram in a later session when the infrastructure changes. The agent that made the change documents the change.

Combined with live embeds, this closes the full loop that keeps AWS docs honest: repo changes, agent updates canvas, every embedded copy is current. No other category in this comparison closes that loop today.

The best AWS network and VPC diagram tools

Network diagrams are a separate decision, because the thing reviewers care about is boundaries: which subnet a resource sits in, what has a route to the internet gateway, where traffic crosses an account. Scanners are strongest here for the as-built question, Hava in particular because it snapshots and versions per VPC, so you can show what changed between two dates. Manual editors handle it well too, since draw.io and Lucidchart both have AWS group shapes for VPCs and subnets, at the usual maintenance price.

For the network you are proposing rather than the one you have, describing it is faster than drawing it. The AWS network diagram generator draws subnets, route tables, NAT and internet gateways, security groups and NACLs, Transit Gateway, VPC peering, VPC endpoints, Direct Connect, and Site-to-Site VPN as nested containers, so subnet placement is visible without reading a legend. It has no account connector, so it will not discover a live VPC on its own: the input is your description, your Terraform or CloudFormation, or an agent reading the repo.

Free and online AWS diagram tools

Everything in this comparison except the code libraries runs in a browser. draw.io, Lucidchart, Cloudcraft, and Datadef need nothing installed, so an AWS architecture diagram drawn online exports as PNG or JPEG from the same tab. The Python diagrams library is the exception, needing Python and Graphviz locally, and Mermaid renders inside GitHub or any Markdown viewer rather than in a canvas.

On price, the free end is genuinely free: draw.io, Mermaid, and the Python diagrams library cost nothing at any scale, and the AWS icon set itself is free to download whatever you draw in. Lucidchart and the account scanners are per-seat or per-account subscriptions. Datadef charges for neither seats nor accounts: everything except AI generation is included, and generation is metered in credits bought once that never expire.

Common questions about AWS diagram tools

What is the best AWS architecture diagram tool?

It depends on where the diagram's truth lives. draw.io is the best free manual editor and ships the official AWS shape libraries. Lucidchart adds collaboration and SSO for teams that need permissions. Cloudcraft and Hava scan a live AWS account and draw what is deployed. Datadef generates an editable diagram from a description or from the Terraform in a connected repository, then embeds it live in a README or Confluence.

What is the best free tool for AWS architecture diagrams?

For fully manual drawing, diagrams.net (draw.io) is free, runs in the browser or offline, and includes the complete official AWS shape libraries. Mermaid and the Python diagrams library are free if you would rather keep the diagram in the repository as code. Datadef needs no card either: the account and every feature in it are free, and only AI generation is metered, paid for with credits bought once that never expire.

Can I draw AWS architecture diagrams automatically?

Yes, by three different routes. An account scanner such as Cloudcraft or Hava connects with a read only role and renders what is actually deployed. A repository connection parses the Terraform in your GitHub, GitLab, or Azure DevOps project and redraws the architecture daily. A coding agent like Claude Code or Cursor can draw and update the same diagram through an MCP server while it edits the infrastructure code.

Is there an AWS diagram tool that works online?

Yes. draw.io, Lucidchart, Cloudcraft, and Datadef all run in a browser with nothing to install, so you can draw or generate an AWS architecture diagram online and export a PNG or JPEG. The code based options are the exception: the Python diagrams library needs Python and Graphviz locally, and Mermaid renders inside GitHub or a Markdown viewer.

What is the best AWS network or VPC diagram tool?

For an as built network, an account scanner wins: Hava snapshots each VPC and versions it, and Cloudcraft renders subnets and security groups from the live account. For the network you intend to build or explain in a review, describe it and let a generator draw subnets, route tables, NAT and internet gateways, Transit Gateway, peering, and VPC endpoints as nested containers you can edit.

Can I create an AWS diagram from Terraform code?

Yes. Datadef connects to a GitHub, GitLab, or Azure DevOps repository read only and parses every .tf file, with no terraform init, no state file, and no cloud credentials: modules become zones, per environment counts are kept, and registry modules keep their version. The code native alternative is the Python diagrams library, where the diagram is itself code you write and maintain by hand.

How do I keep an AWS architecture diagram up to date?

Stop distributing copies. A diagram embedded by link in a README, Notion, or Confluence updates everywhere the moment the source changes, so there is one thing to maintain instead of five screenshots. With a connected repository the diagram is redrawn daily, a commit that changes nothing structural leaves it alone, and nodes you moved by hand keep the position you gave them.

What is the difference between an AWS diagram tool and an AWS diagram generator?

A diagram tool gives you a canvas and shapes: you place every AWS service and route every arrow yourself, which is draw.io and Lucidchart. A generator produces the first draft for you from a description, a template, or repository code, and then hands you the same editable canvas. Most teams use a generator for the draft and manual editing for the last twenty percent.