A developer wants to run a background script that automatically resizes photos whenever they are uploaded to an Amazon S3 bucket. The script executes in less than ten seconds and does not run continuously. The developer wants to avoid provisioning or managing any virtual machines. Which AWS compute service should be used to meet these requirements?
- AWS LambdaCevap
- BAmazon EC2
- CAWS Fargate
- DAmazon Lightsail
Cevap
AWS Lambda
AWS Lambda is a serverless compute service that runs code in response to events, such as an object upload to an Amazon S3 bucket. It automatically runs and scales the code, billing only for the exact compute time consumed (milliseconds), and requires no virtual machine provisioning or operating system maintenance.
Adım Adım Çözüm
Anahtar Kavram
AWS Lambda is a serverless compute service designed to run code in response to triggers and events without provisioning or managing servers.