Question: A company needs to run a short script each time a new item is added to an Amazon S 3 bucket. Which compute option meets

A company needs to run a short script each time a new item is added to an Amazon S3
bucket. Which compute option meets the need with the least amount of resource
provisioning?
Set up the script to run in a container, and deploy the container on Amazon Elastic
Container Service (Amazon ECS).
Set up a small Amazon EC2 instance that runs code to check for new uploads to the
bucket and runs the script.
Create an AWS Lambda function to run the script whenever a new item is added to
the bucket.
Write a batch job to run the script on all new items overnight when there's less
competition for resources. Run the batch job on Spot Instances.
 A company needs to run a short script each time a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!