Running Serverless Chapter 10 Task list
Opened this issue · 0 comments
edgenard commented
- Add a Parameter in the template for
ThumbnailWidth
. Make it a number, with a default of 300, a minimum value of 10 and a maximum value of 1000. - Add an image processing Severless Application Component that is compatible with Ruby(ImageMagick, Vips, etc). The application must be published as a layer.
- Refer to the image processing application as a Lambda Layer in the properties of the CreateThumbnailsFunction.
- Install Gem that wraps native image processing binary
- Deploy function with Layer. This will require adding
CAPABILITY_AUTO_EXPAND
to the deployment command. - Add code to actually resize images to Thumbnails
Note
The thumbnail will not be immediately available, this will be addressed in the next chapter