You are designing an Azure Function App that will host critical HTTP-triggered APIs. The APIs must securely access an Azure SQL Database that is restricted to a private virtual network. To ensure optimal performance, the Function App must scale out dynamically to handle traffic spikes while avoiding cold-start latency. Which hosting plan should you configure for the Function App?
- Premium planCevap
- BConsumption plan
- CDedicated (App Service) plan
- DIsolated (App Service Environment) plan
Cevap
Premium plan
The Premium plan (often called Elastic Premium) supports regional virtual network integration, enabling the Function App to securely connect to private databases. Additionally, it supports pre-warmed instances, which guarantees that new instances are already initialized and ready to process requests, thereby avoiding cold-start latency during scaling.
Adım Adım Çözüm
Anahtar Kavram
Azure Functions hosting plan selection based on networking and cold-start requirements