What does this Amazon Web Services Solution do?

The Serverless Image Handler solution combines highly available, trusted Amazon Web Services services and the open source image processing suite Sharp to enable fast and cost-effective image manipulation on the Amazon Web Services (Ningxia) region operated by NWCD and Amazon Web Services (Beijing) region operated by Sinnet. The solution automatically deploys and configures a serverless architecture that is optimized for dynamic image manipulation, and uses Amazon CloudFront for global content delivery and Amazon Simple Storage Service (Amazon S3) for reliable and durable cloud storage at a low cost.

Amazon Web Services Solution overview

This solution offers a simple way to 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 Amazon CloudFormation template.

Architecture of Serverless Image Handler

Serverless Image Handler

Amazon 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 4.2
Last updated: 07/2020
Author: Amazon Web Services 

Estimated deployment time: 30 min

Source code 

Features

Serverless Image Handler reference implementation

Automatically build a serverless architecture that is optimized for dynamic image manipulation on the Amazon Web Services Cloud.

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.
Standard Product Icons (Features) Squid Ink
Explore all Amazon Web Services Solutions

Browse our portfolio of Amazon Web Services -built solutions to common architectural problems.

Learn more 
Next-Steps-Icon_Find-a-Partner-B
Find a Partner

Find Amazon Web Services certified consulting and technology partners to help you get started.

Learn more 
Standard Product Icons (Start Building) Squid Ink
Start building in the console

Sign-up and start exploring our services.

Get started