Microservices Architecture

Service-per-container with the plumbing between them.

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

The source

53 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/Containers/ElasticContainerService.puml
!include AWSPuml/Containers/ElasticContainerRegistry.puml
!include AWSPuml/Containers/ElasticKubernetesService.puml
!include AWSPuml/NetworkingContentDelivery/APIGateway.puml
!include AWSPuml/ApplicationIntegration/SimpleQueueService.puml
!include AWSPuml/Database/RDS.puml
!include AWSPuml/Database/ElastiCache.puml
!include AWSPuml/NetworkingContentDelivery/ElasticLoadBalancing.puml
!include AWSPuml/ManagementGovernance/CloudWatch.puml

title AWS Microservices Architecture

APIGateway(api, "API Gateway", "")
ElasticLoadBalancing(alb, "ALB", "")

ElasticKubernetesService(eks, "EKS Cluster", "") {
  ElasticContainerService(userSvc, "User Service", "")
  ElasticContainerService(orderSvc, "Order Service", "")
  ElasticContainerService(productSvc, "Product Service", "")
  ElasticContainerService(notifySvc, "Notification Service", "")
}

ElasticContainerRegistry(registry, "Container Registry", "")

RDS(userDb, "Users DB", "")
RDS(orderDb, "Orders DB", "")
RDS(productDb, "Products DB", "")

ElastiCache(cache, "Redis Cache", "")
SimpleQueueService(eventQueue, "Event Queue", "")
CloudWatch(monitoring, "CloudWatch", "")

api --> alb
alb --> userSvc
alb --> orderSvc
alb --> productSvc

userSvc --> userDb
orderSvc --> orderDb
productSvc --> productDb

userSvc --> cache
productSvc --> cache

orderSvc --> eventQueue
eventQueue --> notifySvc

eks --> monitoring

@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.