/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?

How to share Lambda Layers publicly?

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:<version>
Link: gkrizek/bash-lambda-layer
provided
Ballerina Link: ballerina.io/deployment/aws-lambda 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:<version>
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:<version>
Link: accounts.nodesource.com/downloads/nsolid-lambda
provided
Node.js v12 ARN: arn:aws:lambda:<region>:553035198032:layer:nodejs12:<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
PHP 7.2 & 7.3
cli & fpm
ARN: arn:aws:lambda:<region>:209497400698:layer:php-73:<version>
Link:brefphp/bref
provided
Pypy 3.5 ARN: arn:aws:lambda:<region>:146318645305:layer:pypy35:<version>
Link: IOpipe Pypy Layer
pypy3.5
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
Java 11 Link: andthearchitect/aws-lambda-java-runtime provided
Haskell ARN: arn:aws:lambda:<YOUR REGION>:785355572843:layer:aws-haskell-runtime:2
Link: Getting Started with the Haskell AWS Lambda Runtime
provided

Utilities

Name ARN / Link Compatible Runtimes
AWS CLI Link: aws-samples/aws-lambda-layer-awscli all
better-sqlite3 ARN: arn:aws:lambda:us-east-1:284387765956:layer:BetterSqlite3:4
Link: seanfisher/better-sqlite3-lambda-layer
nodejs8.10
chrome-aws-lambda ARN: arn:aws:lambda:us-east-1:764866452798:layer:chrome-aws-lambda:4
Link: shelfio/chrome-aws-lambda-layer
all
ClamAV Link: kindlyops/lambda-clamav-layer all
FFmpeg/FFprobe ARN: arn:aws:lambda:us-east-1:145266761615:layer:ffmpeg:4
Link: serverlesspub/ffmpeg-aws-lambda-layer
all
GDAL + PDAL Link: arn:aws:lambda:us-east-1:163178234892:layer:pdal:15 all
GeoIP Link: dschep/geoip-lambda-layer all
Ghostscript ARN: arn:aws:lambda:us-east-1:764866452798:layer:ghostscript:1
Link: shelfio/ghostscript-lambda-layer
all
Git + SSH ARN: arn:aws:lambda:<region>:553035198032:layer:git:<version>
Link: lambci/git-lambda-layer
all
GraphicsMagick ARN: arn:aws:lambda:<region>:175033217214:layer:graphicsmagick:<version>
Link: rpidanny/gm-lambda-layer
all
headless chromium with CJK fonts Link: pahud/lambda-layer-headless-chromium all
kubectl for Amazon EKS Link: aws-samples/aws-lambda-layer-kubectl all
LibreOffice ARN: arn:aws:lambda:us-east-1:764866452798:layer:libreoffice:7
Link: shelfio/libreoffice-lambda-layer
all
MySQL PHP 7.1 Link: aiir/php71-mysql-aws-lambda-layer stackery/php-lambda-layer
OR-Tools Link: matheusmessora/or-tools-layer python3.6
Pandoc ARN: arn:aws:lambda:us-east-1:145266761615:layer:pandoc:1
Link: serverlesspub/pandoc-aws-lambda-binary
all
paramiko Link: jetbridge/paramiko-lambda-layer python3.7
PostgreSQL libpq https://github.com/DrLuke/postgres-libpq-aws-lambda-layer 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.6 python3.7
Python Toolkit Link: keithrozario/Klayers
Python packages incl. requests, aiohttp, pyOpenSSL etc.
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

Monitoring

Name ARN / Link Compatible Runtimes
Datadog ARN: arn:aws:lambda:<region>:464622532012:layer:Datadog-Python37:1
Link: Datadog's Lambda Layer
python2.7, python3.6, python3.7,
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
IOpipe Node ARN: arn:aws:lambda:<region>:146318645305:layer:IOpipeNodeJS810:<version>
Link: IOpipe Node Layer
nodejs6.10, nodejs8.10
IOpipe Python ARN: arn:aws:lambda:<region>:146318645305:layer:IOpipePython:<version>
Link: IOpipe Python Layer
python2.7, python3.6, python3.7
IOpipe Java ARN: arn:aws:lambda:<region>:146318645305:layer:IOpipeJava8:<version>
Link: IOpipe Java Layer
java8
Lumigo Node ARN: arn:aws:lambda:YOUR-REGION:724777057400:layer:lumigo-node-tracer:<version>
Link: Lumigo Node Layer
nodejs8.10, nodejs10.X
Lumigo Python ARN: arn:aws:lambda:YOUR-REGION:724777057400:layer:lumigo-python-tracer:<version>
Link: Lumigo Python Layer
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