How to Deploy Django Application on AWS EC2 | Nginx | Gunicorn | WSGI | Supervisor |HTTPS Request

  Рет қаралды 20,296

Codigo Mantra

Codigo Mantra

Күн бұрын

Пікірлер: 58
@drstevenstrange9708
@drstevenstrange9708 3 жыл бұрын
Man u did this so well, i followed you exactly from the beginning faced no issues, and even when i faced them i was able to solve it thanks to your explanation, people like you are a boon to our developer community.
@harveyspecter7491
@harveyspecter7491 8 ай бұрын
Absolutely! One short question, do you know how to update the server after pulling new website code from github?
@viktorojems
@viktorojems Жыл бұрын
Thank you brother you saved me today. over 8 hours of bugs fixed
@emson23
@emson23 2 жыл бұрын
Great work dude. Best Django-AWS tutorial on yt!
@desphixs
@desphixs 2 жыл бұрын
@emson Did you get any 502 Bad gateway | nginx ubuntu error?
@madhavg9691
@madhavg9691 Жыл бұрын
@@desphixs i do get, i dont know how to fix
@zhebax
@zhebax 6 ай бұрын
Excelente sr Codigo Mantra. Saludos!
@I_hu85ghjo
@I_hu85ghjo 2 жыл бұрын
The best tutorial! Thank you so much
@desphixs
@desphixs 2 жыл бұрын
Did anyone get 502 Bad gateway | nginx ubuntu error?
@bhushanchaudhari6773
@bhushanchaudhari6773 2 жыл бұрын
yes
@desphixs
@desphixs 2 жыл бұрын
@@bhushanchaudhari6773 have you fixed it, please help if you did. I've been stuck
@bhushanchaudhari6773
@bhushanchaudhari6773 2 жыл бұрын
@@desphixs no bro I am also trying
@desphixs
@desphixs 2 жыл бұрын
@@bhushanchaudhari6773 have you seen this comment below it says: ... If anyone has an issue when removing the port number for the url on the browser, check your /var/log/nginx/error.log. If the error is Permission Denied for the .sock, you must let your home directory group to www-data. $ sudo chgrp -R www-data /home/username/* The problem is that nginx is trying to run the socket, but doesn't have access to your home directory folder. If might have access to the file, but not all the directories to that file. You can try it
@bhushanchaudhari6773
@bhushanchaudhari6773 2 жыл бұрын
@@desphixs error is showing no such file or directory while connecting to upstream
@DarkStrado
@DarkStrado 2 жыл бұрын
This video is the truth. Thank you. If anyone has an issue when removing the port number for the url on the browser, check your /var/log/nginx/error.log. If the error is Permission Denied for the .sock, you must let your home directory group to www-data. $ sudo chgrp -R www-data /home/username/* The problem is that nginx is trying to run the socket, but doesn't have access to your home directory folder. If might have access to the file, but not all the directories to that file.
@MaestroN1c
@MaestroN1c 2 жыл бұрын
excellent! sorted my 502
@I_hu85ghjo
@I_hu85ghjo 2 жыл бұрын
how do you group your home directory? Edit: i just executed: sudo chgrp -R www-data /home/* and it worked. Thanks!
@shohebshaikh9128
@shohebshaikh9128 2 жыл бұрын
@@I_hu85ghjo guys its not working for me please help
@cherrytina110
@cherrytina110 Жыл бұрын
@@I_hu85ghjo How did you work yours , my own error is no such file or directory while connecting to upstream
@jrose2082
@jrose2082 5 ай бұрын
awesome solution friend, thank you
@harveyspecter7491
@harveyspecter7491 8 ай бұрын
Great video! But how to update the website after pulling a new version from Git? sudo systemctl reload nginx doesn't work. I would really appreciate any help!
@bozok1903
@bozok1903 2 жыл бұрын
That's a great explanation. Thank you for that.
@harveyspecter7491
@harveyspecter7491 8 ай бұрын
One short question, do you know how to update the server after pulling new website code from github?
@developer-pf2fl
@developer-pf2fl Жыл бұрын
worked successfully . Thanks Man
@elyaabbas7216
@elyaabbas7216 2 жыл бұрын
you are greate you just saved me
@hemalpatel3770
@hemalpatel3770 2 жыл бұрын
Thanks man! worked like charm
@desphixs
@desphixs 2 жыл бұрын
hey buddy, Did you get any 502 Bad gateway | nginx ubuntu error?
@765shivam
@765shivam 2 жыл бұрын
Can you please add link to the notes you're referring to in the description, that would be very helpful.
@I_hu85ghjo
@I_hu85ghjo 2 жыл бұрын
personal note: 19:13 502 error bad gateway - see comment below
@Bryan-mw1wj
@Bryan-mw1wj Жыл бұрын
Great tutorial, although I had to do some debugging to set up my supervisor, I really appreciate you showing exactly how to set up a secure website on port 443. Many tutorials just stop at http, and do not display https.
@shwetankmalviya8296
@shwetankmalviya8296 2 жыл бұрын
amazing video, worked perfectly for my django project. But it will be more helpful if you could provide the link to codes that you are writing in terminal of ec2 instance. GREAT JOB👍
@diazortizaxelemmanuel7347
@diazortizaxelemmanuel7347 2 жыл бұрын
@Diyadinesh vlogs Were you able to solve it ?
@upmagarg5480
@upmagarg5480 3 жыл бұрын
Very useful..thnku sir
@shaharukhkhan9955
@shaharukhkhan9955 2 жыл бұрын
thanx bro u helped a lot
@harveyspecter7491
@harveyspecter7491 8 ай бұрын
One short question, do you know how to update the server after pulling new website code from github?
@AkbarovMuhammadali
@AkbarovMuhammadali 3 жыл бұрын
thanks u man we lve you! :)))
@narutohighlights
@narutohighlights Жыл бұрын
it is giving 502 bad gateway after @19:12 can you help me
@ivansolis178
@ivansolis178 Жыл бұрын
ya lo so solucionate}?
@coadingcampus7327
@coadingcampus7327 2 жыл бұрын
One of my friends suggest your video for AWS deployment
@EL-dy3yg
@EL-dy3yg 9 ай бұрын
Hello, unfortunately this video didn't work for me, did you find video which would be more helpful?
@jehovahmbote3048
@jehovahmbote3048 2 жыл бұрын
Thanks for this videos I would just like to know if it is possible to resell AWS hosting
@okedejitofunmi3149
@okedejitofunmi3149 2 жыл бұрын
Following you went better than i anticipated. But can we please get a link to the notes you used? Thanks.
@starmovies8664
@starmovies8664 Жыл бұрын
please upload that command link which you use in this Video
@ranjithgodugu2566
@ranjithgodugu2566 2 жыл бұрын
Can u do dis on CentOS
@romeombugua6922
@romeombugua6922 Жыл бұрын
Run this command after installing nginx: sudo systemctl enable nginx && sudo systemctl start nginx
@MAHESHBABU-jt4oq
@MAHESHBABU-jt4oq Жыл бұрын
Could you please Attach the cmd file
@sameershaikh-pu8qv
@sameershaikh-pu8qv 2 жыл бұрын
provide one note file so we can easily copy paste code
@maisbaratoms
@maisbaratoms 10 ай бұрын
turbo C++
@zatechbell
@zatechbell Жыл бұрын
sudo chgrp -R www-data /home/* solved my 502 error.
@navaneethangn1215
@navaneethangn1215 Жыл бұрын
Thanks man
@mohduwaish8837
@mohduwaish8837 Жыл бұрын
Thanks buddy, that was extremely helpful ❤
@razorhxh7371
@razorhxh7371 Жыл бұрын
hey idk linux that well so sorry if its dumb question butt where do you do this right now i am in the /etc/nginx/
@navaneethangn1215
@navaneethangn1215 Жыл бұрын
@@razorhxh7371 do it anywhere
@InformatikEinfachGemacht
@InformatikEinfachGemacht 8 ай бұрын
thaaaank u
Deploy a Django web app with Nginx to Amazon EC2
35:26
Cloud With Django
Рет қаралды 46 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
What is WSGI and Why Do You Need Gunicorn and Nginx in Django
8:04
Denis Orehovsky
Рет қаралды 52 М.
Deploy a Django Web App to Amazon EC2 Instance  | 2024
16:26
THE PROTON GUY
Рет қаралды 16 М.
NGINX Explained - What is Nginx
14:32
TechWorld with Nana
Рет қаралды 295 М.
Creating a Flask Web Server in EC2 on the AWS Free Tier from scratch!
17:28
How to Deploy a Django App and Postgres Database to Render
20:14
Pretty Printed
Рет қаралды 41 М.
Deploy a Django web app on Amazon EC2
21:47
Cloud With Django
Рет қаралды 104 М.
Easily Deploy Full Stack Node.js Apps on AWS EC2 | Step-by-Step Tutorial
29:00
Deploying Django with Gunicorn & Nginx: Step-by-Step Tutorial! 🔥
17:40
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41