A digital publishing company is designing a serverless solution to generate quarterly PDF reports for subscribers. The report generation process runs on demand, takes approximately 12 to 15 minutes to compile each document, and requires a custom Linux environment with specific PDF compilation libraries. The workload is highly irregular, and the company wants to ensure that they do not pay for compute resources when no reports are being generated.
Which compute service should you recommend?
- Azure Container Apps JobsAnswer
- BAzure Functions on a Consumption plan
- CAzure Kubernetes Service (AKS) with virtual nodes
- DAzure App Service (Web App for Containers) on a Dedicated Premium v3 plan
Answer
Azure Container Apps Jobs
The correct option is Azure Container Apps Jobs because it supports running custom Linux container environments for run-to-completion tasks, scales to zero when no jobs are running to avoid idle costs, and does not have the 10-minute execution limit that affects Azure Functions on a Consumption plan.
Step-by-Step Solution
Key Concept
Azure serverless compute selection based on execution duration, custom dependencies, and cost constraints.