/awesome-layers

λ A curated list of awesome AWS Lambda Layers.

GNU General Public License v3.0GPL-3.0

λ AWSome Lambda Layers

A curated list of awesome AWS Lambda Layers

What are Lambda Layers?

Lambda Layers are a new type of artifact that can contain arbitrary code and data, and may be referenced by zero, one, or more functions at the same time. Lambda functions in a serverless application typically share common dependencies such as SDKs, frameworks, and now runtimes. With layers, you can centrally manage common components across multiple functions enabling better code reuse.

https://aws.amazon.com/about-aws/whats-new/2018/11/aws-lambda-now-supports-custom-runtimes-and-layers/

How to create and use Lambda Layers?

Layers

Runtimes

Name ARN / Link Compatible Runtimes
C++ (official) Link: awslabs/aws-lambda-cpp provided
Rust (official) Link: awslabs/aws-lambda-rust-runtime provided
Crystal Link: lambci/crambda provided
Nim Link: lambci/awslambda.nim provided
Node.js v10 ARN: arn:aws:lambda:us-east-1:553035198032:layer:nodejs10:1
Link: lambci/node-custom-lambda
provided
Node.js v11 ARN: arn:aws:lambda:us-east-1:553035198032:layer:nodejs11:1
Link: lambci/node-custom-lambda
provided
PHP 7.1 ARN: arn:aws:lambda:<region>:887080169480:layer:php71:3
Link:stackery/php-lambda-layer
provided
Brainfuck ARN: arn:aws:lambda:<region>:444134189787:layer:brainfuck:1
Built for fun, will not process events!
provided
LOLCODE ARN: arn:aws:lambda:<region>:444134189787:layer:lolcode:1
Built for fun, will not process events!
provided

Utilities

Name ARN / Link Compatible Runtimes
GeoIP Link: dschep/geoip-lambda-layer all
Git + SSH ARN: arn:aws:lambda:us-east-1:553035198032:layer:git:2
Link: lambci/git-lambda-layer
all
Puppeteer ARN: arn:aws:lambda:us-east-1:085108115628:layer:chrome:6
Link: RafalWilinski/serverless-puppeteer-layers
all
SQLite Python Link: dschep/sqlite-lambda-layer python3.6
Tesseract Link: bweigel/aws-lambda-tesseract-layer all

Monitoring

Name ARN / Link Compatible Runtimes
Datadog ARN: arn:aws:lambda:<region>:464622532012:layer:Datadog-Python36-metric:1
Link: Datadog's Lambda Layer
python3.6
Epsagon Node ARN: arn:aws:lambda:<region>:066549572091:layer:epsagon-node-layer:1
Link: Epsagon Node Layer
nodejs6.10, nodejs8.10
Epsagon Python ARN: arn:aws:lambda:<region>:066549572091:layer:epsagon-python-layer:1
Link: Epsagon Python Layer
python2.7, python3.6, python3.7
Thundra Java ARN: arn:aws:lambda:<region>:269863060030:layer:thundra-lambda-java-layer:1
Link: Thundra Java Layer
java8
Thundra Node ARN: arn:aws:lambda:<region>:269863060030:layer:thundra-lambda-node-layer:1
Link: Thundra Node Layer
nodejs8.10