What does this AWS Solutions Implementation do?

The Serverless Image Handler solution combines highly available, trusted AWS services and the open source image processing suite Sharp to enable fast and cost-effective image manipulation in the AWS Cloud. The solution automatically deploys and configures a serverless architecture optimized for dynamic image manipulation. It uses Amazon CloudFront for global content delivery and Amazon Simple Storage Service (Amazon S3) for reliable and durable cloud storage at a low cost.

The latest version of the solution uses the most up-to-date Node.js runtime. Version 4.x uses the Node.js 8.10 runtime, which reached end-of-life on December 31, 2019. To upgrade to version 5.0, you must deploy the solution as a new stack. For more information, refer to the implementation guide.

AWS Solutions Implementation overview

AWS offers a simple solution that automatically deploys and configures a serverless architecture that is optimized for dynamic image manipulation. The diagram below presents the Serverless Image Handler architecture you can deploy in minutes using the solution's implementation guide and accompanying AWS CloudFormation template.

Serverless Image Handler | Architecture Diagram
 Click to enlarge

Serverless Image Handler architecture

AWS Lambda retrieves images from your Amazon Simple Storage Service (Amazon S3) bucket and uses Sharp to return a modified version of the image to the Amazon API Gateway. The solution generates a Amazon CloudFront domain name that provides cached access to the image handler API.

Additionally, the solution deploys an optional demo user interface where you can interact directly with your image handler API endpoint using image files that already exist in your account. The demo UI is deployed in an Amazon S3 bucket to allow customers to immediately start manipulating images with a simple web interface. CloudFront is used to restrict access to the solution’s website bucket contents.

Serverless Image Handler

Version 5.0
Last updated: 08/2020
Author: AWS

Estimated deployment time: 15 min

Use the button below to subscribe to solution updates.

Note: To subscribe to RSS updates, you must have an RSS plug-in enabled for the browser you are using.  

Features

Serverless Image Handler reference implementation

Automatically build a serverless architecture that is optimized for dynamic image manipulation in the AWS Cloud.

Smart cropping

Crop images using the facial recognition capabilities of Amazon Rekognition.

Web interface

Deploy a simple web interface where you can interact directly with your image handler API endpoint using image files that already exist in your account.
Build icon
Deploy a Solution yourself

Browse our library of AWS Solutions Implementations to get answers to common architectural problems.

Learn more 
Find an APN partner
Find an APN Partner

Find AWS certified consulting and technology partners to help you get started.

Learn more 
Explore icon
Explore Solutions Consulting Offers

Browse our portfolio of Consulting Offers to get AWS-vetted help with solution deployment.

Learn more