Production-ready AWS CloudFormation templates for deploying Lerian products infrastructure.
- VPC with public, private, and database subnets (3 AZs)
- Amazon EKS with managed node groups
- RDS PostgreSQL with Multi-AZ support
- DocumentDB (MongoDB-compatible)
- ElastiCache (Valkey/Redis)
- AmazonMQ (RabbitMQ)
- Route53, ALB Controller, and ExternalDNS
Each product has its own deployment guide under products/:
| Product | Deploy Guide |
|---|---|
| Midaz | products/midaz/ |
| Tracer | Coming soon |
Option 1: Full Stack (single deploy, standalone)
┌─────────────────────────────────────────────────────────────┐
│ full-stack.yaml │
│ VPC + EKS + RDS + DocumentDB + ElastiCache + AmazonMQ + App │
└─────────────────────────────────────────────────────────────┘
Option 2: Modular (multi-product, shared infrastructure)
┌──────────────┐ ┌──────────────────┐ ┌──────────────┐
│ foundation │────▶│ product/infra │────▶│ product/app │
│ VPC + EKS │ │ Databases │ │ Helm deploy │
│ Route53 │ │ Caches, Brokers │ │ │
│ ALB + DNS │ │ │ │ │
└──────────────┘ └──────────────────┘ └──────────────┘
│ ┌──────────────────┐ ┌──────────────┐
└────────────▶│ product/infra │────▶│ product/app │
│ Databases │ │ Helm deploy │
└──────────────────┘ └──────────────┘
- Full Stack: Best for single-product deployments. One stack, one deploy.
- Modular: Best when running multiple products on a shared VPC and EKS cluster. Deploy Foundation once, then add product stacks independently.
See docs/ARCHITECTURE.md for details.
Use the Foundation stack when deploying more than one product on shared infrastructure. It creates the shared VPC and EKS. Route53 and ALB Controller are created only when DomainName is set, and ExternalDNS only when DomainName is set and EnableExternalDNS=true.
| Stack | Description | Deploy |
|---|---|---|
| Foundation | Shared VPC and EKS, with optional Route53 / ALB Controller / ExternalDNS | ![]() |
| Size | Monthly Cost |
|---|---|
| Development | ~$970 |
| Production | ~$1,220 |
| Enterprise | ~$2,450 |
See docs/COST_ESTIMATION.md for breakdown.
Apache License 2.0 - see LICENSE
Built by Lerian Studio
