Infrastructure as Code for rallynear.me.
- ECS Fargate — rally-api (Go), rally-auth (TS), rally-frontend (Next.js)
- Lambda — rally-llm (Python metadata workers)
- Aurora Serverless v2 — PostgreSQL + PostGIS + pgvector
- ElastiCache — Redis for sessions, RSVP counts, geo cache
- CloudFront — CDN for static assets + API caching
- S3 — Event images, organizer avatars
- SES — Transactional email
- CloudWatch — Monitoring + budget alerts
modules/
networking/ — VPC, subnets, security groups, ALB
database/ — Aurora Serverless v2, ElastiCache
fargate/ — ECS cluster, services, task definitions
lambda/ — LLM worker functions
cdn/ — CloudFront, S3, Route 53
environments/
dev/ — Development environment
staging/ — Staging environment
prod/ — Production environment
TBD — Terraform vs CDK vs SST (see Technical Architecture doc)