Django management command using Zappa

Zappa provides a feature to perform the Django's manage command operations on deployed Lamdba instances, directly from your Terminal console. With the help of zappa mange <stage_name> <manage-command>, you can execute and check the status of your Django application.

The following is a screenshot of the execution of this command:

 

There are some limitations though. It is only for Django's manage command to use, hence it's bound to Django projects only.

For passing any arguments, you can use the manage command in string format, such as:

$ zappa manage dev "migrate --fake-initial"

But it will not be useful ...

Get Building Serverless Python Web Services with Zappa 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.