Тёмный

Deploy a Django Web App to Amazon EC2 Instance | 2024 

THE PROTON GUY
Подписаться 2,1 тыс.
Просмотров 10 тыс.
50% 1

Welcome to my step-by-step tutorial on deploying a Django application to Amazon EC2! 🚀 In this guide, I'll walk you through the entire process of setting up an Amazon EC2 instance, configuring the necessary environments, and deploying a robust or small Django project seamlessly. Whether you're a beginner looking to host your first web application or a seasoned developer wanting to streamline your deployment process on AWS, this tutorial has got you covered.
If you found this tutorial helpful, don't forget to hit the 👍 button, share with your peers, and subscribe for more tech tutorials. Drop any questions or challenges you encountered in the comments, and I'll do my best to assist! Happy coding and deploying! 💻🌐
******* Socials *******
Discord: / discord
Patreon: / theprotonguy
Linkedin: / ayodeji-adesola-15392a22b
Instagram: / the_proton_guy
Telegram channel: t.me/sO6ZFOaiaMszYzI0
Twitter: / ayodejiadesola_
#Django#AmazonEC2#django #WebDeployment

Наука

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

 

9 сен 2023

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 57   
@Lifewithade2003
@Lifewithade2003 9 месяцев назад
Wow! This was so helpful
@user-uo3nq3hp7b
@user-uo3nq3hp7b 3 месяца назад
Thanks alot bro! this made it easy for me🙏
@the_proton_guy
@the_proton_guy 3 месяца назад
Glad I could help 🎉
@pythonN00b665
@pythonN00b665 3 месяца назад
Actually worked, Thank you
@the_proton_guy
@the_proton_guy 3 месяца назад
Glad I could help 🎉
@austinhomolka
@austinhomolka 2 месяца назад
Great video brother. Thank you.
@the_proton_guy
@the_proton_guy 2 месяца назад
Thank you!
@kiraisonline
@kiraisonline 9 месяцев назад
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 9 месяцев назад
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 9 месяцев назад
@@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 9 месяцев назад
Thank you 🥳
@user-bb3ih7ys6j
@user-bb3ih7ys6j 9 месяцев назад
Thank you. it helped me a lot. Saludos
@the_proton_guy
@the_proton_guy 9 месяцев назад
Glad I could help 🥳
@younussaberi8768
@younussaberi8768 3 месяца назад
I was stucked at the security group part just had to expose 8000 port Thanks for the explanation :)
@the_proton_guy
@the_proton_guy 3 месяца назад
Glad I could help 🎉
@jskoder
@jskoder 2 месяца назад
Why you haven't exposed port 80 and 443 for proper deployment?
@Priya-lf5vw
@Priya-lf5vw 4 месяца назад
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?
@toddgilbey3979
@toddgilbey3979 3 месяца назад
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 3 месяца назад
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 3 месяца назад
@@the_proton_guy🙏👍
@josephs8912
@josephs8912 Месяц назад
Thank you for this video. i will like to know if the deployment is all for free or it's paid. Thank you once again
@the_proton_guy
@the_proton_guy Месяц назад
If you web app starts using too much resources, you could be charged so it’s important to check it once in a while but for the most part it’s free
@yomi-olashalom248
@yomi-olashalom248 2 месяца назад
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 2 месяца назад
You can’t see any product? Is your database present?
@arinzeigwegbe8555
@arinzeigwegbe8555 2 месяца назад
what are the dependents you install using requirements.txt
@the_proton_guy
@the_proton_guy 2 месяца назад
What do you mean? The required modules are in the requirements.txt file so we are installing from there
@ShazaAsem
@ShazaAsem Месяц назад
how to we push new github update on that??
@the_proton_guy
@the_proton_guy Месяц назад
You’ll need to setup a ci/cd pipeline
@muskankataria2103
@muskankataria2103 4 месяца назад
Will this also store data in aws only?
@the_proton_guy
@the_proton_guy 4 месяца назад
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.
@mujammilmaldar7693
@mujammilmaldar7693 2 месяца назад
Sir my static files isnt displayed what should i do
@the_proton_guy
@the_proton_guy 2 месяца назад
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: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-OeywgMArAGM.html
@vivekkolambe5303
@vivekkolambe5303 5 месяцев назад
I wouldn't be charged right even if i keep the server running
@the_proton_guy
@the_proton_guy 5 месяцев назад
Perhaps
@vivekkolambe5303
@vivekkolambe5303 5 месяцев назад
OK thanks then i must delete the instance ig
@the_proton_guy
@the_proton_guy 5 месяцев назад
@vivekkolambe5303 yes, you should
@user-vl3pz3ss4g
@user-vl3pz3ss4g 19 дней назад
Please how do i get the requirements
@the_proton_guy
@the_proton_guy 19 дней назад
Requirements file?
@vivekkolambe5303
@vivekkolambe5303 5 месяцев назад
Ans what about the staticfiles ?
@the_proton_guy
@the_proton_guy 5 месяцев назад
Check this video out where I explain how to serve Django websites in production: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-OeywgMArAGM.htmlsi=ijy3_nhglI5xCOTU
@user-wl5vi5cn1s
@user-wl5vi5cn1s Месяц назад
i use windows what i should do ?
@the_proton_guy
@the_proton_guy Месяц назад
You picked a windows os on the EC2 instance?
@user-wl5vi5cn1s
@user-wl5vi5cn1s Месяц назад
​@@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
@user-wl5vi5cn1s
@user-wl5vi5cn1s Месяц назад
​@@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
@owelpatrick5408
@owelpatrick5408 8 месяцев назад
i want it in cicd through github
@the_proton_guy
@the_proton_guy 8 месяцев назад
Coming up today 🫡
@wlqpqpqlqmwnhssisjw6055
@wlqpqpqlqmwnhssisjw6055 Месяц назад
where are you from?
@the_proton_guy
@the_proton_guy Месяц назад
Nigeria
@owelpatrick5408
@owelpatrick5408 8 месяцев назад
what you just showed stops the moment you stop running the server. that is not real development
@the_proton_guy
@the_proton_guy 8 месяцев назад
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 8 месяцев назад
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 9 месяцев назад
Good evening to you, I would love to contact you. Please how can I contact you?
@the_proton_guy
@the_proton_guy 9 месяцев назад
Good evening! You can send me a message on Instagram. My username is the_proton_guy
@sundayothniel130
@sundayothniel130 9 месяцев назад
@@the_proton_guy I've sent you a message.
@sundayothniel130
@sundayothniel130 9 месяцев назад
@@the_proton_guy big thanks to you,
@vilsek
@vilsek 9 месяцев назад
Bro you are the best ,really much love ❤❤😭😭🫧🫧🫧
@the_proton_guy
@the_proton_guy 9 месяцев назад
Glad I could help 🥳
Далее
Deploy a Django web app with Nginx to Amazon EC2
35:26
Deploy Django on AWS EC2 Beginners Tutorial
34:39
Просмотров 6 тыс.
How To Deploy A Django App To AWS In 5 Minutes
7:55
Просмотров 15 тыс.
Deploy a Django web app to Vercel [FREE]
18:21
Просмотров 66 тыс.
Deploy Django Web App on AWS EC2.
16:33
Просмотров 3,7 тыс.
Deploy a Django web app to Python Anywhere [FREE]
19:04
Mac Studio из Китая 😈
0:34
Просмотров 166 тыс.
XIAOMI для настоящих МУЖИКОВ!
0:34
Просмотров 328 тыс.
Собери ПК и Получи 10,000₽
1:00
Просмотров 1,8 млн