Free template library · 24 prompts
Architecture diagram templates
24 copy-paste prompts that generate professional architecture diagrams in seconds. Pick a template, paste it into ArchitectureDiagram.ai, and tweak from there — or use it as-is.
Cloud
AWS, Azure, GCP, and multi-region patterns
AWS three-tier web application
Classic web app on AWS with CloudFront, ALB, ECS Fargate, and RDS Multi-AZ across two availability zones.
AWS serverless API
API Gateway + Lambda + DynamoDB with Cognito auth, async processing via SNS/SQS, and full observability.
Azure AKS microservices
Microservices on AKS behind Front Door + Application Gateway with hub-and-spoke networking, Cosmos DB, and Service Bus.
Multi-region active-active deployment
Active-active app spanning two AWS regions with Route 53 latency-based routing, Aurora Global Database, and S3 cross-region replication.
Kubernetes
Cluster, mesh, and GitOps patterns
Kubernetes web app with HPA
Standard web workload: Ingress → ClusterIP Service → Deployment with HorizontalPodAutoscaler, ConfigMap, and Secret.
Kubernetes with Istio service mesh
Istio control plane, sidecar-injected microservices, mTLS, ingress and egress gateways, and observability stack.
Kubernetes GitOps with Argo CD
GitOps workflow with developer commits, Argo CD sync, Image Updater, and three environments (dev/staging/prod).
Kubernetes stateful PostgreSQL
PostgreSQL StatefulSet with PVCs, headless service, replication, automated backups, and read/write split.
Microservices
Service patterns, sagas, and migration strategies
API gateway with microservices
Edge API gateway routing to a microservice fleet with shared identity, async messaging, and per-service databases.
Saga pattern (orchestration)
Orchestrator-coordinated saga with compensating actions for a multi-service order placement transaction.
Event sourcing + CQRS
Event-sourced write side with append-only event store, plus separate read models materialised from event stream.
Strangler fig monolith migration
Gradual migration from monolith to microservices using an API gateway to route traffic to new services as they're built.
Data & AI
ETL pipelines, RAG, agents, and MLOps
ETL data pipeline
Batch + streaming ETL into a lakehouse: source → ingestion → transformation → warehouse → BI/ML consumers.
RAG (retrieval-augmented generation) pipeline
Document ingestion, embedding, vector search, LLM generation, and response streaming for a production RAG application.
Multi-agent LLM system
Hierarchical multi-agent architecture: orchestrator agent dispatches to specialist agents with shared memory and tool access.
MLOps training & inference pipeline
End-to-end ML lifecycle: feature store, training pipeline, model registry, online inference, and monitoring.
Software architecture
C4, sequence, ER, and DFD diagrams
C4 System Context diagram
Level-1 C4 diagram showing the system, its users, and the external systems it depends on.
Sequence diagram: OAuth 2.0 flow
UML sequence diagram of the authorisation code flow with PKCE, including error handling alt fragments.
ER diagram: e-commerce data model
Entity-relationship diagram for an e-commerce platform with crow's foot notation, primary/foreign keys, and join tables.
Data flow diagram: e-commerce (Level 0)
Level-0 DFD (context diagram) for an e-commerce ordering system with external entities and bidirectional data flows.
Business processes
Org charts, workflows, and customer journeys
Order-to-cash process flow
Swimlane process flow covering Sales, Warehouse, Shipping, and Finance, with decision points and exception paths.
Hire-to-retire HR lifecycle
Cross-functional process flow covering Recruiting, HR, IT, and the Hiring Manager from job requisition to offboarding.
Org chart: functional structure
Multi-level functional org chart showing CEO, executive team, departments, and reporting lines for a 200-person company.
Customer journey: SaaS product
End-to-end customer journey from awareness through expansion, with touchpoints, emotions, and friction points highlighted.
Don't see your use case?
Describe your system in plain English. ArchitectureDiagram.ai handles the layout, shapes, and connectors so you can focus on the architecture itself.