Тёмный

Deploy Django on AWS EC2 Beginners Tutorial 

Legion Script
Подписаться 4,8 тыс.
Просмотров 6 тыс.
50% 1

In this video, we will deploy a django app on an AWS EC2 instance. This will be a simple deployment focusing on the basics of setting everything up using the Ubuntu 22 AMI.
Troubleshooting Commands:
1. If systemctl status indicates any errors or you can't find the gunicorn.sock file, check the logs by running:
sudo journalctl -u gunicorn.sock
2. If you need to change the gunicorn.service file, make sure to restart by running:
sudo systemctl daemon-reload
sudo systemctl restart gunicorn
3. If you need to make changes to the nginx server block in /etc/nginx/sites-available, make sure to test the syntax by running:
sudo nginx -t
and make sure to restart nginx by running:
sudo systemctl restart nginx
If you want to add a domain name, here is a tutorial online that could help you:
pythoncircle.com/post/699/usi...
Project Code:
github.com/legionscript/AWS-D...
Build the Blog That We Used Here:
• Build a Blog using Dja...
Free Structured Courses on LegionScript.com:
www.legionscript.com/

Наука

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

 

19 мар 2023

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@pierredechery7639
@pierredechery7639 10 дней назад
Very cool tutorial, thanks for posting!
@cankocman8
@cankocman8 7 месяцев назад
Dude, huge thanks for this absolute saver video! I've been struggling whole day with the deployment of my django project and this video has helped me a lot! Liked and subscribed, keep up the good work! Cheers!
@ujjawalsrivastava6848
@ujjawalsrivastava6848 Год назад
Would love to see videos on deployment using other service. Great Tutorial though!
@user-od4pr1sz6b
@user-od4pr1sz6b 11 месяцев назад
thanks it was very helpful!😃
@subinkv6849
@subinkv6849 4 месяца назад
Thank you, i have done the hosting.
@arnoldyang5452
@arnoldyang5452 Год назад
good stuff man love the content super helpful!
@LegionScript
@LegionScript Год назад
I appreciate it! Thanks for watching!
@cankocman8
@cankocman8 7 месяцев назад
could you also make a video about transferring the local Ipv4 to your actual domain using AWS Route 53?
@aartikhemani
@aartikhemani Год назад
i am trying to open django admin panel but its showing 403 forbidden error what to do?
@VivekKumarYT
@VivekKumarYT 9 месяцев назад
what is the need to install DB in EC2 , Why can't we use RDS?
@mykolayasynskyi4619
@mykolayasynskyi4619 10 месяцев назад
Hey buddy, How to purge cache? my django keep going with /assets/js/scripts.6831bd9ae161.js even after i pulled new version and collected statics... and i have correct scripts.js in the folder /assets/js/ , but or nginx dont like to serve it(((
@simonzeru
@simonzeru Год назад
Thanks ! What should I change if I'm using the sqlite default Django database?
@leonardemelieze8103
@leonardemelieze8103 11 месяцев назад
have finally gotten a solution to this ? I need and answer too
Далее
Deploy Django Web App on AWS EC2.
16:33
Просмотров 3,8 тыс.
Build an Investment Calculator in Django
43:23
Просмотров 3,8 тыс.
Deploy Django with Digital Ocean App Platform
19:29
Просмотров 8 тыс.
Django | Server Setup (WSGI, Gunicorn, Nginx)
9:37
Просмотров 136 тыс.
Asus  VivoBook Винда за 8 часов!
1:00
Просмотров 1,2 млн