Skip to content
Card over a photo showing a chat app stack: Cognito sign-in, API Gateway, Lambda, Bedrock, Knowledge Bases and an OpenSearch vector store.

AWS Generative AI Architecture

Presentation template for Google Slides and PowerPoint

Make a copy in Google Slides
Price
Free
Slides
5
Difficulty
Intermediate
Updated
November 8, 2026

Every slide (5)

Overview

A user signs in with Amazon Cognito and sends a question through Amazon API Gateway, which checks the token and invokes an AWS Lambda orchestrator. The orchestrator asks Bedrock Knowledge Bases for matching passages. The knowledge base runs a vector search in OpenSearch Serverless over documents indexed from Amazon S3. Lambda sends the question and passages to the Bedrock model, Guardrails screen the answer, and it returns with its source links. The turn is saved to DynamoDB.

Retrieval is where access control matters. The retriever applies document-level permissions as a metadata filter, so it never returns a passage the user cannot read. Source links make answers checkable, and an answer without citations should be shown as unverified. Re-sync the index when the embedding model changes, because old vectors cannot be compared with new ones. To adapt it, use your own Region, model and document sources, and keep the permission filter in the retrieval step.

The diagram uses the official AWS architecture icons, each labelled with its service name. AWS, Microsoft Azure and Google Cloud names and icons are trademarks of their respective owners, used here only to describe their services. WorkspaceTemplates is not affiliated with them.

Useful for

  • Internal policy assistant for staff over HR and IT wikis
  • Customer support answers drawn from approved product manuals
  • Searchable legal or compliance Q&A with source citations

What's included

  • A designed cover slide
  • The diagram: 10 components and 9 connections as editable shapes
  • A components table and the 7-step data flow
  • A legend with notes
  • The same diagram as a draw.io (diagrams.net) file

How to use it

  1. 1

    Click Make a copy in Google Slides, then confirm on the Google page. The copy is saved to your own Google Drive.

  2. 2

    Rename Chat users, Amazon Cognito, Amazon API Gateway and the other boxes inside AWS Region (us-east-1) to your own components, and delete the ones your system does not have.

  3. 3

    Rewrite the 7-step data flow and the 8-row components table so they match the arrows you keep.

  4. 4

    For the draw.io version, download aws-generative-ai-architecture-diagram.drawio and open it at app.diagrams.net.

What you need

Requirements

  • A Google account for Google Slides, or the free draw.io (diagrams.net) editor

Works with

  • Google Slides
  • Microsoft PowerPoint (File → Download → .pptx)
  • draw.io / diagrams.net (.drawio file)

Questions

What does a knowledge base add to a generative AI app?

It chunks and embeds your documents, then returns the most similar passages for each question. The model answers from those passages rather than only its training data, which makes answers easier to check against sources.

Why apply permissions in the retrieval filter?

If permissions are checked only after retrieval, the model may already have seen text the user should not read. Filtering on document permissions at query time keeps those passages out of the prompt.

Why re-sync the index when the embedding model changes?

Vectors from different embedding models are not comparable, so similarity scores would be wrong. Re-embedding all documents with the new model keeps retrieval consistent.

  • #aws-architecture-diagram
  • #architecture-diagram
  • #aws
  • #google-slides
  • #drawio
  • #diagram-template
  • #free-template

More aws architecture diagram templates

See all 10

Also in Developer workflows

All developer workflows templates
Get this template

Preparing your template…