Serverless Architecture
API Gateway, Lambda, DynamoDB: the pattern most greenfield work starts from.
- Format.puml
- Length43 lines
- LibraryAWS icons
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
@endumlRender this offline
This template ships in Gnomon and renders on your machine, with no account and nothing sent to a server. The browser editor is free and needs no install.
Others in AWS architecture diagrams
- Simple ArchitectureThe starting point: a handful of services and the traffic between them.
- VPC ArchitectureSubnets, availability zones and what is actually reachable from where.
- Microservices ArchitectureService-per-container with the plumbing between them.
- Data Lake ArchitectureIngest, store, catalogue, query.
- CI/CD PipelineCodePipeline and friends, end to end.