Django deploy - Zappa onto AWS Lambda + API Gateway

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

Very Academy

Very Academy

Күн бұрын

Пікірлер: 46
@sunnypawar01
@sunnypawar01 3 ай бұрын
This is a 3 years old video, but still helped me a lot. I am very new to Python but I could deploy my first Python application on cloud in first attempt with help of this video. Great Video, Thank you so much !!!
@valentim-aires
@valentim-aires 4 жыл бұрын
Just needed to do this at work past week, thank you!
@veryacademy
@veryacademy 4 жыл бұрын
Hey João, thank you for sharing, and would be interesting to know what type of project you are moving to serverless and the setup/tools you are using.
@chandramohan4375
@chandramohan4375 3 жыл бұрын
@veryacademy this is the tutorial i was looking up for long time and i finally found out here!!! Teaching of your's is simple and to the point . I hope to see more videos from you of AWS services being integrated with the Django app(DynamoDB, API Gateway, SQS, SNS..etc). Great work. Thanks.
@veryacademy
@veryacademy 3 жыл бұрын
Thank you - I do plan to cover more in the future for sure!
@afaf6478
@afaf6478 4 жыл бұрын
Love your channel dude! I started learning django recently and so many of your videos seem to answer a lot of the questions I have. I would love to see to how to setup CI/CD for dajngo+zappa app. Keep up the good work! One thing that all the django tutorials are missing are philosophy/workflow of django. I mean the process of adding features to an app. Something like this: 1. make an app 2. create a model in app/models.py 3. migrate 4. create a view in app/views.py 5. make a template in app/templates/app 6. add the view and template to app/urls.py etc. Could you make a video on this topic? As a beginner I would really like to have this workflow written down somewhere so that I know the steps
@veryacademy
@veryacademy 4 жыл бұрын
Thank you!!! Nice suggestion! Its a nice quick one I can make so I am all over that! CI/CD - that is a common theme coming from a few now so I will take note and put something in action shortly. 👍
@afaf6478
@afaf6478 4 жыл бұрын
@@veryacademy CI/CD is something that everybody talks about but beginners don't know where to even begin. Maybe a short video with a study plan/resources on CI/CD would be a good start because it just seems like a very complex subject.
@joelmaldonado2315
@joelmaldonado2315 2 жыл бұрын
@@veryacademy yes please. We love your videos. Really helpful. we need this video about CI/CD, RDS and email..
@KrishnaManohar8021
@KrishnaManohar8021 4 жыл бұрын
Terraform CI/CD with Jenkins Kindly include in your timeline Thank you.
@veryacademy
@veryacademy 4 жыл бұрын
Noted - thank you
@bela123451
@bela123451 Жыл бұрын
Wow, finally good zappa tutorial!
@pbwneeddd
@pbwneeddd 3 жыл бұрын
A great tutorial. I deployed my first Django app on Lamba, but I cannot point my domain bought from Amazon to my Lamba project.
@veryacademy
@veryacademy 3 жыл бұрын
have you tried aws amplify
@sivakeshcr
@sivakeshcr 3 жыл бұрын
Getting an error : AttributeError: 'Template' object has no attribute 'add_description' Can anyone help. Happened when I deployed
@veryacademy
@veryacademy 3 жыл бұрын
Hmm maybe gitmemory.com/issue/zappa/Zappa/1016/887919998
@KrishnaManohar8021
@KrishnaManohar8021 4 жыл бұрын
Very soon we reach one hundred thousand views 👏🏻👏🏻👏🏻👏🏻
@veryacademy
@veryacademy 4 жыл бұрын
I doubt that is the case unfortunately. Django is a smaller community than say JS so this will be a slow developer for sure while we focus of Django. The numbers are good, everything is pointing upwards, I will share this type of info in the next dev update.
@paborlouise319
@paborlouise319 4 жыл бұрын
Sir you nvr sleeps... Good work 👍. Is it possible to convert an ordinary deployed django project to DRF swiftly ?
@veryacademy
@veryacademy 4 жыл бұрын
Hey Pabor, hope you are well. It can be moved across to DRF quickly, even better you can do a little at a time. Honestly I am on it all the time, not much content been coming out recently but I promise I am very busy working on things behind the scene. Not going anywhere that is for sure. As per normal the focus is on getting better content out there for you all.
@paborlouise319
@paborlouise319 4 жыл бұрын
@@veryacademy am good, thanks for asking. Am working on a mini ecommence project, I'm still setting up the front-end, I'll be moving to the back end (Django) very soon. But wanna use just Django for now, until when am ready to include a frontend framework (react). But I was worried it would cause a lot of stress.
@Curiousmindees
@Curiousmindees 2 жыл бұрын
Thankyou so much It helped me a lot.
@sharifahmed1925
@sharifahmed1925 3 жыл бұрын
Thanks for the tutorial :) I wanted to ask - How would I connect my app to a production based Database on AWS whilst using Zappa?
@veryacademy
@veryacademy 3 жыл бұрын
Hey, just need to configure the Django settings for the database, that would be a good start 👍
@sharifahmed1925
@sharifahmed1925 3 жыл бұрын
@@veryacademy managed to get it to work. Turns out it's not as simple as just adding the database config, you also have to add a new vpc and subnets when creating the db, which you have to add to the lambda function. Then you have to add the security group of the lamda function to the db's inbound rule. After all that, mysql just wasn't working so I switched to a postgres db which didn't work either. So I installed psycopg2-binary along with psycopg2. And voila! Not sure if this is the most correct way but it worked! Anyone found any issues using an aws aurora mysql db on zappa/Django apps?
@pemessh
@pemessh 2 жыл бұрын
This is the right way to do it. I was too lazy and had my RDS MySQL instance to have public access. However, I had to add inbound rules for all traffic + ipv4/ipv6 too for the security group that it was attached to.
@souravjamwal77
@souravjamwal77 2 жыл бұрын
As of now Zappa is revived, Shane (monkut) and team just released version 0.55.0
@ravi851000
@ravi851000 3 жыл бұрын
Hello, thanks for the video but am having a problem with SQLITE. I would like to use database and I want to upgrade sqlite3 to 3.9.0 or later. I tried upgrading it but nothing works. Please help me. Thank you.
@VivekKumarYT
@VivekKumarYT Жыл бұрын
Thank you for the Video, I have a question . what would be architecture advantages/disadvantages to deploy the Html, CSS etc file in S3 and Python code in Lambda vs everything in Lambda
@Scarhouari
@Scarhouari 4 күн бұрын
How can we deal with lambda size errors
@quan8361
@quan8361 5 ай бұрын
it can't deploy if I use psycopg2 to connect db
@sufyanansari6096
@sufyanansari6096 2 жыл бұрын
Do I need to install AWS CLI on my windows machine in order to Create AWS configuration file ..?
@Speaks4itself
@Speaks4itself 4 жыл бұрын
It seems serverless is more expensive, there are hidden costs apparently from what I read.
@veryacademy
@veryacademy 4 жыл бұрын
Hi WapEra, in some cases it can work out more expensive, but in general case there are cost savings to be had. Again its all about choosing the right tools for the job. 👍
@aada5121
@aada5121 Жыл бұрын
I connect aws mysql rds to django. it works fine in my local system but when i deploy using zappa i got this error ----------- Error: Warning! Status check on the deployed lambda failed. A GET request to '/' yielded a 502 response code --------------- do you know how to solve this ? the issue is only in the mysql when i use postgress it works fine
@villager_mundaa
@villager_mundaa 10 ай бұрын
Does this allows to run selenium scripts with django
@EdisonGPrietoG
@EdisonGPrietoG 3 жыл бұрын
Hi, I am having trouble with this because my project needs gis and GDAL for geographic locations, normally I would install this in the machine, but when deploying thru zappa, an error is raised. Is thera a way to work with GDAL that you migth knoww? thanks!
@veryacademy
@veryacademy 3 жыл бұрын
Sorry Edison, not this time.
@ardyubanos9226
@ardyubanos9226 3 жыл бұрын
Please update the IAM permissions.
@aminem5407
@aminem5407 3 жыл бұрын
Lambda charged me costs that i did not expected during this
@veryacademy
@veryacademy 3 жыл бұрын
Noted - thank you. Amazon may have made some changes since the tutorial was made.
@scootergirl3662
@scootergirl3662 2 жыл бұрын
For those looking at this later, lambda is free for 1 million runs I believe per month, but the resources that lambda spins up may not be
@KrishnaManohar8021
@KrishnaManohar8021 4 жыл бұрын
how can we scale this APIs?
@veryacademy
@veryacademy 4 жыл бұрын
Of course sir, this is AWS 👍
@mahender8029
@mahender8029 3 жыл бұрын
Note: As of now Zappa is DEPRECATED.
@siddheshdeshmukh7848
@siddheshdeshmukh7848 10 ай бұрын
Python 3.12 is not supported what can i do?
Django async HTTP requests with asyncio and aiohttp
20:32
Very Academy
Рет қаралды 22 М.
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 81 МЛН
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 45 МЛН
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
Docker - Django, Celery & Redis Docker Compose setup
20:29
Very Academy
Рет қаралды 44 М.
Deploy FastAPI on AWS Lambda ⚡ Serverless hosting!
22:24
pixegami
Рет қаралды 39 М.
How to Run a Python Docker Image on AWS Lambda
13:08
pixegami
Рет қаралды 33 М.
GO without SERVERS? How to Deploy Go to Lambda
15:47
Melkey
Рет қаралды 19 М.
Deploy Django - AWS Lightsail + SFTP + SSH Remote Connection
42:38
Very Academy
Рет қаралды 15 М.
Deploy Django projects to AWS lambda using Zappa and Github Action
42:31
Prepare a Django app for Deployment using Docker
39:10
London App Developer
Рет қаралды 89 М.
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 81 МЛН