Skip to content

LerianStudio/lerian-cloudformation-foundation

Repository files navigation

Lerian CloudFormation Foundation

Production-ready AWS CloudFormation templates for deploying Lerian products infrastructure.

CI Release License

What's Included

  • 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

Products

Each product has its own deployment guide under products/:

Product Deploy Guide
Midaz products/midaz/
Tracer Coming soon

Architecture Overview

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.

Foundation Stack

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 Launch
Other Regions
Region Launch
US East (N. Virginia) Launch
US West (Oregon) Launch
Europe (Ireland) Launch

Cost Estimate

Size Monthly Cost
Development ~$970
Production ~$1,220
Enterprise ~$2,450

See docs/COST_ESTIMATION.md for breakdown.

Documentation

License

Apache License 2.0 - see LICENSE


Built by Lerian Studio

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors