Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Announcing zipdeploy integration with Run From Package #110
Update 9/10/2018: this feature is now GA. You can find the official documentation here: https://docs.microsoft.com/en-us/azure/azure-functions/run-functions-from-deployment-package
Note: everything described here applies equally to Web Apps and Function Apps. It applies to App Service on Windows, but not on Linux
Also, note that Run From Package was initially called Run-From-Zip.
Two different technologies are now able to work together to support a simple deployment workflow. Let's start by summarizing each technology independently. They both have 'zip' in their name, which can lead to confusion. So it's crucial to have a good understanding of each before diving into how they work together.
Check out this short video which demonstrates what is described below.
zipdeploy: a deployment API that takes a zip file and deploys it to your App
The feature is described here and here. It's a simple API take takes in a vanilla zip file, and deploys its content to the
The easiest way to try this feature is to go to choose Tools / Zip Push Deploy in Kudu, and simply drag and drop your zip file onto the UI.
Run From Package: a runtime feature that allows 'mounting' a zip file and running directly from it
See the earlier announcement. In particular, we are focusing here on the flavor where the zip file is uploaded to the site (as opposed to using a storage account).
The way this works is:
And now your App runs directly over the 'mounted' zip file, which completely takes over your
How zipdeploy and Run From Package come together
The integration between the two is very natural:
The beauty here is that from a deployment standpoint, you are calling the exact same
Please give this a try and send us feedback.