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 !!!
@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.
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.
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.
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
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. 👍
@@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.
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
@@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?
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.
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!
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.
@@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.
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
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. 👍
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 !!!
Just needed to do this at work past week, thank you!
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.
@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.
Thank you - I do plan to cover more in the future for sure!
Wow, finally good zappa tutorial!
Terraform
CI/CD with Jenkins
Kindly include in your timeline Thank you.
Noted - thank you
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.
Getting an error :
AttributeError: 'Template' object has no attribute 'add_description'
Can anyone help. Happened when I deployed
Hmm maybe gitmemory.com/issue/zappa/Zappa/1016/887919998
Thankyou so much It helped me a lot.
Very soon we reach one hundred thousand
views 👏🏻👏🏻👏🏻👏🏻
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.
A great tutorial. I deployed my first Django app on Lamba, but I cannot point my domain bought from Amazon to my Lamba project.
have you tried aws amplify
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
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. 👍
@@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.
@@veryacademy yes please. We love your videos. Really helpful. we need this video about CI/CD, RDS and email..
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
Thanks for the tutorial :)
I wanted to ask - How would I connect my app to a production based Database on AWS whilst using Zappa?
Hey, just need to configure the Django settings for the database, that would be a good start 👍
@@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?
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.
Do I need to install AWS CLI on my windows machine in order to Create AWS configuration file ..?
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!
Sorry Edison, not this time.
Sir you nvr sleeps... Good work 👍. Is it possible to convert an ordinary deployed django project to DRF swiftly ?
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.
@@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.
As of now Zappa is revived, Shane (monkut) and team just released version 0.55.0
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
Does this allows to run selenium scripts with django
it can't deploy if I use psycopg2 to connect db
Python 3.12 is not supported what can i do?
Please update the IAM permissions.
It seems serverless is more expensive, there are hidden costs apparently from what I read.
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. 👍
how can we scale this APIs?
Of course sir, this is AWS 👍
Lambda charged me costs that i did not expected during this
Noted - thank you. Amazon may have made some changes since the tutorial was made.
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
Note: As of now Zappa is DEPRECATED.
How can we deal with lambda size errors