About This Architecture
Production-grade CI/CD pipeline deploys Dockerized NestJS API and Next.js UI to AWS EC2 using CodePipeline, CodeBuild, and CodeDeploy with Bitbucket as source. Nginx handles SSL termination via Certificate Manager while routing traffic to Docker containers running on a t3.medium instance in ap-south-1, with the NestJS backend connecting to RDS PostgreSQL in a private subnet and retrieving credentials from Secrets Manager. This architecture demonstrates cost-effective containerized deployment for DevOps teams needing automated builds, secure secret management, and database isolation without Kubernetes overhead. Fork this diagram on Diagrams.so to customize VPC CIDR ranges, swap container runtimes, or add auto-scaling groups and load balancers for high-availability scenarios.