Serverless Architecture

API Gateway, Lambda, DynamoDB: the pattern most greenfield work starts from.

Serverless Architecture: rendered example
Rendered by Gnomon from the source below. No edits.

The source

43 lines of PlantUML, and pulls in AWS icons. Copy it, or open the template inside Gnomon and render it as it is.

@startuml
!define AWSPuml https://raw.githubusercontent.com/awslabs/aws-icons-for-plantuml/main/dist
!include AWSPuml/AWSCommon.puml
!include AWSPuml/Compute/Lambda.puml
!include AWSPuml/NetworkingContentDelivery/APIGateway.puml
!include AWSPuml/Database/DynamoDB.puml
!include AWSPuml/Storage/SimpleStorageService.puml
!include AWSPuml/ApplicationIntegration/SimpleQueueService.puml
!include AWSPuml/ApplicationIntegration/SimpleNotificationService.puml
!include AWSPuml/NetworkingContentDelivery/CloudFront.puml
!include AWSPuml/SecurityIdentityCompliance/Cognito.puml

title AWS Serverless Architecture

actor User as user

CloudFront(cdn, "CloudFront", "CDN")
SimpleStorageService(staticSite, "Static Website", "S3")
Cognito(auth, "Cognito", "Auth")

APIGateway(api, "API Gateway", "REST API")
Lambda(getFunc, "GET Handler", "Node.js")
Lambda(postFunc, "POST Handler", "Node.js")
Lambda(processFunc, "Processor", "Python")

DynamoDB(dynamo, "DynamoDB", "NoSQL")
SimpleQueueService(queue, "SQS Queue", "Async Jobs")
SimpleNotificationService(notifications, "SNS", "Notifications")

user --> cdn
cdn --> staticSite
user --> auth
user --> api

api --> getFunc
api --> postFunc
getFunc --> dynamo
postFunc --> dynamo
postFunc --> queue
queue --> processFunc
processFunc --> notifications

@enduml

Render this offline

This template ships in Gnomon and renders on your machine, with no account and no diagram uploads. The browser editor is free and needs no install.

Get GnomonOpen the browser editor

Others in AWS architecture diagrams

Analytics cookies (optional)

May we use Google Analytics to understand visits, product links and feature use? If you accept, Google receives usage and device information, including your IP address, and sets analytics cookies. We do not send your documents, filenames or account details. Advertising features are disabled.

Analytics is off until you accept. Your choice is saved on this browser for 180 days using necessary local storage. You can change it at any time in Analytics preferences. Closing this message rejects analytics. Read our privacy policy.