QuestionQ42

VerifiedDesign Resilient Architectures

A social media company wants to let its users upload images in an application hosted in the AWS Cloud. The company needs a solution that automatically resizes the images so they can be displayed on multiple device types. The application has unpredictable traffic patterns throughout the day. The company wants a highly available solution that maximizes scalability.

What should a solutions architect do to meet these requirements?

Explanation

A serverless design with Amazon S3 and AWS Lambda best fits automatic image resizing under unpredictable demand because Lambda can be invoked by Amazon S3 events and scales automatically without managing servers. Amazon S3 provides durable, highly available object storage for the original and resized images. This is the standard AWS event-driven pattern for image processing, whereas EC2-based solutions require instance management and do not maximize elasticity, and Amazon RDS is not an appropriate destination for image objects. Official AWS documentation describes S3 as an event source for Lambda and AWS guidance shows image optimization and resizing architectures built from Amazon S3 and AWS Lambda.

Learn more

Community Discussion

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