Home

Awesome

λ 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

  1. Runtimes
  2. Utilities
  3. Monitoring
  4. Security

Runtimes

NameARN / LinkCompatible RuntimesLatest Version
C++ (official)Link: awslabs/aws-lambda-cppprovidedSelf publish
Rust (official)Link: awslabs/aws-lambda-rust-runtimeprovidedSelf publish
BashARN: arn:aws:lambda:<region>:744348701589:layer:bash:<version><br>Link: gkrizek/bash-lambda-layerprovidedbash
BallerinaLink: ballerina-platform/module-ballerinax-aws.lambdaprovidedballerina-jre11
CrystalLink: lambci/crambdaprovidedSelf publish
NimLink: lambci/awslambda.nimprovidedSelf publish
Node.js v8 - N|SolidARN: arn:aws:lambda:<region>:800406105498:layer:nsolid-node-8:<version><br>Link: accounts.nodesource.com/downloads/nsolid-lambdaprovidedN/A
Node.js v10ARN: arn:aws:lambda:<region>:553035198032:layer:nodejs10:<version><br>Link: lambci/node-custom-lambdaprovidednodejs10
Node.js v10 - N|SolidARN: arn:aws:lambda:<region>:800406105498:layer:nsolid-node-10:<version><br>Link: accounts.nodesource.com/downloads/nsolid-lambdaprovidedN/A
Node.js v12ARN: arn:aws:lambda:<region>:553035198032:layer:nodejs12:<version><br>Link: lambci/node-custom-lambdaprovidednodejs12
Perl 5.30.1ARN: arn:aws:lambda:<region>:445285296882:layer:perl-5-30-runtime:5<br>Link:shogo82148/p5-aws-lambda - see links to other version and Paws builds in repoprovidedperl-5-30-runtime
PHP 7.1 & 7.3ARN: arn:aws:lambda:<region>:887080169480:layer:php71:3<br>Link:stackery/php-lambda-layerprovidedN/A
PHP 7.2 & 7.3<br>cli & fpmARN: arn:aws:lambda:<region>:209497400698:layer:php-73:<version><br>Link:brefphp/brefprovidedphp-73
Pypy 3.5ARN: arn:aws:lambda:<region>:146318645305:layer:pypy35:<version><br>Link: IOpipe Pypy Layerpypy3.5pypy35
BrainfuckARN: arn:aws:lambda:<region>:444134189787:layer:brainfuck:1<br>Built for fun, will not process events!providedN/A
LOLCODEARN: arn:aws:lambda:<region>:444134189787:layer:lolcode:1<br>Built for fun, will not process events!providedN/A
Java 11Link: andthearchitect/aws-lambda-java-runtimeprovidedSelf publish
HaskellARN: arn:aws:lambda:<YOUR REGION>:785355572843:layer:aws-haskell-runtime:2 <br>Link: Getting Started with the Haskell AWS Lambda Runtimeprovidedaws-haskell-runtime
SwiftLink: swift-server/swift-aws-lambda-runtimeprovidedSelf publish
CLink: PauloMigAlmeida/aws-lambda-c-runtimeprovidedSelf publish

Utilities

NameARN / LinkCompatible RuntimesLatest Version
Apache TikaARN: arn:aws:lambda:us-east-1:764866452798:layer:apache-tika:1<br>Link: shelfio/apache-tika-lambda-layerallapache-tika
AWS CLILink: aws-samples/aws-lambda-layer-awscliallSelf publish
AWS Data WranglerLink:awslabs/aws-data-wrangler (Releases)python3.6 python3.7 python3.8AWSDataWrangler-Python37 AWSDataWrangler-Python38 AWSDataWrangler-Python39
better-sqlite3ARN: arn:aws:lambda:us-east-1:284387765956:layer:BetterSqlite3:8<br>Link: seanfisher/better-sqlite3-lambda-layernodejs12.xBetterSqlite3
CalibreLink: gipsh/aws-calibre-layerallSelf publish
chrome-aws-lambdaARN: arn:aws:lambda:us-east-1:764866452798:layer:chrome-aws-lambda:4<br>Link: shelfio/chrome-aws-lambda-layerallchrome-aws-lambda
ClamAVLink: kindlyops/lambda-clamav-layerallSelf publish
FFmpeg/FFprobeARN: arn:aws:lambda:us-east-1:145266761615:layer:ffmpeg:4<br>Link: serverlesspub/ffmpeg-aws-lambda-layerallSelf publish
FlywayARN: arn:aws:lambda:us-east-2:044220569105:layer:flyway:4<br>Link: gitlab.com/ourstreets/flyway-lambdajava8N/A
GDAL + PDALLink: arn:aws:lambda:us-east-1:163178234892:layer:pdal:15allSelf publish
GeoIPLink: dschep/geoip-lambda-layerallSelf publish
GhostscriptARN: arn:aws:lambda:us-east-1:764866452798:layer:ghostscript:1<br>Link: shelfio/ghostscript-lambda-layerallghostscript
Git + SSHARN: arn:aws:lambda:<region>:553035198032:layer:git:<version><br>Link: lambci/git-lambda-layerallgit
GraphicsMagickARN: arn:aws:lambda:<region>:175033217214:layer:graphicsmagick:<version><br>Link: rpidanny/gm-lambda-layerallgraphicsmagick
headless chromium with CJK fontsLink: pahud/lambda-layer-headless-chromiumallN/A
Headless PhantomJSARN: arn:aws:lambda:us-west-2:699054759624:layer:phantom-js:1<br> Link: shivtej1505/phantom-js-lambda-layerallphantom-js
HugoLink: jason-dour/hugo-aws-lambda-layerallSelf publish
kubectl for Amazon EKSLink: aws-samples/aws-lambda-layer-kubectlallSelf publish
LibreOfficeARN: arn:aws:lambda:us-east-1:764866452798:layer:libreoffice:7<br>Link: shelfio/libreoffice-lambda-layerall
libvipsLink: customink/ruby-vips-lambda Built for Ruby FFI but should work for all.allSelf publish
ModSecurityLink: Zeerg/modsecurity-layerpython3.6 python3.7Self publish
MySQL PHP 7.1Link: aiir/php71-mysql-aws-lambda-layerstackery/php-lambda-layerN/A
Net-SNMP ToolsLink: jason-dour/net-snmp-aws-lambda-layerallSelf publish
OpenAILink: erenyasarkurt/OpenAI-AWS-Lambda-Layer<br>OpenAI Python packages and the required dependenciespython3.7 python3.8 python3.9Self publish
OpenSSLARN: arn:aws:lambda:us-east-1:034541671702:layer:openssl-lambda:1<br>Link: alexandredavi/openssl-lambda-layerallopenssl-lambda
OR-ToolsLink: matheusmessora/or-tools-layerpython3.6Self publish
pandas-gbqARN: arn:aws:lambda:us-east-1:251566558623:layer:python37-layer-pandas-gbq:1<br>Link: vbalasu/pandas-gbq-layer <br>Includes pandas, a versatile data exploration tool that builds on numpy. Also includes pandas-gbq for reading and writing from/to Google BigQuerypython3.7python37-layer-pandas-gbq
PandocARN: arn:aws:lambda:us-east-1:145266761615:layer:pandoc:1<br>Link: serverlesspub/pandoc-aws-lambda-binaryallpandoc
paramikoLink: jetbridge/paramiko-lambda-layerpython3.7paramiko-py38
PopplerLink:jeylabs/aws-lambda-poppler-layerallSelf publish
PostgreSQL libpqhttps://github.com/DrLuke/postgres-libpq-aws-lambda-layerallSelf publish
PuppeteerARN: arn:aws:lambda:us-east-1:085108115628:layer:chrome:6<br>Link: RafalWilinski/serverless-puppeteer-layersallSelf publish
psycopg2Link: jetbridge/psycopg2-lambda-layerpython3.6 python3.7 python3.8psycopg2-py37 psycopg2-py38
pyodbcLink: kuharan/Lambda-Layerspython3.7 python3.8Self publish
PySNMPLink: jason-dour/pysnmp-aws-lambda-layerpython3.6 python3.7 python3.8Self publish
Python ToolkitLink: keithrozario/Klayers<br>Python packages incl. requests, aiohttp, pyOpenSSL etc.python3.8...
RcloneLink: badouralix/rclone-lambda-layerallSelf publish
rsvg-convertARN: arn:aws:lambda:us-east-1:145266761615:layer:rsvg-convert:2<br>Link: serverlesspub/rsvg-convert-aws-lambda-binaryallrsvg-convert
scikit-learnARN: arn:aws:lambda:us-east-1:446751924810:layer:python-3-7-scikit-learn-0-23-1:2<br>Link: model-zoo/scikit-learn-lambdapython3.6 python3.7 python3.8python-3-7-scikit-learn-0-23-1
Selenium & Chromium for PythonLink: vittorio-nardone/selenium-chromium-lambda<br>Includes lambda optimized Chromium ver. 86.0.4240.0 and Selenium ver. 3.14python3.6 python3.7Self publish
SoXARN: arn:aws:lambda:us-east-1:145266761615:layer:sox:1<br>Link: serverlesspub/sox-aws-lambda-binaryallsox
SQLite PythonLink: dschep/sqlite-lambda-layerpython3.6Self publish
TesseractLink: bweigel/aws-lambda-tesseract-layerallSelf publish
Tex Live (LaTeX)Link: https://github.com/serverlesspub/latex-aws-lambda-layernodejs12.x, nodejs10.x, python3.8, java11Self publish
UnzipLink: vpayette/unzip-aws-lambda-layerallSelf publish
ZipLink: morugu/zip-aws-lambda-layerallSelf publish

Monitoring

NameARN / LinkCompatible RuntimesLatest Version
DatadogARN: arn:aws:lambda:<region>:464622532012:layer:Datadog-Python37:1<br>Link: Datadog's Lambda Layerpython2.7, python3.6, python3.7,Datadog-Python27 Datadog-Python36 Datadog-Python37
Epsagon NodeARN: arn:aws:lambda:<region>:066549572091:layer:epsagon-node-layer:1<br>Link: Epsagon Node Layernodejs6.10, nodejs8.10epsagon-node-layer
Epsagon PythonARN: arn:aws:lambda:<region>:066549572091:layer:epsagon-python-layer:1<br>Link: Epsagon Python Layerpython2.7, python3.6, python3.7epsagon-node-layer
Instana Node.jsARN: arn:aws:lambda:<region>:410797082306:layer:instana-nodejs:<version><br>Link: Instana Node.js Layernodejs8.10, nodejs10.x, nodejs12.xinstana-nodejs
Instana PythonARN: arn:aws:lambda:<region>:410797082306:layer:instana-python:<version><br>Link: Instana Python Layerpython2.7, python3.6, python3.7, python3.8instana-python
IOpipe NodeARN: arn:aws:lambda:<region>:146318645305:layer:IOpipeNodeJS810:<version><br>Link: IOpipe Node Layernodejs6.10, nodejs8.10IOpipeNodeJS810
IOpipe PythonARN: arn:aws:lambda:<region>:146318645305:layer:IOpipePython:<version><br>Link: IOpipe Python Layerpython2.7, python3.6, python3.7IOpipePython
IOpipe JavaARN: arn:aws:lambda:<region>:146318645305:layer:IOpipeJava8:<version><br>Link: IOpipe Java Layerjava8IOpipeJava8
Lumigo NodeARN: arn:aws:lambda:YOUR-REGION:724777057400:layer:lumigo-node-tracer:<version><br>Link: Lumigo Node Layernodejs8.10, nodejs10.Xlumigo-node-tracer
Lumigo PythonARN: arn:aws:lambda:YOUR-REGION:724777057400:layer:lumigo-python-tracer:<version><br>Link: Lumigo Python Layerpython3.6, python3.7lumigo-python-tracer
New Relic NodeARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicNodeJS810:<version><br>Link: New Relic Node Layernodejs8.10NewRelicNodeJS810
New Relic NodeARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicNodeJS10X:<version><br>Link: New Relic Node Layernodejs10.xNewRelicNodeJS10X
New Relic PythonARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicPython27:<version><br>Link: New Relic Python Layerpython2.7NewRelicPython27
New Relic PythonARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicPython36:<version><br>Link: New Relic Python Layerpython3.6NewRelicPython36
New Relic PythonARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicPython37:<version><br>Link: New Relic Python Layerpython3.7NewRelicPython37
Thundra NodeARN: arn:aws:lambda:<region>:269863060030:layer:thundra-lambda-node-layer:<version><br>Link: Thundra Node Layernodejs8.10, nodejs10.x, nodejs12.x, nodejs14.xthundra-lambda-node-layer
Thundra PythonARN: arn:aws:lambda:<region>:269863060030:layer:thundra-lambda-python-layer:<version><br>Link: Thundra Python Layerpython2.7, python3.6, python3.7, python3.8, python3.9thundra-lambda-node-layer
Thundra JavaARN: arn:aws:lambda:<region>:269863060030:layer:thundra-lambda-java-layer:<version><br>Link: Thundra Java Layerjava8, java11thundra-lambda-java-layer

AWS Official lambda layer

NameARN / LinkCompatible RuntimesLatest Version
AWSLambdaPowertoolsTypeScriptARN: [arn:aws:lambda:{region}:094274105915:layer:AWSLambdaPowertoolsTypeScript:18]see documentation
AWSLambdaPowertoolsPythonV2ARN: [arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV2:42]see documentation
AWS-Parameters-and-Secrets-Lambda-ExtensionARN: [arn:aws:lambda:{region}:590474943231:layer:AWS-Parameters-and-Secrets-Lambda-Extension:10]see documentation