<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Darshan Patil</title>
    <description>The latest articles on DEV Community by Darshan Patil (@darshan_patil_06b8adea552).</description>
    <link>https://dev.to/darshan_patil_06b8adea552</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4284720%2F9376f973-7114-4ba0-a9eb-01c9324c65d5.jpg</url>
      <title>DEV Community: Darshan Patil</title>
      <link>https://dev.to/darshan_patil_06b8adea552</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/darshan_patil_06b8adea552"/>
    <language>en</language>
    <item>
      <title>Amazon ECS &amp; ECR — Container Workflow Explained</title>
      <dc:creator>Darshan Patil</dc:creator>
      <pubDate>Sun, 06 Dec 2026 10:08:52 +0000</pubDate>
      <link>https://dev.to/darshan_patil_06b8adea552/amazon-ecs-ecr-container-workflow-explained-30d0</link>
      <guid>https://dev.to/darshan_patil_06b8adea552/amazon-ecs-ecr-container-workflow-explained-30d0</guid>
      <description>&lt;p&gt;🐳 Amazon ECS &amp;amp; ECR — Container Workflow Explained&lt;/p&gt;

&lt;p&gt;Confused about ECS and ECR? Here's the simple flow:&lt;/p&gt;

&lt;p&gt;ECR is where your Docker image lives.&lt;br&gt;
ECS is where that image runs as a container.&lt;/p&gt;

&lt;p&gt;The workflow&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Build your Docker image — FROM nginx&lt;br&gt;
Package your application into a Docker container image, here netflix-nginx.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Push it to Amazon ECR&lt;br&gt;
Amazon ECR (Elastic Container Registry) is a secure, fully-managed container registry. It stores the netflix-nginx image with versioning, encryption and access control.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Amazon ECS pulls it and runs it&lt;br&gt;
Amazon ECS (Elastic Container Service) orchestrates and runs containers as a managed service. A task definition defines how the container runs — CPU, memory, network — and the ECS cluster runs it, using image netflix-nginx:latest.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The ECS Service keeps your tasks running&lt;br&gt;
ECS launches and manages tasks on AWS Fargate (serverless, no servers to manage) or Amazon EC2 (instances you manage). The service maintains your desired count of tasks running.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Application Load Balancer routes traffic&lt;br&gt;
The ALB routes traffic to healthy tasks — Netflix Task 1 and Netflix Task 2 — so external users reach the app through the ALB DNS, load-balanced across tasks.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;How it all fits&lt;/p&gt;

&lt;p&gt;ECR stores your container image securely → ECS pulls the image from ECR and runs it in a task → ALB distributes traffic to tasks for high availability.&lt;/p&gt;

&lt;p&gt;Key benefits&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Scalable — auto-scale tasks based on demand&lt;/li&gt;
&lt;li&gt;Reliable — health checks and auto-replacement&lt;/li&gt;
&lt;li&gt;Secure — IAM roles, VPC and private networking&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's how the same Netflix landing page runs in production.&lt;/p&gt;

&lt;p&gt;About the author&lt;/p&gt;

&lt;p&gt;Darshan Patil — DevOps | AWS Cloud | Terraform | Docker | Jenkins&lt;br&gt;
GitHub: github.com/darshanpatil8799&lt;br&gt;
LinkedIn: linkedin.com/in/darshan-devops&lt;br&gt;
Builder Center: builder.aws.com/profile — @darshpatil&lt;/p&gt;

</description>
      <category>devops</category>
      <category>aws</category>
      <category>docker</category>
      <category>terraform</category>
    </item>
    <item>
      <title>Nginx-Verse: 6 Ways to Deploy the Same Netflix Landing Page</title>
      <dc:creator>Darshan Patil</dc:creator>
      <pubDate>Sat, 05 Dec 2026 12:43:17 +0000</pubDate>
      <link>https://dev.to/darshan_patil_06b8adea552/nginx-verse-6-ways-to-deploy-the-same-netflix-landing-page-19d3</link>
      <guid>https://dev.to/darshan_patil_06b8adea552/nginx-verse-6-ways-to-deploy-the-same-netflix-landing-page-19d3</guid>
      <description>&lt;p&gt;Same Nginx | Different worlds | Real DevOps skills&lt;br&gt;
Author: Darshan Patil — B.Sc Computer Science graduate, DevOps and AWS cloud learner&lt;br&gt;
GitHub: &lt;a href="https://github.com/darshanpatil8799" rel="noopener noreferrer"&gt;https://github.com/darshanpatil8799&lt;/a&gt;&lt;br&gt;
LinkedIn: &lt;a href="https://www.linkedin.com/in/darshan-devops" rel="noopener noreferrer"&gt;https://www.linkedin.com/in/darshan-devops&lt;/a&gt;&lt;br&gt;
AWS Builder Center: &lt;a href="https://builder.aws.com/profile" rel="noopener noreferrer"&gt;https://builder.aws.com/profile&lt;/a&gt;&lt;br&gt;
Originally published on AWS Builder Center: &lt;a href="https://builder.aws.com/content/3Mlg7TNJgvP9IXB2r0ZDD7VRQ6r/nginx-verse-6-ways-to-deploy-the-same-netflix-landing-page" rel="noopener noreferrer"&gt;https://builder.aws.com/content/3Mlg7TNJgvP9IXB2r0ZDD7VRQ6r/nginx-verse-6-ways-to-deploy-the-same-netflix-landing-page&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Introduction:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;I built one Netflix landing page with HTML, CSS and JavaScript.&lt;/li&gt;
&lt;li&gt;I then deployed the same page six different ways, instead of stopping at one deployment.&lt;/li&gt;
&lt;li&gt;Each lab follows the same pattern: workflow first, key steps in order, then the live output.&lt;/li&gt;
&lt;li&gt;Worked through in order, the difficulty builds naturally — static hosting, containers, managed AWS containers, automation, a hand-built server, and finally infrastructure as code.&lt;/li&gt;
&lt;li&gt;The lesson is simple: the page never changed, but every deployment route taught a different real-world DevOps skill.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At a glance — six labs, six routes, one live page:&lt;br&gt;
Lab 1 GitHub Pages — Static hosting straight from a GitHub repository&lt;br&gt;
Lab 2 Docker — Nginx running inside a container built from a Dockerfile&lt;br&gt;
Lab 3 AWS ECS and ECR — A container deployed as a managed AWS service behind a load balancer&lt;br&gt;
Lab 4 Jenkins — Build and deploy automated end to end by a CI/CD pipeline&lt;br&gt;
Lab 5 AWS EC2 server — Nginx installed and configured by hand on a cloud server&lt;br&gt;
Lab 6 Amazon S3 with Terraform — The hosting itself is created by code, not by clicking in a console&lt;/p&gt;

&lt;p&gt;Lab 1 — Netflix (Nginx) through GitHub Pages. Workflow: Netflix UI (HTML, CSS, JS) → GitHub repository (netflix-nginx) → GitHub Pages (static hosting). Key steps: 1. Create a GitHub repository. 2. Add the Netflix landing page files — HTML, CSS, JS and images. 3. Enable GitHub Pages from Settings → Pages. 4. Select the main branch (root or /docs). 5. Access the live URL. Live output: &lt;a href="https://darshanpatil8799.github.io/Netflix-page/" rel="noopener noreferrer"&gt;https://darshanpatil8799.github.io/Netflix-page/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Lab 2 — Netflix (Nginx) through Docker. Workflow: Dockerfile (Nginx + Netflix UI) → Docker image (netflix-nginx:latest) → Docker container (running Nginx). Key steps: 1. Create the project folder (netflix-nginx). 2. Add the Netflix UI files — HTML, CSS and JS. 3. Write the Dockerfile, starting FROM nginx. 4. Build the image: docker build -t netflix-nginx . 5. Run the container: docker run -d -p 8080:80 netflix-nginx 6. Access the page at &lt;a href="http://localhost:8080" rel="noopener noreferrer"&gt;http://localhost:8080&lt;/a&gt;. Live output: &lt;a href="http://13.206.142.83/" rel="noopener noreferrer"&gt;http://13.206.142.83/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Lab 3 — Netflix (Nginx) through AWS ECS and ECR. Workflow: Docker image (netflix-nginx) → Amazon ECR (store image) → Amazon ECS (deploy container) → Application Load Balancer → Netflix Task 1 and Netflix Task 2. Key steps: 1. Build the Docker image for the Netflix UI. 2. Push the image to Amazon ECR. 3. Create the ECS cluster and task definition. 4. Create a service (Fargate or EC2). 5. Configure the Application Load Balancer. 6. Access the Netflix UI via the ALB DNS name. Output: Netflix landing page running on AWS ECS, behind an Application Load Balancer. No live link was listed for this lab in my labs document, so none is shown here rather than guessing one.&lt;/p&gt;

&lt;p&gt;Lab 4 — Netflix (Nginx) through Jenkins. Workflow: GitHub (source code) → Jenkins (build and deploy) → Nginx (deployed). Inside the pipeline: 1) pull code from GitHub, 2) build the Docker image, 3) push to ECR (or Docker Hub), 4) deploy to ECS / EC2 (Nginx). Key steps: 1. Create a Jenkins pipeline (Jenkinsfile). 2. Pull the Netflix code from GitHub. 3. Build the Docker image (Nginx + Netflix). 4. Push the image to ECR / Docker Hub. 5. Deploy to ECS / EC2 using the pipeline. 6. Verify the deployment and access the URL. Live output: &lt;a href="http://13.234.239.211:8081/" rel="noopener noreferrer"&gt;http://13.234.239.211:8081/&lt;/a&gt; — Jenkins pipeline: checkout, build, push, deploy — build and deploy successful.&lt;/p&gt;

&lt;p&gt;Lab 5 — Netflix (Nginx) through an EC2 server. Workflow: Amazon EC2 (Ubuntu / Amazon Linux) → sudo yum install nginx (or sudo apt install nginx) → sudo systemctl start nginx → sudo systemctl enable nginx. Key steps: 1. Launch an EC2 instance (Amazon Linux / Ubuntu). 2. Connect using SSH. 3. Install Nginx (yum / apt). 4. Copy the Netflix landing page files to /usr/share/nginx/html. 5. Start and enable the Nginx service. 6. Access the page using the EC2 public IP (or DNS). Live output: &lt;a href="http://18.143.172.241/" rel="noopener noreferrer"&gt;http://18.143.172.241/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Lab 6 — Netflix (Nginx) through S3 with Terraform. Workflow: Terraform (.tf files) → Amazon S3 (static website). Key steps: 1. Prepare the Netflix UI files — HTML, CSS, JS and images. 2. Write the Terraform files: provider.tf (AWS provider), s3.tf (S3 bucket, website enabled), variables.tf (inputs) and outputs.tf (website URL). 3. Run the Terraform commands in order: terraform init, terraform validate, terraform plan, terraform apply. 4. Access the S3 website URL. Live output: &lt;a href="http://streamix-landing-051be19e.s3-website.ap-south-1.amazonaws.com/" rel="noopener noreferrer"&gt;http://streamix-landing-051be19e.s3-website.ap-south-1.amazonaws.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What I learned from the six labs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Nginx hosting — serving the same static page from GitHub Pages, a container, a hand-built EC2 server and S3.&lt;/li&gt;
&lt;li&gt;Containerization with Docker — packaging Nginx and the page into one portable image with a Dockerfile.&lt;/li&gt;
&lt;li&gt;AWS services — ECR, ECS, EC2 and S3, and how an Application Load Balancer fronts a managed container service.&lt;/li&gt;
&lt;li&gt;CI/CD automation with Jenkins — turning a manual build and deploy into one repeatable pipeline.&lt;/li&gt;
&lt;li&gt;Infrastructure as code with Terraform — creating the hosting itself from .tf files with init, validate, plan and apply.&lt;/li&gt;
&lt;li&gt;Real-world deployment and troubleshooting — verifying every route end to end until the same page was live six times.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Try it yourself:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open any live output above and compare the page across routes — it is identical, only the deployment changes.&lt;/li&gt;
&lt;li&gt;Start with Lab 1 if you are new, then add one new skill per lab: Docker, then ECS and ECR, then Jenkins, then EC2 by hand, then Terraform.&lt;/li&gt;
&lt;li&gt;Learn, practice, implement, document and showcase — every lab here ends with a live link you can show, not just notes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;About the author: Darshan Patil — B.Sc Computer Science graduate working toward entry-level DevOps, AWS cloud and platform engineering roles. Hands-on skills: AWS, Linux, Git, GitHub and Docker, with recent work in Kubernetes, Amazon ECR, Jenkins CI/CD and Terraform.&lt;br&gt;
GitHub: &lt;a href="https://github.com/darshanpatil8799" rel="noopener noreferrer"&gt;https://github.com/darshanpatil8799&lt;/a&gt;&lt;br&gt;
LinkedIn: &lt;a href="https://www.linkedin.com/in/darshan-devops" rel="noopener noreferrer"&gt;https://www.linkedin.com/in/darshan-devops&lt;/a&gt;&lt;br&gt;
AWS Builder Center: &lt;a href="https://builder.aws.com/profile" rel="noopener noreferrer"&gt;https://builder.aws.com/profile&lt;/a&gt; — @darshpatil&lt;br&gt;
Follow along on GitHub and LinkedIn for the next hands-on lab, and connect with me on AWS Builder Center.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>aws</category>
      <category>docker</category>
      <category>terraform</category>
    </item>
  </channel>
</rss>
