QuestionQ57

Deployment, Provisioning, and Automation

A company produces hundreds of images and uploads them to an Amazon S3 bucket. The company manually copies the images to an always-on Amazon EC2 instance for processing. Processing each image typically takes between 30 seconds and 120 seconds.

A CloudOps engineer wants to automate the image-processing solution so that images are processed as soon as they arrive in the S3 bucket.

Which solution will meet these requirements MOST cost-effectively?

Explanation

Amazon S3 can invoke an AWS Lambda function for object-created events, and Lambda runs custom code only in response to those events. A 30–120 second processing duration is suitable for Lambda, so the direct event-driven design eliminates the need to keep EC2 capacity running continuously.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!