/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
Bash ARN: arn:aws:lambda:<region>:744348701589:layer:bash:4
Link: gkrizek/bash-lambda-layer
provided
Crystal Link: lambci/crambda provided
Nim Link: lambci/awslambda.nim provided
Node.js v8 - N|Solid ARN: arn:aws:lambda:<region>:800406105498:layer:nsolid-node-8:3
Link: accounts.nodesource.com/downloads/nsolid-lambda
provided
Node.js v10 ARN: arn:aws:lambda:<region>:553035198032:layer:nodejs10:<version>
Link: lambci/node-custom-lambda
provided
Node.js v10 - N|Solid ARN: arn:aws:lambda:<region>:800406105498:layer:nsolid-node-10:3
Link: accounts.nodesource.com/downloads/nsolid-lambda
provided
Node.js v11 ARN: arn:aws:lambda:<region>:553035198032:layer:nodejs11:<version>
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
AWS CLI Link: pahud/lambda-layer-awscli all
FFmpeg/FFprobe ARN: arn:aws:lambda:us-east-1:145266761615:layer:ffmpeg:4
Link: serverlesspub/ffmpeg-aws-lambda-layer
all
GeoIP Link: dschep/geoip-lambda-layer all
Git + SSH ARN: arn:aws:lambda:<region>:553035198032:layer:git:<version>
Link: lambci/git-lambda-layer
all
headless chromium with CJK fonts Link: pahud/lambda-layer-headless-chromium all
kubectl for Amazon EKS Link: pahud/lambda-layer-kubectl all
MySQL PHP 7.1 Link: aiir/php71-mysql-aws-lambda-layer stackery/php-lambda-layer
Pandoc ARN: arn:aws:lambda:us-east-1:145266761615:layer:pandoc:1
Link: serverlesspub/pandoc-aws-lambda-binary
all
Puppeteer ARN: arn:aws:lambda:us-east-1:085108115628:layer:chrome:6
Link: RafalWilinski/serverless-puppeteer-layers
all
psycopg2 Link: jetbridge/psycopg2-lambda-layer python3.7
rsvg-convert ARN: arn:aws:lambda:us-east-1:145266761615:layer:rsvg-convert:2
Link: serverlesspub/rsvg-convert-aws-lambda-binary
all
SoX ARN: arn:aws:lambda:us-east-1:145266761615:layer:sox:1
Link: serverlesspub/sox-aws-lambda-binary
all
SQLite Python Link: dschep/sqlite-lambda-layer python3.6
Tesseract Link: bweigel/aws-lambda-tesseract-layer all
WebScrapers Toolkit Python Link: keithrozario/webscrapers-toolkit python3.7

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

Security

Name ARN / Link Compatible Runtimes
Protego Link: Protego Layers and Runtimes python2.7, python3.6, python3.7, nodejs6.10, nodejs8.10, java8, dotnetcore2.0, dotnetcore2.1
PureSec Link: PureSec Lambda Protection Layer nodejs8.10, nodejs6.10, python2.7, python3.6, python3.7, java8, dotnetcore2.x