A team of developers needs to execute a database migration script packaged inside a single container image. The script takes approximately five minutes to complete and runs once a week. The team wants a serverless hosting solution that starts the container immediately, runs it to completion, and stops billing as soon as the container exits, without the need to manage virtual machine infrastructure or deploy a container orchestrator. Which Azure service should the team select for this task?
- AAzure Kubernetes Service
- BAzure Virtual Machines
- Azure Container InstancesCevap
- DAzure App Service
Cevap
Azure Container Instances
Azure Container Instances is correct because it offers a serverless compute option to run containers on demand. It does not require managing underlying virtual machines or configuring complex orchestration, and it bills only for the duration the container runs (per-second billing), which perfectly aligns with the requirements of a 5-minute weekly script.
Adım Adım Çözüm
Anahtar Kavram
Azure Container Instances provides a serverless, low-overhead solution for running isolated, short-lived containers on demand with per-second billing.
Tahmini Süre:1m 0s