Deploy a Django Web App to Amazon EC2 Instance | 2024

  Рет қаралды 16,339

THE PROTON GUY

THE PROTON GUY

Күн бұрын

Пікірлер
@Lifewithade2003
@Lifewithade2003 Жыл бұрын
Wow! This was so helpful
@alphonsekaman4114
@alphonsekaman4114 3 ай бұрын
Thanks a lot bro. After days of struggling, I am finally there. 😀
@the_proton_guy
@the_proton_guy 3 ай бұрын
You’re welcome!
@kiraisonline
@kiraisonline Жыл бұрын
You're the best teacher I never had in school lol. Straight to the point. It was a big help for my first Django project. I had a question: How would you set up CI/CD?
@the_proton_guy
@the_proton_guy Жыл бұрын
Thank you for the kind words! If you wanted to setup CI/CD, you would have to create a pipeline on aws that handles that. I will probably make a tutorial on that very soon
@kiraisonline
@kiraisonline Жыл бұрын
@@the_proton_guy Awesome, I look forward to it! I'm so glad I found your channel, keep it up and thank you
@the_proton_guy
@the_proton_guy Жыл бұрын
Thank you 🥳
@ManfredBaraka
@ManfredBaraka 9 ай бұрын
Thanks alot bro! this made it easy for me🙏
@the_proton_guy
@the_proton_guy 9 ай бұрын
Glad I could help 🎉
@erasmocalzadilla8004
@erasmocalzadilla8004 3 ай бұрын
you helped me a lot
@the_proton_guy
@the_proton_guy 3 ай бұрын
I’m glad I could 🎉
@kaushiq847
@kaushiq847 3 ай бұрын
great video..thanks
@the_proton_guy
@the_proton_guy 3 ай бұрын
You’re welcome
@WebdoxComputerInstituteJal
@WebdoxComputerInstituteJal 8 ай бұрын
Why you haven't exposed port 80 and 443 for proper deployment?
@pythonN00b665
@pythonN00b665 9 ай бұрын
Actually worked, Thank you
@the_proton_guy
@the_proton_guy 9 ай бұрын
Glad I could help 🎉
@nishant4171
@nishant4171 5 ай бұрын
Thank You so much!
@the_proton_guy
@the_proton_guy 5 ай бұрын
You’re welcome! 🎉
@LearningSpectrums
@LearningSpectrums 2 ай бұрын
Thank you for this video, i will like to know if this method still work... thank you once again.
@the_proton_guy
@the_proton_guy 2 ай бұрын
Yea it does
@JoseColonRamirez
@JoseColonRamirez Жыл бұрын
Thank you. it helped me a lot. Saludos
@the_proton_guy
@the_proton_guy Жыл бұрын
Glad I could help 🥳
@younussaberi8768
@younussaberi8768 9 ай бұрын
I was stucked at the security group part just had to expose 8000 port Thanks for the explanation :)
@the_proton_guy
@the_proton_guy 9 ай бұрын
Glad I could help 🎉
@austinhomolka
@austinhomolka 8 ай бұрын
Great video brother. Thank you.
@the_proton_guy
@the_proton_guy 8 ай бұрын
Thank you!
@arinzeigwegbe8555
@arinzeigwegbe8555 9 ай бұрын
what are the dependents you install using requirements.txt
@the_proton_guy
@the_proton_guy 9 ай бұрын
What do you mean? The required modules are in the requirements.txt file so we are installing from there
@ShazaAsem
@ShazaAsem 8 ай бұрын
how to we push new github update on that??
@the_proton_guy
@the_proton_guy 8 ай бұрын
You’ll need to setup a ci/cd pipeline
@apoorvachauhan9326
@apoorvachauhan9326 6 ай бұрын
When i disconnect EC2 instance connect, the address stops working. What is the solution to this?
@the_proton_guy
@the_proton_guy 6 ай бұрын
For this, you have to run your server in the background. To do this, run the following command: nohup python manage.py runserver 0.0.0.0:8000 &
@LearnincreationIndia
@LearnincreationIndia 5 ай бұрын
How to add custom domain in place of ip:8000
@the_proton_guy
@the_proton_guy 5 ай бұрын
Change dns settings
@mujammilmaldar7693
@mujammilmaldar7693 9 ай бұрын
Sir my static files isnt displayed what should i do
@the_proton_guy
@the_proton_guy 9 ай бұрын
Did you make use of whitenoise? In order to make sure static files are displayed, watch the video below where I explain how to set up static files in production: kzbin.info/www/bejne/hZbcqJqDdtd0fa8
@vivekkolambe5303
@vivekkolambe5303 11 ай бұрын
Ans what about the staticfiles ?
@the_proton_guy
@the_proton_guy 11 ай бұрын
Check this video out where I explain how to serve Django websites in production: kzbin.info/www/bejne/hZbcqJqDdtd0fa8si=ijy3_nhglI5xCOTU
@toddgilbey3979
@toddgilbey3979 10 ай бұрын
Great tutorial, however, seeing as you're now in production why have you not set debug = false in your settings.py file? Much appreciated.
@the_proton_guy
@the_proton_guy 10 ай бұрын
Thank you! I didn’t set debug to false because i was just using it as a test project for deployment. Obviously for a serious project, I would set debug to false.
@toddgilbey3979
@toddgilbey3979 10 ай бұрын
@@the_proton_guy🙏👍
@Priya-lf5vw
@Priya-lf5vw 10 ай бұрын
When I have added an inbound rule. After when I i refresh I am getting "This site can't provide a secure connection". How to resolve it?
@yomi-olashalom248
@yomi-olashalom248 9 ай бұрын
I deployed an e-commerce app, but now I can't see any of the products, how do i fix this?
@the_proton_guy
@the_proton_guy 9 ай бұрын
You can’t see any product? Is your database present?
@InesDahoumane
@InesDahoumane 7 ай бұрын
i use windows what i should do ?
@the_proton_guy
@the_proton_guy 7 ай бұрын
You picked a windows os on the EC2 instance?
@InesDahoumane
@InesDahoumane 7 ай бұрын
​@@the_proton_guy yes but when i connect icouldnt find EC2 Instance Connect there is just Session Manager RDP client EC2 serial console and show this "Connect to your instance i-051622d749498a722 (server1) using any of these options " i really need help its for my final year project please help me
@InesDahoumane
@InesDahoumane 7 ай бұрын
​@@the_proton_guy yes i did but when i connect i could'nt find EC2 Instance Connect i only find Session Manager RDP client EC2 serial console and there is error message SSM Agent is not online The SSM Agent was unable to connect to a Systems Manager endpoint to register itself with the service. please help me its for my final year project i really need help can i contact you on instagram or ur email please
@vivekkolambe5303
@vivekkolambe5303 11 ай бұрын
I wouldn't be charged right even if i keep the server running
@the_proton_guy
@the_proton_guy 11 ай бұрын
Perhaps
@vivekkolambe5303
@vivekkolambe5303 11 ай бұрын
OK thanks then i must delete the instance ig
@the_proton_guy
@the_proton_guy 11 ай бұрын
@vivekkolambe5303 yes, you should
@AdeleyeAdeola-r2b
@AdeleyeAdeola-r2b 6 ай бұрын
Please how do i get the requirements
@the_proton_guy
@the_proton_guy 6 ай бұрын
Requirements file?
@muskankataria2103
@muskankataria2103 10 ай бұрын
Will this also store data in aws only?
@the_proton_guy
@the_proton_guy 10 ай бұрын
Yes you can store your data on aws but you need to create a database, but data also gets saved by default to your SQLlite database in your projects folder.
@owelpatrick5408
@owelpatrick5408 Жыл бұрын
i want it in cicd through github
@the_proton_guy
@the_proton_guy Жыл бұрын
Coming up today 🫡
@wlqpqpqlqmwnhssisjw6055
@wlqpqpqlqmwnhssisjw6055 7 ай бұрын
where are you from?
@the_proton_guy
@the_proton_guy 7 ай бұрын
Nigeria
@owelpatrick5408
@owelpatrick5408 Жыл бұрын
what you just showed stops the moment you stop running the server. that is not real development
@the_proton_guy
@the_proton_guy Жыл бұрын
You should have asked instead if there is a way to run it in the background, and yes there is a way
@the_proton_guy
@the_proton_guy Жыл бұрын
to keep it running, run the following: nohup python3 manage.py runserver 0.0.0.0:8000 & This will emsure that even after you close the tab, your server keeps running
@sundayothniel130
@sundayothniel130 Жыл бұрын
Good evening to you, I would love to contact you. Please how can I contact you?
@the_proton_guy
@the_proton_guy Жыл бұрын
Good evening! You can send me a message on Instagram. My username is the_proton_guy
@sundayothniel130
@sundayothniel130 Жыл бұрын
@@the_proton_guy I've sent you a message.
@sundayothniel130
@sundayothniel130 Жыл бұрын
@@the_proton_guy big thanks to you,
@vilsek
@vilsek Жыл бұрын
Bro you are the best ,really much love ❤❤😭😭🫧🫧🫧
@the_proton_guy
@the_proton_guy Жыл бұрын
Glad I could help 🥳
9 - How to Deploy Django Project To Heroku | Easiest Way! | 2024
17:25
Deploy a Django web app on Amazon EC2
21:47
Cloud With Django
Рет қаралды 104 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Deploy a Django web app with Nginx to Amazon EC2
35:26
Cloud With Django
Рет қаралды 46 М.
Deploy a Django web app to Python Anywhere in 5 Mins [FREE]
9:26
Deploy a Django web app to Vercel [FREE]
18:21
Cloud With Django
Рет қаралды 89 М.
AWS EC2 Instance types Explained | AWS SAA C03
8:51
Cloud Champ
Рет қаралды 4,1 М.
The 4 best ways to deploy a Django application
7:01
London App Developer
Рет қаралды 124 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН