Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Deploying Python Web Applications with Bottle, Gunicorn, and NGINX

Eli the Computer Guy via YouTube

Overview

Learn to deploy production-ready Python web applications through this comprehensive tutorial that covers the complete deployment stack using Bottle, Gunicorn, and NGINX. Starting with a basic Bottle web application featuring a random integer generator, master the fundamentals of web app deployment by building a simple application to visualize updates upon refresh. Progress through setting up Gunicorn as a WSGI server to handle multiple concurrent users and optimize performance by configuring multiple workers and port binding. Explore the complete technology stack implementation, including DNS configuration, operating system settings, and NGINX installation as a reverse proxy server. Configure NGINX to efficiently manage request routing to the Gunicorn server, enhance security through proper user account setup, and implement folder permission management. Create isolated environments using virtual environments, install dependencies, and configure the application as a Linux service using systemd for automated process management. Advance security measures by setting up UNIX socket communication between NGINX and Gunicorn, complete with necessary permission and ownership adjustments. Master troubleshooting techniques for common deployment issues, including permission errors, NGINX syntax validation, and service management, ensuring a robust and scalable production environment for Python web applications.

Syllabus

Python - Deploying Bottle Web Apps (NGINX, Gunicorn, Python)

Taught by

Eli the Computer Guy

Reviews

Start your review of Deploying Python Web Applications with Bottle, Gunicorn, and NGINX

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.