July 2018
Intermediate to advanced
324 pages
8h 14m
English
Zappa does consider the build package size while processing for deployment. Zappa only supports two code entry types, which are Upload a .ZIP file directly on AWS Lambda and Upload a .ZIP file on Amazon S3.
By default, Zappa uploads the build package on AWS Lambda, but in the case of deploying a large-sized project, Zappa provides a "slim_handler" attribute to set in Zappa's settings file, as mentioned in the following code snippet of the zappa_settings.json file:
{ "dev": { ... "slim_handler": true/false ... }}
Set "slim_handler" to true in case the project size is more than 50 MB. Once you set this attribute, Zappa will automatically upload the build package to the Amazon S3 bucket and will configure ...
Read now
Unlock full access