I am working in Azure functions and am on a consumption plan, I have some files that I need in the %temp% directory. What is the maximum size of folder allowed for it?
My files would be about 2GB if it means anything. I need them there because I have to perform some operation on them.
Guaranteed for up to 60 minutes.
Azure Functions consumption plan is billed based on per-second resource consumption and executions. Consumption plan pricing includes a monthly free grant of 1 million requests and 400,000 GB-s of resource consumption per month per subscription in pay-as-you-go pricing across all function apps in that subscription.
3 Answers. Attachments: Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.
With the Consumption plan, you do not have to worry about the dimension of your infrastructure, scaling, or pay when not utilizing any resources. For the App Service plan, however, you do need to allocate resources for your functions explicitly and pay for them regardless if you are running functions or not.
There is a 500MB limit on %temp% files in the Consumption plan. See here for more info.
And of course, avoid making assumptions on those files being there from one call to another. But they can be used for temporary storage within the execution of a request. Or potentially as a cache between requests, as long as you have a fall back if they're not there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With