This video is available to students only

Deploy your project securely

Into your secure VPC

We'll use the same process as before, but now we'll deploy our AWS Lambda instances into the VPC we've created.

Configure zappa_settings.json#

Open the zappa_settings.json file and add the id for each of the private subnets:

Configure the Django settings#

Then configure the DATABASE parameter with RDS instance credential information.

Deploy#

Run the deploy command.

Update Django#

We'll need to make a number of changes to our Django settings.py file. We've made all these changes in the previous modules, so we'll just mention them here as they were fully explained:

 

This page is a preview of Serverless Django with Zappa

Start a new discussion. All notification go to the author.