Overview
Gunicorn (Green Unicorn) is a Python WSGI (Web Server Gateway Interface) HTTP Server that forwards requests from a web server (Apache, NGINX, etc.) to a Python web application or framework in the backend.
This instructor-led, live training (online or onsite) is aimed at engineers who wish to deploy a speedy, resource-light Gunicorn server to run Python web applications.
By the end of this training, participants will be able to:
- Install and configure Gunicorn.
- Understand the building blocks for deploying a Python web application
- Explain Gunicorn’s role and how it compares to Java’s Servlet API.
- Integrate Gunicorn with a variety of Python web frameworks.
Format of the Course
- Interactive lecture and discussion.
- Lots of exercises and practice.
- Hands-on implementation in a live-lab environment.
Course Customization Options
- To request a customized training for this course, please contact us to arrange.
Requirements
- Experience with Linux command line
- A general understanding of the web application deployment process
- A general understanding of web server concepts
- A basic understanding of Python
Audience
- System administrators (sysadmins)
- Developers
Course Outline
Introduction
- Gunicorn as an interface between web servers and web applications or framework.
Building Blocks for Running a Python Web Application
Overview of Gunicorn Features and Architecture
WSGI-compatible Applications and Frameworks
Setting up and Configuring Gunicorn
Understanding the Server/Gateway Side
Understanding the Application/Framework Side
Using WSGI Middleware Components to Implement Both Sides of the API
Deploying up a Sample Application
Routing a Request
Running Multiple Applications or Frameworks Simultaneously
Load Balancing and Remote Processing
Post-processing Content
Deploying the Python Application to Production
Monitoring the Application
Troubleshooting
Summary and Conclusion