A legal services company is implementing a serverless worker that compiles large case files into a single PDF document. The compilation process is CPU-intensive and typically runs for 11 to 14 minutes per request. The company wants a fully managed serverless compute option that scales to zero to minimize costs during periods of inactivity, and they want to avoid the administrative overhead of managing underlying container clusters or virtual machines. Which Azure service should you select to meet these requirements?
- AAzure Functions on a Consumption plan
- Azure Container Apps JobsAnswer
- CAzure Kubernetes Service (AKS) cluster
- DAzure Virtual Machines using Spot Instances
Answer
Azure Container Apps Jobs
Azure Container Apps Jobs are ideal for run-to-completion tasks that require containerized environments without the complexity of AKS. They support execution times beyond 10 minutes, trigger dynamically on events or schedules, scale to zero when idle to save costs, and are fully managed by Azure.
Step-by-Step Solution
Key Concept
Selecting serverless hosting options based on execution limits and management overhead constraints.