Azure Functions are available in the following two different pricing models:
- Consumption plan: This plan is allocated and scaled dynamically and priced per function execution.
- App Service plan: This plan is priced on per node per hour basis, and thus offers predictable pricing. This plan offers auto-scaling options, but isn't as dynamic as the Consumption plan.
In most cases, the Consumption plan will be significantly cheaper than the App Service plan. However, when dealing with continuously running functions, it is usually cheaper to run under the App Service plan. In addition to that, as discussed in previous chapters, certain features (such as no function execution time limit, no cold startup latency, and ability to integrate with private networks), are only available under the App Service plan.
For all of the services used in our text sentiment...