Тёмный

Django production deployment to Google Compute Engine with Gunicorn and Nginx 

Vladsave Coding
Подписаться 1,4 тыс.
Просмотров 3,5 тыс.
50% 1

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:
github.com/titus58/youtube-tu...
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

Опубликовано:

 

7 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@sjara11
@sjara11 10 месяцев назад
Thanks Vladsave for this amazing video.
@gowinidea
@gowinidea 9 месяцев назад
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 RU-vid video, the RU-vid 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.
@vladsavecoding4111
@vladsavecoding4111 9 месяцев назад
Interesting. Thanks for the tip
@vaibhavkumar1498
@vaibhavkumar1498 5 месяцев назад
Amazing Video, Really helped a lot. thanks for making! Love from India ❤
@eliotnavarro8443
@eliotnavarro8443 Год назад
This video is insane, great work
@vladsavecoding4111
@vladsavecoding4111 Год назад
Thank you 🙏
@kaixsean
@kaixsean Год назад
This helped me, thank you.
@Jieryeson27
@Jieryeson27 5 месяцев назад
MUchas gracias! con su background ya me salio!!!
@clup9993
@clup9993 Год назад
Thank you very much
@kapitankidlattv9613
@kapitankidlattv9613 4 месяца назад
Amazing! Now I just need to figure how to deploy from Git hehehhehe thanks Mate!
@kapitankidlattv9613
@kapitankidlattv9613 2 месяца назад
BTw, can I use the same procedure if I am deploying the Django app on a Local Ubuntu Server?
@vladsavecoding4111
@vladsavecoding4111 2 месяца назад
Yes, you'll just need to run supervisord at startup using systemd. The alternative is to add gunicorm to systemd and skip supervisor
Далее
Google Cloud Batch Quickstart
23:03
Просмотров 2 тыс.
🤯️ Vini Jr. ✖️ Brahim 🤯
00:13
Просмотров 4,7 млн
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Deploy a Django web app with Nginx to Amazon EC2
35:26
$25,000 vs. $25,000,000
29:58
Просмотров 2,1 млн
Deploying Django with Docker Compose
2:24:50
Просмотров 88 тыс.
Deploy your Flask app on Google Cloud Platform
17:51
Просмотров 14 тыс.
The cloud is over-engineered and overpriced (no music)
14:39
Google Releases AI AGENT BUILDER! 🤖 Worth The Wait?
34:21
Django | Server Setup (WSGI, Gunicorn, Nginx)
9:37
Просмотров 141 тыс.
DHH discusses SQLite (and Stoicism)
54:00
Просмотров 58 тыс.
🤯️ Vini Jr. ✖️ Brahim 🤯
00:13
Просмотров 4,7 млн