Where are AWS Published Lambda Layers, I am looking for Numpy, Scipy and Pandas Lambda Layer published by AWS? Are there one?
I have a script that does this inside Docker and outputs a zip you can upload as the layer: https://github.com/chedabob/LambdaZipper
EDIT: You may also need some bits from this if your layer relies upon shared libraries to be installed: https://github.com/chedabob/wkhtmltopdf-lambdalayer
More on reddit.comIs there any reason to use Lambda layers while using bundlers?
AWS Lambda Layers
Working with AWS Lambda and Lambda Layers in AWS SAM (x-post /r/aws)
Yes it's a good new post for Layers with node.js. If you are after a detailed step-by-step guide of the Python Version of using Layers I've written a detailed post here for Lambda MongoDB integration: https://hackernoon.com/building-a-serverless-microservice-crud-restful-api-with-mongodb-6e0316efe280
More on reddit.comVideos
Hello AWS Fellows, I have been searching for AWS Published layers with Numpy, SciPy, and Pandas, are there layers published by AWS? or do we have to create one ourselves? In the documentation for Lambda layers, it is mentioned that you can either create your own, use one provided by other customers or published by AWS but sadly I couldn't find the AWS ones.
Would be great gesture if you can guide me through.
Thanks
I would create your own layers.
I have it set up with a Docker image for the version of python I’m running (3.8 usually now). I just do a pip freeze, and take the requirements.txt and run a quick script that launches the Lambda runtime docker, does a pip install -r, and dumps all the files into a python directory. Zip it up and upload it as a layer. Takes minutes, and ensures that the versions of packages I’ve been working with are the same ones built out for the Lambda.
Just another fact since we are taking about lambda layers PSA layers do not transfer local to something like a greengrass deployment. The lambda runs local and layers stay on aws