Update

If you have already deployed your application, then you are required to update your latest application code on AWS Lambda by simply using the following command:

$ zappa update production
.
.
.
Your updated Zappa deployment is live!: https://071h4br4e0.execute-api.ap-south-1.amazonaws.com/production

We can compare this to using zappa deploy, which only updates a few tasks. They are mentioned here:

  • It creates an archive ZIP with the latest application code; the local environment is a precompiled Lambda package
  • It uploads the archived ZIP on to AWS S3
  • It updates the AWS Lambda

That's it! We're done with updating the existing deployment, and it only took a couple of seconds.