https://pulumi.com logo
Title
w

worried-knife-31967

05/03/2021, 12:56 PM
I'm looking at function app deployments, and there's a note on using the
WEBSITE_RUN_FROM_PACKAGE
method with windows app services:
When running a function app on Windows, the external URL option yields worse cold-start performance. When deploying your function app to Windows, you should set WEBSITE_RUN_FROM_PACKAGE to 1 and publish with zip deployment.
All the pulumi examples show this method. Is there anything within pulumi to publish in that way? I'm not sure "how" that works, but it seems like an important usecase for windows publishing.
t

tall-librarian-49374

05/03/2021, 1:08 PM
You can set it to 1 from Pulumi and publish your app outside Pulumi. Zip deployment isn’t part of ARM, so you’d need external tools (like the
func
CLI).
As far as I remember, this note was added because of my benchmarks more than a year ago. I think it’s not as relevant anymore https://mikhail.io/serverless/coldstarts/azure/#does-deployment-method-matter