FlowDiagram
Cloud & DevOps infrastructureMermaid

AWS three-tier web app reference template

Route 53, CloudFront, ALB, auto-scaling EC2 or ECS across two AZs, RDS Multi-AZ, ElastiCache and S3 — the classic AWS reference architecture. This architecture diagram template contains 15 labelled components.

Open in the editor →
  • Free — no account, no trial, no watermark
  • Fully editable shapes and connectors, not a screenshot
  • Export PNG, SVG or PDF, or share it as a link
  • Private: the diagram never leaves your browser

Components in this architecture diagram

  • Users
  • Route 53
  • CloudFront + WAF
  • S3 static assets
  • Application Load Balancer
  • ECS tasks AZ-a
  • ECS tasks AZ-b
  • ElastiCache Redis
  • RDS primary AZ-a
  • RDS standby AZ-b
  • SQS queue
  • Worker service
  • S3 data bucket
  • Secrets Manager
  • CloudWatch logs & alarms

How to use this architecture diagram template

  1. Click Open in the editor. The architecture diagram opens on a new page in FlowDiagram — nothing is uploaded and there is no sign-up.
  2. Rename, add or delete shapes and drag them where you want; connectors stay attached as things move.
  3. Drop in vendor logos from the library — 1,160 of them, including every AWS, Azure and Google Cloud service icon — or restyle it with the colour and theme controls.
  4. Prefer text? Edit the Mermaid source below and paste it in through ☰ → Import diagram (see the Mermaid editor); it imports as an editable diagram.
  5. Export to PNG, SVG or PDF, or press Ctrl+L for a link that carries the whole diagram.

Mermaid source

The whole template is the text below. Paste it into FlowDiagram, keep it in Git next to the code it describes, or hand it to an AI assistant to extend.

flowchart TB
  U((Users)) --> R53[Route 53]
  R53 --> CF[CloudFront + WAF]
  CF --> S3W[(S3 static assets)]
  CF --> ALB[Application Load Balancer]
  ALB --> ASG1[ECS tasks AZ-a]
  ALB --> ASG2[ECS tasks AZ-b]
  ASG1 --> EC[(ElastiCache Redis)]
  ASG2 --> EC
  ASG1 --> RDS[(RDS primary AZ-a)]
  ASG2 --> RDS
  RDS --> RDS2[(RDS standby AZ-b)]
  ASG1 --> SQS[(SQS queue)]
  SQS --> WORK[Worker service]
  WORK --> S3D[(S3 data bucket)]
  ASG1 --> SM[Secrets Manager]
  ASG1 --> CW[CloudWatch logs & alarms]
  ASG2 --> CW

Related: System architecture diagram tool · Mermaid editor · All cloud & devops infrastructure templates · All 521 templates