Skip to content
Serverless API diagram with Cognito, API Gateway, Lambda functions, DynamoDB and an S3 bucket on a card over a photo.

AWS Serverless API 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 client signs in with Amazon Cognito and calls an API Gateway route with the token. API Gateway checks the token against the user pool and invokes the API Lambda function. The function reads and writes items in DynamoDB, keyed by user id. For a file upload, it returns a presigned S3 URL that expires after five minutes. The client sends the file straight to S3, and the object created event starts the thumbnail function, which saves the image metadata to DynamoDB.

The design point is that file bytes never pass through the API. The function only issues a short-lived URL, so large uploads do not use function time or hit API payload limits. Each function has small, separate permissions, and the thumbnail worker retries twice before sending failed events to a dead-letter queue. To adapt it, swap in your own resources and Region, and add provisioned concurrency only on endpoints with strict latency targets.

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

  • Building a mobile app backend with sign-in and photo uploads
  • Replacing a small rented server running a REST API with Lambda
  • Adding thumbnail generation to an existing S3 upload flow

What's included

  • A designed cover slide
  • The diagram: 8 components and 8 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 Client apps, Amazon Cognito, Amazon API Gateway and the other boxes inside AWS Region (eu-west-1) to your own components, and delete the ones your system does not have.

  3. 3

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

  4. 4

    For the draw.io version, download aws-serverless-api-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

Why use a presigned S3 URL instead of uploading through the API?

A presigned URL lets the client send the file directly to S3 for a limited time. The file never passes through API Gateway or Lambda, so large uploads do not add to function run time or hit API payload limits. The example URL expires after five minutes.

What happens to a thumbnail event that keeps failing?

The thumbnail worker retries twice. If the event still fails, it goes to a dead-letter queue, where it is kept for inspection instead of being dropped. The cause can then be fixed and the events reprocessed.

Does the Lambda function check the sign-in token itself?

In this design, API Gateway checks the Cognito token against the user pool before it invokes the function. The handler therefore only receives requests that already carry a valid token.

  • #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…