Linux & DevOps Deployment
The Linux command line, users and permissions, processes and systemd, SSH and firewalls, Bash scripting and cron, Nginx with HTTPS, deploying a Node.js app to a VPS, CI/CD with GitHub Actions, Docker in production, zero-downtime releases and rollbacks, monitoring, logs and backups, and a troubleshooting playbook with interview questions. Then CI/CD fundamentals and pipeline design, Jenkins from install to production pipelines, and running Kafka in production from the operations side.
17 lessons · about 2 hours
Start the first lesson →Start Here
What DevOps means and the path from git push to a live server.
Linux Server Essentials
The command line, users and permissions, processes and systemd, SSH, firewalls, Bash and cron.
- 02Linux Command-Line Essentials Find your way around a Linux server: the folder layout, moving around, reading and editing files, pipes and redirection, and searching logs with grep and find.
- 03Users, Permissions & sudo Read rwx permissions, fix 'Permission denied' with chmod and chown, use groups and sudo correctly, and run your app as its own low-privilege user instead of root.
- 04Processes, Services & systemd See what's running with ps and top, stop stuck programs, and turn your app into a systemd service that starts on boot, restarts after a crash, and logs to journald.
- 05SSH, Networking & Firewalls Log in with SSH keys instead of passwords, harden the SSH server, understand IPs, ports and DNS, test connections with curl and ss, and lock the server down with ufw and fail2ban.
- 06Bash Scripting & Scheduled Jobs Write safe Bash scripts with variables, conditions, loops and functions, make them fail loudly with set -euo pipefail, build a real deploy script, and schedule jobs with cron.
Deploying to Production
Nginx with HTTPS, a step-by-step VPS deploy, Docker in production, zero-downtime releases, monitoring and backups.
- 07Nginx Reverse Proxy & HTTPS Put Nginx in front of your app: route domains to the right port, host several apps on one server, get a free Let's Encrypt certificate, and add compression, caching and security headers.
- 08Deploy a Node.js App to a VPS, Step by Step The full journey on a fresh Ubuntu server: secure it, install Node, clone and build a Next.js or Express app, run it with systemd, put Nginx and HTTPS in front, and repeat deploys safely.
- 10Docker in Production on a Single Server Package your app into a small, secure image with a multi-stage Dockerfile, run the app, database and proxy together with Docker Compose, and deploy new images from a registry with health checks and safe restarts.
- 11Zero-Downtime Deploys & Rollbacks Stop breaking the site while you deploy: build into separate release folders, switch with an atomic symlink, run two instances for blue-green releases, handle database migrations safely, and roll back in seconds.
- 12Monitoring, Logs & Backups Know your server is healthy before users complain: the key resources to watch, uptime checks and alerts, logs with journald and logrotate, metrics with Prometheus and Grafana, and backups you have actually tested restoring.
CI/CD Pipelines
Pipeline design that works in any tool, GitHub Actions, and Jenkins from first Jenkinsfile to production deploys.
- 14CI/CD Fundamentals and Pipeline Design Tool-agnostic CI/CD: continuous integration vs delivery vs deployment, the stages of a good pipeline, artifacts and promotion, branching strategies, deployment strategies, pipeline security, DORA metrics, and how to choose between Jenkins, GitHub Actions, GitLab CI and Argo CD.
- 09CI/CD with GitHub Actions Run tests on every pull request and deploy automatically on every merge: workflow YAML explained, secrets, SSH deploys to a VPS, building artifacts in CI, environments with approvals, and safe concurrency.
- 15Jenkins: From Install to Your First Pipeline Install Jenkins with Docker or on Ubuntu, unlock it, choose plugins, and write a declarative Jenkinsfile: stages, steps, agents, environment variables, credentials, post actions, GitHub webhooks and multibranch pipelines.
- 16Jenkins in Production: Deploys, Docker and Scaling A complete Jenkins CI/CD pipeline: parallel test stages, Docker image build and push, SSH deploy to a VPS, manual approval with input, parameters and rollbacks, shared libraries, agents on Docker and Kubernetes, Configuration as Code, security, backups, and Jenkins vs GitHub Actions.
Operating Platform Services
Running Kafka in production: clusters, tuning, security, monitoring, topics as code and upgrades.
Troubleshooting & Interview Prep
A step-by-step playbook for production problems and common DevOps interview questions.