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
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 EC 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.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
