A logistics company needs to run a short database cleanup script every hour. The script takes approximately two minutes to execute. The company wants to implement this solution with the lowest possible operational overhead and pay only for the exact duration that the script runs.
Which AWS compute service should the company use to meet these requirements?
- AAmazon Elastic Container Service (Amazon ECS) on Amazon EC2 instances
- AWS LambdaCevap
- CAmazon EC2
- DAWS Lightsail
Cevap
AWS Lambda
AWS Lambda is a serverless compute service that runs code in response to triggers and manages the underlying resources. It charges only for the active run time of the script, satisfying the requirements of lowest operational overhead and paying only for the duration the script runs.
Adım Adım Çözüm
Anahtar Kavram
Selecting the appropriate AWS compute service based on integration, scale, operational overhead, and cost model.