Same Nginx | Different Worlds | Real DevOps Skills
I built one Netflix-inspired landing page (HTML, CSS, JavaScript) and deployed it six different ways using Nginx. Same UI, six deployment worlds — each method taught me a different real-world DevOps skill. Here is the complete breakdown, point by point.

Method 1: Netflix (Nginx) through GitHub Pages
Workflow: Netflix UI → GitHub Repository (netflix-nginx) → GitHub Pages (Static Hosting)
Key steps:
- Create a GitHub repository.
- Add the Netflix landing page files (HTML, CSS, JS, images).
- Enable GitHub Pages (Settings → Pages).
- Select the main branch (root or /docs).
- Access the live URL.
Live demo: https://mohitlohar1555-oss.github.io/Netflix-Landing-page-/
Method 2: Netflix (Nginx) through Docker
Workflow: Dockerfile (Nginx + Netflix UI) → Docker Image (netflix-nginx:latest) → Docker Container (Running Nginx)
Key steps:
- Create the project folder (netflix-nginx).
- Add the Netflix UI files (HTML, CSS, JS).
- Write the Dockerfile (FROM nginx).
- Build the image: docker build -t netflix-nginx .
- Run the container: docker run -d -p 8080:80 netflix-nginx
- Access: http://localhost:8080
Live demo: http://13.233.107.66:9090
Method 3: Netflix (Nginx) through ECS & ECR
Workflow: Docker Image (netflix-nginx) → Amazon ECR (Store Image) → Amazon ECS (Deploy Container) → Application Load Balancer → Netflix Task 1 & Task 2
Key steps:
- Build the Docker image for the Netflix UI.
- Push the image to Amazon ECR.
- Create an ECS cluster and task definition.
- Create a service (Fargate or EC2).
- Configure the Application Load Balancer.
- Access the Netflix UI via the ALB DNS.
Method 4: Netflix (Nginx) through Jenkins (CI/CD)
Workflow: GitHub (Source Code) → Jenkins (Build & Deploy) → Nginx (Deployed)
Pipeline stages:
- Pull code from GitHub.
- Build the Docker image.
- Push to ECR (or Docker Hub).
- Deploy to ECS / EC2 (Nginx).
Key steps:
- Create a Jenkins pipeline (Jenkinsfile).
- Pull the Netflix code from GitHub.
- Build the Docker image (Nginx + Netflix).
- Push the image to ECR / Docker Hub.
- Deploy to ECS / EC2 using the pipeline.
- Verify the deployment and access the URL.
Live demo: http://13.206.247.94:8081
Method 5: Netflix (Nginx) through EC2 Server
Workflow: Amazon EC2 (Ubuntu / Amazon Linux) → Install Nginx → Copy Netflix landing page files → Start Nginx → Access using EC2 Public IP
Commands:
sudo yum install nginx (or) sudo apt install nginx
sudo systemctl start nginx
sudo systemctl enable nginx
Key steps:
- Launch an EC2 instance (Amazon Linux / Ubuntu).
- Connect using SSH.
- Install Nginx (yum / apt).
- Copy the Netflix landing page files to /usr/share/nginx/html.
- Start and enable the Nginx service.
- Access using the EC2 Public IP (or DNS).
Live demo: http://13.127.219.154
Method 6: Netflix (Nginx) through S3 + Terraform (IaC)
Workflow: Terraform (.tf Files) → Amazon S3 (Static Website)
Key steps:
- Prepare the Netflix UI files (HTML, CSS, JS, images).
- Write the Terraform files: provider.tf (AWS provider), s3.tf (S3 bucket, website enabled), variables.tf (input variables), outputs.tf (website URL output).
- Run the Terraform commands: terraform init → terraform validate → terraform plan → terraform apply.
- Access the S3 website URL.
Live demo: http://netflix-inspired-site-23ba2020.s3-website.ap-south-1.amazonaws.com/
What I Learned
✅ Nginx Hosting (Static & Dynamic)
✅ Containerization (Docker)
✅ AWS Services (ECR, ECS, EC2, S3)
✅ CI/CD Automation (Jenkins)
✅ Infrastructure as Code (Terraform)
✅ Real-World Deployment & Troubleshooting
Conclusion
One landing page, six deployments — this project connected the full DevOps chain for me: version control with GitHub, containers with Docker, cloud hosting on EC2 and S3, managed containers with ECS & ECR, automation with Jenkins CI/CD, and Infrastructure as Code with Terraform. If you are learning DevOps, pick one simple UI and deploy it every way you can. The UI stays the same; your skills grow with every method.
👨💻 About the Author
Mohit Gadilohar — Aspiring Cloud & DevOps Engineer | AWS | Terraform | Docker | Jenkins | Linux
🔗 GitHub: https://github.com/mohitlohar1555-oss
🔗 LinkedIn: https://www.linkedin.com/in/mohit-gadilohar-devops/