Architecture

AWS serverless architecture template

API Gateway, Lambda, DynamoDB, EventBridge, SQS and Cognito

Preview of the AWS serverless architecture template

What’s inside

Nodes
11
Packs
NetworkCloudSecurityData
Category
Architecture

Works on the Free plan: 15 diagram nodes + 150 notes, text, stickers & mind map topics per diagram.

This template shows a serverless web application on AWS. CloudFront serves the static front end from Amazon S3, users sign in with Amazon Cognito, and the app calls Amazon API Gateway, which checks the token and invokes the orders-api Lambda function that reads and writes a DynamoDB table.

When an order is placed, the function publishes an OrderPlaced event to Amazon EventBridge. A rule sends it to an Amazon SQS queue, the queue triggers the fulfillment-worker function, and the worker sends the confirmation through Amazon SES. Event edges are dashed, so the request path and the background work are easy to tell apart.

When to use it

  • Designing an event-driven backend on AWS without servers to manage.
  • Explaining which parts answer the user and which parts run in the background.
  • Reviewing permissions, retries and failure handling around queues and events before launch.
  • Documenting an AWS SAM or CDK project next to its code.

How to use it

  1. Rename the functions, the table, the queue and the events to match your application.

  2. Add what your system needs: a dead-letter queue, a workflow for longer jobs or another consumer of the event bus.

  3. Use dashed edges for events and solid edges for direct calls so readers can follow both paths.

  4. Share the diagram with reviewers, export it for the README or the design document, and keep revisions as the stack evolves.

Questions

Can I import my SAM or CloudFormation template?

Yes, as a starting point. Paste a CloudFormation or SAM template, or the output of cdk synth, into the free CloudFormation to diagram tool. Functions, tables, queues, topics and APIs become cloud nodes with AWS service icons, connected by their references and ready to edit.

Can I use the same layout for Azure or Google Cloud?

Yes. The cards are vendor-neutral cloud nodes with AWS service icons, so you can rename them for Azure Functions, Cosmos DB and Service Bus, or for Cloud Run, Firestore and Pub/Sub, or start from blank nodes in the Cloud pack.

Can an AI agent draw a serverless diagram for me?

Yes. Connect your AI agent to Archboard over MCP and describe your stack. It can draw a new diagram on your canvas or extend this one, and you edit the result like any other diagram.

Related templates

Open a canvas in a minute

Sign in with Google or GitHub. Free for a single seat. Upgrade when the team joins.