An enterprise-grade, code-driven infrastructure mapper demonstrating an Amazon Serverless API Architecture.
This version implements advanced Graphviz layout controls (splines="ortho"), forcing all connecting pathways into crisp, 90-degree orthogonal right angles. This eliminates messy diagonal lines and delivers a polished diagram suitable for executive tech reviews and security audits.
- Orthogonal Routing: Clean, professional 90-degree architectural lines using Graphviz formatting engines.
- Serverless Blueprint: Modeled after high-scale AWS architectures featuring API Gateway, Lambda, Cognito, and DynamoDB.
- Configuration-Driven: Separates infrastructural definitions (
config.yml) from diagram rendering logic (mapper.py).
When you execute the generator script, your configuration (config.yml) translates into a structured serverless execution flow:
- Edge & Routing:
API Consumersresolve viaRoute53and pass through theCloudFront CDN. - Gateway & Auth: Requests hit the
REST API Gateway, validating tokens securely viaAmazon Cognito. - Compute Layer: The gateway fans out invocations across serverless runtimes (
User Handler Lambda,Payment Handler Lambda). - Persistence: Workloads securely read/write state to
DynamoDB (Global Table)and log binary artifacts to theS3 Artifact Bucket.
-
Install System Dependencies (Graphviz required):
- macOS:
brew install graphviz - Windows: Download from Graphviz and add to PATH.
- macOS:
-
Install Python Requirements:
pip install -r requirements.txt
