https://github.com/jzabala/serverless-image-optimizer
Demonstration about how to create an image resizer/optimizer with Lambda and S3
https://github.com/jzabala/serverless-image-optimizer
Last synced: 27 days ago
JSON representation
Demonstration about how to create an image resizer/optimizer with Lambda and S3
- Host: GitHub
- URL: https://github.com/jzabala/serverless-image-optimizer
- Owner: jzabala
- Created: 2018-11-20T02:33:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-20T20:46:46.000Z (over 6 years ago)
- Last Synced: 2025-05-05T22:57:11.078Z (27 days ago)
- Language: JavaScript
- Size: 34.2 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://www.docker.com/get-started) and the [Serverless Framework](https://serverless.com/)
Step 2: Go to the file `serverless.yml` and replace _\${YOUR-BUCKET-NAME-HERE}_ with your bucket name.
Step 3: Run the following commands:
```
yarndocker 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](https://medium.com/@johnny02/building-an-image-resizer-optimizer-with-lambda-and-s3-35239b571c32).