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.
How to create and use Lambda Layers?
How to share Lambda Layers publicly?
Layers
Runtimes
Name | ARN / Link | Compatible Runtimes | Latest Version |
---|---|---|---|
C++ (official) | Link: awslabs/aws-lambda-cpp | provided | Self publish |
Rust (official) | Link: awslabs/aws-lambda-rust-runtime | provided | Self publish |
Bash | ARN: arn:aws:lambda:<region>:744348701589:layer:bash:<version> <br>Link: gkrizek/bash-lambda-layer | provided | |
Ballerina | Link: ballerina-platform/module-ballerinax-aws.lambda | provided | |
Crystal | Link: lambci/crambda | provided | Self publish |
Nim | Link: lambci/awslambda.nim | provided | Self publish |
Node.js v8 - N|Solid | ARN: arn:aws:lambda:<region>:800406105498:layer:nsolid-node-8:<version> <br>Link: accounts.nodesource.com/downloads/nsolid-lambda | provided | N/A |
Node.js v10 | ARN: arn:aws:lambda:<region>:553035198032:layer:nodejs10:<version> <br>Link: lambci/node-custom-lambda | provided | |
Node.js v10 - N|Solid | ARN: arn:aws:lambda:<region>:800406105498:layer:nsolid-node-10:<version> <br>Link: accounts.nodesource.com/downloads/nsolid-lambda | provided | N/A |
Node.js v12 | ARN: arn:aws:lambda:<region>:553035198032:layer:nodejs12:<version> <br>Link: lambci/node-custom-lambda | provided | |
Perl 5.30.1 | ARN: 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 repo | provided | |
PHP 7.1 & 7.3 | ARN: arn:aws:lambda:<region>:887080169480:layer:php71:3 <br>Link:stackery/php-lambda-layer | provided | N/A |
PHP 7.2 & 7.3<br>cli & fpm | ARN: arn:aws:lambda:<region>:209497400698:layer:php-73:<version> <br>Link:brefphp/bref | provided | |
Pypy 3.5 | ARN: arn:aws:lambda:<region>:146318645305:layer:pypy35:<version> <br>Link: IOpipe Pypy Layer | pypy3.5 | |
Brainfuck | ARN: arn:aws:lambda:<region>:444134189787:layer:brainfuck:1 <br>Built for fun, will not process events! | provided | N/A |
LOLCODE | ARN: arn:aws:lambda:<region>:444134189787:layer:lolcode:1 <br>Built for fun, will not process events! | provided | N/A |
Java 11 | Link: andthearchitect/aws-lambda-java-runtime | provided | Self publish |
Haskell | ARN: arn:aws:lambda:<YOUR REGION>:785355572843:layer:aws-haskell-runtime:2 <br>Link: Getting Started with the Haskell AWS Lambda Runtime | provided | |
Swift | Link: swift-server/swift-aws-lambda-runtime | provided | Self publish |
C | Link: PauloMigAlmeida/aws-lambda-c-runtime | provided | Self publish |
Utilities
Name | ARN / Link | Compatible Runtimes | Latest Version |
---|---|---|---|
Apache Tika | ARN: arn:aws:lambda:us-east-1:764866452798:layer:apache-tika:1 <br>Link: shelfio/apache-tika-lambda-layer | all | |
AWS CLI | Link: aws-samples/aws-lambda-layer-awscli | all | Self publish |
AWS Data Wrangler | Link:awslabs/aws-data-wrangler (Releases ) | python3.6 python3.7 python3.8 | |
better-sqlite3 | ARN: arn:aws:lambda:us-east-1:284387765956:layer:BetterSqlite3:8 <br>Link: seanfisher/better-sqlite3-lambda-layer | nodejs12.x | |
Calibre | Link: gipsh/aws-calibre-layer | all | Self publish |
chrome-aws-lambda | ARN: arn:aws:lambda:us-east-1:764866452798:layer:chrome-aws-lambda:4 <br>Link: shelfio/chrome-aws-lambda-layer | all | |
ClamAV | Link: kindlyops/lambda-clamav-layer | all | Self publish |
FFmpeg/FFprobe | ARN: arn:aws:lambda:us-east-1:145266761615:layer:ffmpeg:4 <br>Link: serverlesspub/ffmpeg-aws-lambda-layer | all | Self publish |
Flyway | ARN: arn:aws:lambda:us-east-2:044220569105:layer:flyway:4 <br>Link: gitlab.com/ourstreets/flyway-lambda | java8 | N/A |
GDAL + PDAL | Link: arn:aws:lambda:us-east-1:163178234892:layer:pdal:15 | all | Self publish |
GeoIP | Link: dschep/geoip-lambda-layer | all | Self publish |
Ghostscript | ARN: arn:aws:lambda:us-east-1:764866452798:layer:ghostscript:1 <br>Link: shelfio/ghostscript-lambda-layer | all | |
Git + SSH | ARN: arn:aws:lambda:<region>:553035198032:layer:git:<version> <br>Link: lambci/git-lambda-layer | all | |
GraphicsMagick | ARN: arn:aws:lambda:<region>:175033217214:layer:graphicsmagick:<version> <br>Link: rpidanny/gm-lambda-layer | all | |
headless chromium with CJK fonts | Link: pahud/lambda-layer-headless-chromium | all | N/A |
Headless PhantomJS | ARN: arn:aws:lambda:us-west-2:699054759624:layer:phantom-js:1 <br> Link: shivtej1505/phantom-js-lambda-layer | all | |
Hugo | Link: jason-dour/hugo-aws-lambda-layer | all | Self publish |
kubectl for Amazon EKS | Link: aws-samples/aws-lambda-layer-kubectl | all | Self publish |
LibreOffice | ARN: arn:aws:lambda:us-east-1:764866452798:layer:libreoffice:7 <br>Link: shelfio/libreoffice-lambda-layer | all | |
libvips | Link: customink/ruby-vips-lambda Built for Ruby FFI but should work for all. | all | Self publish |
ModSecurity | Link: Zeerg/modsecurity-layer | python3.6 python3.7 | Self publish |
MySQL PHP 7.1 | Link: aiir/php71-mysql-aws-lambda-layer | stackery/php-lambda-layer | N/A |
Net-SNMP Tools | Link: jason-dour/net-snmp-aws-lambda-layer | all | Self publish |
OpenAI | Link: erenyasarkurt/OpenAI-AWS-Lambda-Layer <br>OpenAI Python packages and the required dependencies | python3.7 python3.8 python3.9 | Self publish |
OpenSSL | ARN: arn:aws:lambda:us-east-1:034541671702:layer:openssl-lambda:1 <br>Link: alexandredavi/openssl-lambda-layer | all | |
OR-Tools | Link: matheusmessora/or-tools-layer | python3.6 | Self publish |
pandas-gbq | ARN: 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 BigQuery | python3.7 | |
Pandoc | ARN: arn:aws:lambda:us-east-1:145266761615:layer:pandoc:1 <br>Link: serverlesspub/pandoc-aws-lambda-binary | all | |
paramiko | Link: jetbridge/paramiko-lambda-layer | python3.7 | |
Poppler | Link:jeylabs/aws-lambda-poppler-layer | all | Self publish |
PostgreSQL libpq | https://github.com/DrLuke/postgres-libpq-aws-lambda-layer | all | Self publish |
Puppeteer | ARN: arn:aws:lambda:us-east-1:085108115628:layer:chrome:6 <br>Link: RafalWilinski/serverless-puppeteer-layers | all | Self publish |
psycopg2 | Link: jetbridge/psycopg2-lambda-layer | python3.6 python3.7 python3.8 | |
pyodbc | Link: kuharan/Lambda-Layers | python3.7 python3.8 | Self publish |
PySNMP | Link: jason-dour/pysnmp-aws-lambda-layer | python3.6 python3.7 python3.8 | Self publish |
Python Toolkit | Link: keithrozario/Klayers <br>Python packages incl. requests, aiohttp, pyOpenSSL etc. | python3.8 | ... |
Rclone | Link: badouralix/rclone-lambda-layer | all | Self publish |
rsvg-convert | ARN: arn:aws:lambda:us-east-1:145266761615:layer:rsvg-convert:2 <br>Link: serverlesspub/rsvg-convert-aws-lambda-binary | all | |
scikit-learn | ARN: arn:aws:lambda:us-east-1:446751924810:layer:python-3-7-scikit-learn-0-23-1:2 <br>Link: model-zoo/scikit-learn-lambda | python3.6 python3.7 python3.8 | |
Selenium & Chromium for Python | Link: vittorio-nardone/selenium-chromium-lambda <br>Includes lambda optimized Chromium ver. 86.0.4240.0 and Selenium ver. 3.14 | python3.6 python3.7 | Self publish |
SoX | ARN: arn:aws:lambda:us-east-1:145266761615:layer:sox:1 <br>Link: serverlesspub/sox-aws-lambda-binary | all | |
SQLite Python | Link: dschep/sqlite-lambda-layer | python3.6 | Self publish |
Tesseract | Link: bweigel/aws-lambda-tesseract-layer | all | Self publish |
Tex Live (LaTeX) | Link: https://github.com/serverlesspub/latex-aws-lambda-layer | nodejs12.x, nodejs10.x, python3.8, java11 | Self publish |
Unzip | Link: vpayette/unzip-aws-lambda-layer | all | Self publish |
Zip | Link: morugu/zip-aws-lambda-layer | all | Self publish |
Monitoring
Name | ARN / Link | Compatible Runtimes | Latest Version |
---|---|---|---|
Datadog | ARN: arn:aws:lambda:<region>:464622532012:layer:Datadog-Python37:1 <br>Link: Datadog's Lambda Layer | python2.7, python3.6, python3.7 , | |
Epsagon Node | ARN: arn:aws:lambda:<region>:066549572091:layer:epsagon-node-layer:1 <br>Link: Epsagon Node Layer | nodejs6.10, nodejs8.10 | |
Epsagon Python | ARN: arn:aws:lambda:<region>:066549572091:layer:epsagon-python-layer:1 <br>Link: Epsagon Python Layer | python2.7, python3.6, python3.7 | |
Instana Node.js | ARN: arn:aws:lambda:<region>:410797082306:layer:instana-nodejs:<version> <br>Link: Instana Node.js Layer | nodejs8.10, nodejs10.x, nodejs12.x | |
Instana Python | ARN: arn:aws:lambda:<region>:410797082306:layer:instana-python:<version> <br>Link: Instana Python Layer | python2.7, python3.6, python3.7, python3.8 | |
IOpipe Node | ARN: arn:aws:lambda:<region>:146318645305:layer:IOpipeNodeJS810:<version> <br>Link: IOpipe Node Layer | nodejs6.10, nodejs8.10 | |
IOpipe Python | ARN: arn:aws:lambda:<region>:146318645305:layer:IOpipePython:<version> <br>Link: IOpipe Python Layer | python2.7, python3.6, python3.7 | |
IOpipe Java | ARN: arn:aws:lambda:<region>:146318645305:layer:IOpipeJava8:<version> <br>Link: IOpipe Java Layer | java8 | |
Lumigo Node | ARN: arn:aws:lambda:YOUR-REGION:724777057400:layer:lumigo-node-tracer:<version> <br>Link: Lumigo Node Layer | nodejs8.10, nodejs10.X | |
Lumigo Python | ARN: arn:aws:lambda:YOUR-REGION:724777057400:layer:lumigo-python-tracer:<version> <br>Link: Lumigo Python Layer | python3.6, python3.7 | |
New Relic Node | ARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicNodeJS810:<version> <br>Link: New Relic Node Layer | nodejs8.10 | |
New Relic Node | ARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicNodeJS10X:<version> <br>Link: New Relic Node Layer | nodejs10.x | |
New Relic Python | ARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicPython27:<version> <br>Link: New Relic Python Layer | python2.7 | |
New Relic Python | ARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicPython36:<version> <br>Link: New Relic Python Layer | python3.6 | |
New Relic Python | ARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicPython37:<version> <br>Link: New Relic Python Layer | python3.7 | |
Thundra Node | ARN: arn:aws:lambda:<region>:269863060030:layer:thundra-lambda-node-layer:<version> <br>Link: Thundra Node Layer | nodejs8.10 , nodejs10.x , nodejs12.x , nodejs14.x | |
Thundra Python | ARN: arn:aws:lambda:<region>:269863060030:layer:thundra-lambda-python-layer:<version> <br>Link: Thundra Python Layer | python2.7 , python3.6 , python3.7 , python3.8 , python3.9 | |
Thundra Java | ARN: arn:aws:lambda:<region>:269863060030:layer:thundra-lambda-java-layer:<version> <br>Link: Thundra Java Layer | java8 , java11 |
AWS Official lambda layer
Name | ARN / Link | Compatible Runtimes | Latest Version |
---|---|---|---|
AWSLambdaPowertoolsTypeScript | ARN: [arn:aws:lambda:{region}:094274105915:layer:AWSLambdaPowertoolsTypeScript:18] | see documentation | |
AWSLambdaPowertoolsPythonV2 | ARN: [arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV2:42] | see documentation | |
AWS-Parameters-and-Secrets-Lambda-Extension | ARN: [arn:aws:lambda:{region}:590474943231:layer:AWS-Parameters-and-Secrets-Lambda-Extension:10] | see documentation |