Django production deployment to Google Compute Engine with Gunicorn and Nginx

preview_player
Показать описание
Ad: If you need help with a Django deployment, you can book a consultation with me. Fees and contact info are available on my channel page.

In this video we will present a production deployment of a Django project to Google Compute Engine (GCE). We will use Gunicorn as an app server managed by Supervisor and then Nginx as a reverse proxy on top of Gunicorn. Because of the WSGI protocol, you can swap Django to Flask or other Python web framework and the process will stay more or less the same.

Source code, URLs:

Chapters:
00:00 Introduction
00:49 Explaining the stack
03:32 Writing the Django project
08:07 Run Gunicorn locally
11:13 Monitor Gunicorn with Supervisord
20:15 Create VM in Compute Engine
24:17 Install a free SSL certificate
28:19 Transfer the Django project to compute engine
34:35 Configure the Nginx reverse proxy
42:32 Collect static resources and serve them with Nginx
Рекомендации по теме
Комментарии
Автор

Thanks Vladsave for this amazing video.

sjara
Автор

Thanks for the video. A quick suggestion, if you are typing in the terminal, move the terminal up a little bit because when it is showing on the Youtube video, the Youtube playbar/video navigation is overlapping with your terminal input. This makes it quite hard to follow because we can't really see..the youtube video bar is blocking it.

gowinidea
Автор

Amazing Video, Really helped a lot.
thanks for making!
Love from India ❤

vaibhavkumar
Автор

MUchas gracias! con su background ya me salio!!!

Jieryeson
Автор

Amazing! Now I just need to figure how to deploy from Git hehehhehe thanks Mate!

kapitankidlattv
Автор

Hi sir please do the video hostiger vps hosting django project

mrheatyoutube
Автор

BTw, can I use the same procedure if I am deploying the Django app on a Local Ubuntu Server?

kapitankidlattv