In this tutorial we deploy Django with Zappa to take advantage of the AWS Lambda and API Gateway This is an introductory tutorial where you will deploy a new Django application via Zappa as a proof of concept deployment.
00:00 Introduction
02:20 General/Brief overview of AWS services and Zappa
07:12 Start new Django Project
07:32 AWS – Signup and create new IAM user + Download Access Keys
10:24 Install Zappa
12:35 Create AWS configuration file
15:11 Set user permissions
20:38 Deploy with Zappa
25:34 Troubleshooting Zappa
27:58 Configure allowed hosts
28:16 Deployed
Code Repository:
https://github.com/veryacademy/YT-Django-Serverless-Deploy-Zappa-v1
đSUBSCRIBE to get more free tutorials, courses and code snippets!
http://www.youtube.com/channel/UC1mxuk7tuQT2D0qTMgKji3w?sub_confirmation=1
đđFollow us on Facebook
https://www.facebook.com/Veryacademycom-113232103670580/
đđđFollow use on Twitter:
Tweets by VeryAcademy
source
Do I need to install AWS CLI on my windows machine in order to Create AWS configuration file ..?
Thankyou so much It helped me a lot.
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.
Note: As of now Zappa is DEPRECATED.
Getting an error :
AttributeError: 'Template' object has no attribute 'add_description'
Can anyone help. Happened when I deployed
Please update the IAM permissions.
Lambda charged me costs that i did not expected during this
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!
Thank you! Interesting video, but it would be nice to follow with two topics in next video:
1. RDS databases (e.g. postgresql) connection (with proper VPC settings)
2. Calling external services from AWS Lambda (e.g. google geocoding, email sending via gmail etc.) – it is also VPC settings issue
A great tutorial. I deployed my first Django app on Lamba, but I cannot point my domain bought from Amazon to my Lamba project.
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 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.
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
how can we scale this APIs?
Just needed to do this at work past week, thank you!
It seems serverless is more expensive, there are hidden costs apparently from what I read.
Terraform
CI/CD with Jenkins
Kindly include in your timeline Thank you.
Sir you nvr sleeps… Good work đ. Is it possible to convert an ordinary deployed django project to DRF swiftly ?
Very soon we reach one hundred thousand
views đđģđđģđđģđđģ