This folder contains Mermaid diagram files for the AWS deployment architecture.
- aws-auto-scaling-architecture.mmd - Main architecture diagram: ALB, Green/Blue OSCAL instances (t4g.small Graviton preferred), S3 (logs, config, users), and AWS Bedrock for AI. No self-hosted Ollama; AI is pay-per-use via Bedrock.
- workflow-timeline.mmd - Sequence diagram for user flow: access app via ALB, then AI suggest via Bedrock (no wake/sleep or scaling).
- generate-diagram.html - Interactive HTML that renders both diagrams and supports PNG download.
-
Mermaid Live Editor: https://mermaid.live/
- Copy the contents of the
.mmdfile - Paste into the editor
- Click "Download PNG" or "Download SVG"
- PNG is ready to attach to email!
- Copy the contents of the
-
Mermaid.ink: https://mermaid.ink/
- Use URL format:
https://mermaid.ink/img/[base64-encoded-diagram] - Or use their online tool
- Use URL format:
- Install "Markdown Preview Mermaid Support" extension
- Open the
.mmdfile - Right-click and select "Export as PNG"
# Install mermaid-cli
npm install -g @mermaid-js/mermaid-cli
# Convert to PNG
mmdc -i aws-auto-scaling-architecture.mmd -o aws-architecture.png -w 1920 -H 1080
# Convert to SVG (for better quality)
mmdc -i aws-auto-scaling-architecture.mmd -o aws-architecture.svgnpm install -g @mermaid-js/mermaid-cli
npx playwright install chromium
for file in *.mmd; do
mmdc -i "$file" -o "${file%.mmd}.png" -w 1920 -H 1080 -b white
done- Format: PNG (best compatibility)
- Width: 1920px (high quality)
- Height: Auto or 1080px
- Background: White
- Theme: Default or Forest
After conversion you get:
aws-auto-scaling-architecture.png- Main architecture (ALB, Green/Blue, S3, Bedrock)workflow-timeline.png- User and AI workflow sequence
Both are suitable for email or docs.
To modify the diagrams:
- Edit the
.mmdfiles - Adjust colors using
stylecommands - Change layout with
flowchart TB(top-bottom) orLR(left-right) - Reconvert to PNG
- Use PNG for emails (better compatibility)
- Use SVG for presentations (scalable)
- Use PDF for print documents
- Keep width at 1920px for HD displays
Version: 1.9.0 · Last updated: July 2026