Open Source · MIT License

Design AWS Architecture with Natural Language

OpenArchFlow is a privacy-first, open-source PWA that turns natural language into interactive AWS architecture diagrams — with Terraform export, cost estimates, and local deployment on MiniStack, including native AWS Glue jobs.

50+
Terraform resource types
24
AWS services to import
14
Services deployable locally
v0.13.0
Current version
Product tour

See OpenArchFlow in action

Real screenshots from app.openarchflow.cloud, captured in November 2026: the canvas, templates, Terraform export, MiniStack deploy and Glue Studio.

Interactive canvas

Interactive canvas

The AWS Serverless API template on the canvas — Cognito, API Gateway, Lambda, DynamoDB and S3 with labeled connections you can drag, edit and auto-layout.

Everything you need to design cloud infrastructure

From natural language to Terraform and a running local environment, in minutes.

AI-Driven Design

Multi-provider AI engine supporting Gemini 2.0/2.5, AWS Bedrock, and local WebLLM. Describe infrastructure in plain English and refine with follow-up chat.

Infrastructure as Code

Export any diagram to Terraform HCL (main.tf, variables.tf, outputs.tf). Dependencies are inferred from your diagram edges across 50+ AWS resource types.

Local Deployment

Deploy to MiniStack and get interactive consoles for S3, Lambda, DynamoDB, SQS, SNS and more — including native AWS Glue jobs. Test locally at zero cloud cost.

Real-Time Collaboration

Peer-to-peer over WebRTC with end-to-end encryption — the key stays in the URL fragment. Optionally back up your diagrams to Google Drive.

AWS Resource Discovery

Import live resources from 24 AWS services. Connections are inferred from ARN references, rendering your real infrastructure as an editable diagram.

Cost Estimation

Cost estimates from the AWS Price List API, with a per-architecture bill of materials you can export to CSV.

Use cases

Reference architectures you can design, export and run

Describe one in plain English, refine it on the canvas, export Terraform — and deploy it locally when MiniStack supports the services.

Serverless REST API

  1. Client
  2. API Gateway
  3. Lambda
  4. DynamoDB

Client → API Gateway → Lambda → DynamoDB. The classic pay-per-use backend: designed from one sentence, exported to Terraform and testable locally before you touch an AWS account.

DiagramTerraformLocal deploySimulation

Event-driven fan-out

  1. EventBridge
  2. SNS
  3. SQS
  4. Lambda

EventBridge routes events to an SNS topic that fans out to SQS queues consumed by Lambda workers. Deploy it to MiniStack and publish from the consoles to watch messages flow.

DiagramTerraformLocal deploy

Real-time streaming ingestion

  1. Kinesis
  2. Lambda
  3. S3
  4. DynamoDB

Producers write to a Kinesis stream; Lambda processes batches, stores raw events in S3 and keeps aggregates in DynamoDB.

DiagramTerraformLocal deploy

Data lake ETL with AWS Glue

  1. S3 (raw)
  2. AWS Glue
  3. S3 (curated)
  4. Athena

Land raw files in S3, catalog them with Glue, transform with a PySpark job into a curated bucket and query with Athena. With MiniStack the PySpark job runs for real in a local Glue container — no AWS account, no cost.

DiagramNative GlueLocal deployTerraform

Three-tier web app on ECS

  1. CloudFront
  2. ALB
  3. ECS Fargate
  4. RDS

Route 53 and CloudFront in front of an ALB, containers on ECS Fargate, RDS for persistence and ElastiCache for sessions, inside a VPC with public and private subnets. Ideal for design reviews, Terraform scaffolding and cost estimates.

DiagramTerraformCost estimate

Document an existing AWS account

  1. AWS account
  2. Import
  3. Diagram
  4. Terraform

Scan a live account, import 24 supported services as an editable diagram with connections inferred from ARNs, then export it to Terraform to start bringing legacy infrastructure under IaC.

AWS importDiagramTerraform
MiniStack Integration

Deploy & Test Locally — Zero Cloud Costs

MiniStack is a free, open-source AWS emulator that starts in about two seconds. Deploy your diagram with one click, then use per-resource consoles: browse S3 buckets, invoke Lambda functions, scan DynamoDB tables, send SQS messages and test API Gateway routes — all on your machine.

Start MiniStack:

docker run -p 4566:4566 ministackorg/ministack
MiniStack panel · Deploy All
  • my-app-assetsS3 bucketready
  • api-handlerLambda functionready
  • users-tableDynamoDB tableready
  • orders-queueSQS queueready

4 resources deployed · 0 errors

AWS Glue × MiniStack

Run AWS Glue jobs natively on your machine

MiniStack executes Glue jobs for real, inside a Docker container built on the official AWS Glue 4.0 libraries. OpenArchFlow adds Glue Studio on top: browse the catalog, edit PySpark, start runs, stream Spark logs live and query results with Athena SQL.

Catalog & Tables

Explore the databases and tables of your deployed Glue Catalog.

PySpark editor & runs

Edit PySpark scripts and start job runs from the Runs tab.

Live logs

Toggle Live to stream JVM and Spark logs, forwarded to local CloudWatch Logs.

Athena query

Run SQL over real S3 files with DuckDB — requires the ministackorg/ministack:full image.

What you need

  • Docker, with the socket mounted into MiniStack
  • The ministackorg/ministack:full image
  • The OpenArchFlow Glue image from GHCR (pulled automatically by the compose file)

With Docker Compose:

docker compose -f docker-compose.ministack-aws-glue-full.yml up -d

Or with docker run:

docker run -d -p 4566:4566 -v /var/run/docker.sock:/var/run/docker.sock -e GLUE_DOCKER_IMAGE=ghcr.io/dmux/openarchflow/ministack_glue_libs_4.0.0_image_01:latest -e S3_PERSIST=1 ministackorg/ministack:full

Free Forever. Open Source. MIT License.

No vendor lock-in. No account required. Your diagrams stay in your browser unless you choose to sync or share them. Contributions welcome.

MIT License

MIT

Use, modify, and distribute freely. No strings attached.

Privacy First

Local-first

Diagrams are stored locally in your browser and no account is required. Use local WebLLM to keep AI on-device; cloud AI providers only receive what you send them.

Contribute

Open PRs

Help build the future of cloud architecture tooling. PRs and issues welcome.

Start designing your AWS architecture today

Free, open-source, and local-first. No account required.