Questions about the mechanism to build image resizing on AWS

There are two ways to achieve this:

  1. Using Serverless Image Handler [1] which uses serverless architecture is also cost-effective solution for image processing in AWS Cloud [2]. This architecture [3] combines AWS services like CloudFront, Lambda, S3, API Gateway, Secrets Manager and Rekognition along with Sharp which is an open-source image processing software. This solution can be deployed directly in minutes by using the implementation guide [4] which uses a Cloud Formation template. You can also refer to the GitHub repository [5] of this application for better understanding. You can refer to the screenshot (DemoApplication.jpg) attached to get an overview of what parameters of the image can be processed at your end. The cost estimate for this application can be found at the link provided in the references [6]. I trust this solution is well suited for your requirements, is cost effective and quite advanced.

  2. I can see that the solution provided by you [7] which uses a combination of AWS services like Lambda, API Gateway, S3 along with Sharp (open source image processing software) can also be used. I checked the GitHub repository and is archived but you can follow the directions mentioned in the article to manually create the required resources.

References:

[1] Serverless Image Handler – https://aws.amazon.com/solutions/implementations/serverless-image-handler/
[2]
Serverless architecture for cost-effective image processing – https://docs.aws.amazon.com/solutions/latest/serverless-image-handler/welcome.html
[3]
Serverless Image Handler Architecture overview – https://docs.aws.amazon.com/solutions/latest/serverless-image-handler/overview.html
[4]
Serverless Image Handler Automated deployment – https://docs.aws.amazon.com/solutions/latest/serverless-image-handler/deployment.html
[5]
Serverless Image Handler GitHub Repository – https://github.com/aws-solutions/serverless-image-handler
[6]
Serverless Image Handler Cost – https://docs.aws.amazon.com/solutions/latest/serverless-image-handler/cost.html
[7]
Resize Images on the Fly with Amazon S3, AWS Lambda, and Amazon API Gateway – https://aws.amazon.com/blogs/compute/resize-images-on-the-fly-with-amazon-s3-aws-lambda-and-amazon-api-gateway/

More resource:
Tutorial: Using an Amazon S3 trigger to create thumbnail images
https://docs.aws.amazon.com/lambda/latest/dg/with-s3-tutorial.html#with-s3-tutorial-create-function-code