FlowDiagram
Software & system architectureMermaid

Multi-region active-active architecture template

Serving users from two regions at once with global routing, conflict-free replication and regional failover. This architecture diagram template contains 13 labelled components, branches such as “bi-directional replication”, “No”.

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

  • Global users
  • Latency-based global DNS
  • EU region
  • US region
  • App tier EU
  • App tier US
  • Regional DB EU
  • Regional DB US
  • Global table: sessions
  • Regional queue
  • Region healthy?
  • Shift all traffic to healthy region
  • Residency: EU personal data stays in EU

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 LR
  U((Global users)) --> GDNS[Latency-based global DNS]
  GDNS --> EU[EU region]
  GDNS --> US[US region]
  EU --> EUAPP[App tier EU]
  US --> USAPP[App tier US]
  EUAPP --> EUDB[(Regional DB EU)]
  USAPP --> USDB[(Regional DB US)]
  EUDB -->|bi-directional replication| USDB
  USDB --> EUDB
  EUAPP --> GTAB[(Global table: sessions)]
  USAPP --> GTAB
  EUAPP --> EUQ[(Regional queue)]
  USAPP --> USQ[(Regional queue)]
  GDNS --> HC{Region healthy?}
  HC -->|No| SHIFT[Shift all traffic to healthy region]
  EUDB --> RES[Residency: EU personal data stays in EU]

Related: System architecture diagram tool · Mermaid editor · All software & system architecture templates · All 521 templates