Cloud & SRE600–800 Users · S3/CF/RDSPrivate Production (NDA)

AWS S3 + CloudFront + EC2 + RDS Production Stack

End-to-end AWS architecture built from scratch for 600–800 users with CloudFront CDN, Elastic IP behind custom domain DNS & Nginx, RDS server-side pagination, L1/L2 Redis caching, and PM2 Cluster Mode.

600–800

Active Users

800MB

PM2 Memory Cap

L1 + L2

Auth Caching

Paginated RDS

DB Access

Infrastructure & Delivery Flow

CloudFront + S3

Global CDN Assets

Domain + Nginx

Elastic IP · TLS

PM2 Cluster Mode

800MB Rolling Guard

L1 + L2 Redis

Cached Session Auth

Amazon RDS + PgBouncer

Paginated · Indexed

The Infrastructure Challenge

Deploying and scaling a multi-campus web & mobile platform for 600–800 users required reliable static asset delivery, hidden origin IPs, efficient RDS queries, and protection against Node.js memory spikes.

Engineered DevOps Solution

Provisioned AWS S3 + CloudFront for frontend delivery, EC2 with Elastic IP behind custom domain DNS & Nginx, Amazon RDS with server-side pagination & composite indexes, PgBouncer directUrl migrations, L1/L2 Redis session caching, and PM2 Cluster Mode (800MB rolling memory guard).

What Broke & What I Learned

Prisma migrations initially hung behind PgBouncer transaction pooling because of session-level advisory locks, and large unpaginated RDS reads slowed down dashboards. Separating DATABASE_URL (pooled) from DIRECT_URL (direct RDS) and adding server-side pagination resolved both cleanly.

Key Production Highlights

  • Architected AWS S3 + CloudFront + EC2 + Amazon RDS infrastructure from scratch supporting 600–800 users
  • Mapped AWS Elastic IP behind custom domain DNS + Nginx TLS termination so raw server IPs stay unexposed
  • Implemented server-side pagination on Amazon RDS plus composite indexes and L1/L2 Redis session caching
  • Configured PM2 Cluster Mode with 800MB rolling memory restarts and 1GB max heap guardrails

Tools & Infrastructure Stack

AWS EC2/RDS/S3CloudFrontNginxPM2 ClusterRedis
Private Production Infrastructure (NDA-Safe Overview)

Next DevOps Case Study

Self-Hosted n8n on AWS EC2 (3 Production Workflows)

Read Case Study