EC2 with Dockerized Setup
A scalable backend deployment utilizing Docker, Nginx, and AWS EC2 for seamless environment consistency.
Project Overview
This project involves successfully containerizing a full-stack application and deploying it to an AWS EC2 instance. using Docker and Docker Compose ensures that the application runs identically across development, staging, and production environments.
Implementation Details
- Containerization: Wrote custom `Dockerfile` to build lightweight images and `docker-compose.yml` for multi-container orchestration.
- AWS EC2 Infrastructure: Provisioned an Ubuntu EC2 instance, managed security groups, configured SSH access and isolated environments using VPC subnets.
- Reverse Proxy: Set up Nginx as a reverse proxy to route traffic securely to internal Docker containers handling API limits and static asset serving.
- CI/CD Pipelines: Automated deployment shell scripts (`deploy.sh`) directly cloning repositories and rebuilding containers automatically on updates.
Back to Home