Skip to content

Demonstration about how to create an image resizer/optimizer with Lambda and S3

Notifications You must be signed in to change notification settings

jzabala/serverless-image-optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Image Optimizer

The purpose of this project is to demonstrate how to create a image resizer/optimizer with Lambda and S3.

Instructions

Step 1: Install Docker and the Serverless Framework

Step 2: Go to the file serverless.yml and replace ${YOUR-BUCKET-NAME-HERE} with your bucket name.

Step 3: Run the following commands:

yarn

docker run --rm -v $PWD:/var/task johnnyzabala/lambda:image-optimizer-build-nodejs8.10

sls deploy

Step 4: Enjoy 😎

For more details about this repo check this medium.

About

Demonstration about how to create an image resizer/optimizer with Lambda and S3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published