FlowDiagram
Cloud & DevOps infrastructureMermaid

AWS generative AI with Bedrock template

A RAG assistant on Bedrock: Knowledge Bases over S3, OpenSearch Serverless vectors, Bedrock Agents with Lambda tools, and Guardrails. This architecture diagram template contains 16 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

  • Employees
  • Web app on Amplify
  • Cognito
  • API Gateway
  • Lambda orchestrator
  • Bedrock Agent
  • Bedrock Guardrails
  • Foundation model on Bedrock
  • Bedrock Knowledge Base
  • OpenSearch Serverless vectors
  • S3 documents
  • Lambda tool: order lookup
  • Lambda tool: create ticket
  • DynamoDB
  • Chat history
  • CloudWatch model invocation logs

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((Employees)) --> WEB[Web app on Amplify]
  WEB --> COG[Cognito]
  WEB --> APIGW[API Gateway]
  APIGW --> ORCH[Lambda orchestrator]
  ORCH --> AG[Bedrock Agent]
  AG --> GR[Bedrock Guardrails]
  AG --> FM[Foundation model on Bedrock]
  AG --> KB[Bedrock Knowledge Base]
  KB --> VEC[(OpenSearch Serverless vectors)]
  DOCS[(S3 documents)] --> KB
  AG --> T1[Lambda tool: order lookup]
  AG --> T2[Lambda tool: create ticket]
  T1 --> DDB[(DynamoDB)]
  ORCH --> HIST[(Chat history)]
  AG --> CW[CloudWatch model invocation logs]

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