Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Web Deployment & CI/CD: AWS EC2, NGINX, SSL, GitHub Actions
111 students

Web Deployment & CI/CD: AWS EC2, NGINX, SSL, GitHub Actions

Deploy Node.js, Next.js and React apps to AWS EC2 with NGINX, custom domains, free SSL and GitHub Actions CI/CD
Created byJahid Hiron
Last updated 10/2026
English
ArabicDanish

What you'll learn

  • Deploy a production web app to AWS EC2 from scratch
  • Launch, connect to and configure an Ubuntu server over SSH
  • Secure your server with security groups, SSH keys and minimal open ports
  • Run your app behind NGINX as a reverse proxy
  • Point your own domain name to your server
  • Serve your app over free, auto-renewing HTTPS with Let's Encrypt
  • Build a GitHub Actions pipeline that deploys on every git push
  • Understand how real-world deployment works end to end, so you can reuse it for any project
  • Set up separate production and staging deployments for Node.js, Next.js and React apps

Course content

15 sections • 79 lectures • 4h 57m total length
  • Introduction2:35

    Welcome to the course! In this lecture, we’ll preview what to expect and explain how the course will progress. We’ll introduce the main topics, including setting up cloud infrastructure and automating deployments with CI/CD. This overview will clarify the steps ahead and what you’ll learn throughout the course.

  • How Servers Work Internally5:11

    In this lecture, you’ll learn how servers work internally and how client requests are processed and returned as responses in real-world applications.

    We’ll start with a simple local setup using Node.js and Python running on different ports, then gradually move toward how these applications become accessible to users across the internet. You’ll understand why running projects locally isn’t practical for production and how cloud platforms like AWS, Azure, and Google Cloud solve this problem.

    The lecture then introduces Nginx, one of the most widely used web servers worldwide. You’ll learn:

    • What a cloud server (machine) is

    • How requests reach a server via an IP address and ports

    • Why is Nginx needed in production environments?

    • What a reverse proxy is and how it works

    • How Nginx routes requests to different applications (Node.js, Python) using ports

    • How domains like nodejs.com and python.com can point to different project on the same server

    By the end of this lecture, you’ll have a clear mental model of the complete request-response lifecycle—from the client’s browser to the server and back—and understand how Nginx acts as the bridge between users and backend applications.

    This lecture is essential for anyone learning DevOps basics or preparing to deploy applications to production.

  • Understanding the Request-Response Cycle with Nginx2:53

    In this lecture, you’ll learn how the request–response cycle works on a real server using Nginx.

    We’ll start by understanding a common real-world scenario: multiple applications (such as a Node.js app, a Python app, and static files) running on different ports of a server. You’ll see why exposing these applications directly isn't ideal and how cloud servers address availability and maintenance.

    Next, we’ll introduce Nginx and explain its role as a web server and, more importantly, as a reverse proxy. You’ll learn how Nginx listens on port 80, receives incoming client requests, and forwards them to the correct backend service based on configuration.

    Through simple examples, this lecture explains:

    • How client requests reach a server

    • What happens when multiple applications run on different ports

    • How Nginx forwards requests to Node.js or Python applications

    • How responses flow back from the application to the client

    • How domains like nodejs.com and python.com can point to different services on the same server

    By the end of this lecture, you’ll have a clear mental model of how Nginx works behind the scenes and how it manages traffic between users and backend applications. This foundational understanding is essential for deploying real-world applications on cloud servers.

  • Understanding the Request-Response Cycle with Nginx

Requirements

  • Basic web development in any stack
  • Basic Git and GitHub
  • No prior AWS or Linux experience needed

Description

Your app works on localhost. Now what?

In this hands-on course, you'll take a real web application from your laptop to a live, secure, production server on AWS, and then automate it so every git push deploys itself.

No theory dumps. We deploy three real projects from start to finish:

  • Deploy three real projects (a Node.js API, a Next.js app and a React app) with separate production and staging pipelines

  • Launch and secure an Ubuntu server on AWS EC2 (security groups, SSH keys)

  • Run your app behind NGINX as a reverse proxy

  • Connect your own domain name

  • Add free HTTPS with Let's Encrypt (and auto-renewal)

  • Build a CI/CD pipeline with GitHub Actions that deploys on every push

By the end, you'll have a live app on your own domain with a working pipeline: something you can show in interviews and reuse for every project you build.

Who this course is for

  • Web developers who have never deployed to a real server

  • Frontend and backend developers who rely on Vercel or Netlify and want to understand what's underneath

  • Students and junior developers who want deployment and CI/CD skills on their CV

What you need

  • Basic web development (any stack)

  • Basic Git and GitHub

  • An AWS account (the free tier is enough, and we set it up together)

Every lecture is short, practical, and shows exactly what to type. Enroll and ship your first production deployment today.

Who this course is for:

  • Web developers who have never deployed to a real server
  • Developers using Vercel or Netlify who want to understand what's underneath
  • Students and junior developers who want deployment and CI/CD skills on their CV