Skip to content

taylorsmcclure/s3put-image-resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Image Resizing to Thumbnails

How to Use

  1. Follow AWS tutorial for basics.
  2. Create S3 bucket with images/ and thumbs/ directories.
  3. Enable Public list access to bucket.
  4. Create IAM Policy and Role for lambda to access bucket with list*, putObject, and putObjectAcl
  5. In repo use make dist
  6. Upload dist/function.zip to lambda and associate role with policy
  7. Add trigger in S3 for putObject to execute lambda