Skip to content

iammuho/sony-bbs-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS LAMBDA DEMO APP

This demo LAMBDA app was coded in BBS Meting@Sony

Tech

  • NodeJs 4.0.3
  • ImageMagick Lib
  • Aws Lib

ImageMagick and Aws Lib was automaticaly deployed by AWS Lambda.

Version

0.0.1

Installation

  1. Clone this repo and zip all folder (like lambda.zip)
  2. Create an S3 Bucket and rename it whatever you want
  3. Create a folder like "images" in S3 Bucket
  4. Create a lambda function
  5. Skip template, upload the code.For Handler setting, give the "zipname.handler" ( i.e lambda.handler)
  6. Set memory 128 MB (In fact My code uses aroundly 80mb for CPU but minimum is 128)
  7. Set Timeout to 5 sec.
  8. And save it.
  9. Set eventsource to Object Created (ALL) from your s3 butcket. Source is "images/" and give suffix any unique image name with the extension: 'png', 'jpg', 'jpeg', 'gif'. (i.e : source : images/ suffix:_base.jpg)
  10. Go to s3/images and upload a file to trig your aws lambda.
  11. Thats All! Working..

Blogs

MuhammetArslan

WidiWiki

License

MIT

About

Image resizing AWS LAMBDA script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published