Deploying the application with Zappa

Now we have got to a very interesting section of the chapter. We are going to deploy the Flask app that we created using a tool called Zappa (https://github.com/Miserlou/Zappa). Zappa is a tool developed in Python (by Rich Jones, the principal author of Zappa) that makes it very easy to build and deploy serverless Python applications.

The installation is pretty straightforward. Within the virtual environment that we have been using to develop this project, you can just run the pipenv command:

pipenv install zappa

After the installation, you can start the configuration. You just need to make sure that you have a valid AWS account and the AWS credentials file is in place. If you followed this chapter from ...

Get Python Programming Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.