Building Serverless Python Web Services with Zappa
上QQ阅读APP看书,第一时间看更新

Undeploy

If you wanted to remove your deployed application completely, then you simply use the following command:

$ zappa undeploy production

This will remove the published AWS Lambda and API Gateway. If you want the logs related to your application from AWS CloudWatch, then you simply pass the argument along with the preceding command, as shown here:

$ zappa undeploy production --remove-logs

This will purge the logs from AWS CloudWatch.