P

Python

Python programming, data science, and scripting

How to Deploy, Secure, and Automate Full-Stack Web Apps – Course for Beginners

Learn how to take a web application from local development to a secure, live production environment. You will learn how to manually configure an Ubuntu server, set up essential runtimes, establish automated CI/CD pipelines, and secure your site using HTTPS and Cloudflare. By tackling everything hand...

Watch on YouTubeadded 15 September 2026

Key moments

  1. 0:00Introduction
  2. 1:50Problem statement & philosophy
  3. 6:23Module overview & roadmap
  4. 16:25Repo & handbook resources
  5. 17:21Module 1: Foundation
  6. 20:30Droplet provisioning
  7. 25:33SSH keys & ED25519 generation
  8. 35:15First login & package updates
  9. 40:05Sudo users & disable root login
  10. 49:56SSH configs & client shortcuts
  11. 57:00UFW firewall lockdown
  12. 1:07:59Fail2ban defense setup
  13. 1:14:24DigitalOcean recovery console
  14. 1:19:28Module 2: Application runtime
  15. 1:21:40SCP code transfer & permissions
  16. 1:27:48Python virtualenv & FastAPI
  17. 1:34:14Node.js, NVM & pnpm setup
  18. 1:38:16Fix OOM errors with swap memory
  19. 1:46:53Local tests via SSH tunneling
  20. 1:52:01Gunicorn & Uvicorn workers
  21. 2:00:46Supervisord process monitoring
  22. 2:06:01Memory & zombie processes via Btop
  23. 2:21:08Sync URLs with Vite proxy
  24. 2:31:58Nginx reverse proxy installation
  25. 2:50:28Fix 502 Gateway & permissions
  26. 3:01:55Security headers & CSP
  27. 3:23:20Module 3: Data & search
  28. 3:26:51Self-host Meilisearch on Ubuntu
  29. 3:28:30Standard vs system users
  30. 3:34:26DB dumps, snapshots & migration
  31. 3:41:40Secure keys & systemd service
  32. 3:51:55Seed search & connect FastAPI
  33. 4:05:40Automate daily snapshots
  34. 4:08:45Meilisearch UI dashboard
  35. 4:16:52Module 4: Global delivery
  36. 4:19:00Custom domain registration
  37. 4:23:43Configure DNS A & CNAME records
  38. 4:29:07SSL via Let's Encrypt & Certbot
  39. 4:36:50Automate 90-day SSL renewals
  40. 4:42:09Cloudflare CDN edge caching
  41. 4:59:47Restore real visitor IPs in Nginx
  42. 5:14:37Eliminate SPA soft 404 traps
  43. 5:23:48Port scanning with Nmap
  44. 5:29:37Module 5: Automation pipeline
  45. 5:34:11GitHub Rulesets branch protection
  46. 5:39:14Local hygiene via pre-commit
  47. 5:57:31Modular GitHub Actions CI
  48. 6:30:07Software Composition Analysis
  49. 7:03:15SAST scanning with Bandit
  50. 7:13:40Live Meilisearch integration testing
  51. 7:26:55E2E testing via Playwright
  52. 7:41:48DAST scanning with OWASP ZAP
  53. 8:00:43Frontend build & artifact generation
  54. 8:03:34Automated backup & cleanup scripts
  55. 8:07:28Passwordless visudo configuration
  56. 8:11:05Secrets & manual deployment reviews
  57. 8:41:35Sync production files via rsync
  58. 8:46:26Dynamic env file generation
  59. 8:50:26Atomic venv swap & rollbacks
  60. 8:58:56Rolling restarts (Supervisor/Nginx)
  61. 9:09:23Module 6: Optimization & maintenance
  62. 9:10:22Parsing Nginx logs via GoAccess
  63. 9:14:58Password-protected analytics dashboard
  64. 9:20:51Solving CSP restrictions via nonces
  65. 9:29:57Aggregating compressed logs via zgrep
  66. 9:33:05Hourly automated dashboard updates
  67. 9:34:21Real-time server monitoring via Btop
  68. 9:42:26Block malicious bots with UFW
  69. 9:50:30Load testing & latency via Locust
  70. 10:05:38Disk usage analysis via NCDU
  71. 10:08:14JournalD & Nginx log retention
  72. 10:10:40Monthly cron maintenance scripts
  73. 10:14:10Scheduled deep DAST scanning
  74. 10:25:19Conclusion

Chapters by freeCodeCamp.org

Sign in to add a comment

Other Coverage

Related Videos

Did you find what you came for?