Skip to content
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Nov 30, 2018

λ 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

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-platform/module-ballerinax-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
Perl 5.30.1 ARN: arn:aws:lambda:<region>:445285296882:layer:perl-5-30-runtime:5
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
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
Swift Link: swift-server/swift-aws-lambda-runtime provided

Utilities

Name ARN / Link Compatible Runtimes
Apache Tika ARN: arn:aws:lambda:us-east-1:764866452798:layer:apache-tika:1
Link: shelfio/apache-tika-lambda-layer
all
AWS CLI Link: aws-samples/aws-lambda-layer-awscli all
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
Link: seanfisher/better-sqlite3-lambda-layer
nodejs12.x
Calibre Link: gipsh/aws-calibre-layer all
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
Flyway ARN: arn:aws:lambda:us-east-2:044220569105:layer:flyway:4
Link: gitlab.com/ourstreets/flyway-lambda
java8
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
Headless PhantomJS ARN: arn:aws:lambda:us-west-2:699054759624:layer:phantom-js:1
Link: shivtej1505/phantom-js-lambda-layer
all
Hugo Link: jason-dour/hugo-aws-lambda-layer 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
libvips Link: customink/ruby-vips-lambda Built for Ruby FFI but should work for all. all
ModSecurity Link: Zeerg/modsecurity-layer python3.6 python3.7
MySQL PHP 7.1 Link: aiir/php71-mysql-aws-lambda-layer stackery/php-lambda-layer
Net-SNMP Tools Link: jason-dour/net-snmp-aws-lambda-layer all
OpenSSL ARN: arn:aws:lambda:us-east-1:034541671702:layer:openssl-lambda:1
Link: alexandredavi/openssl-lambda-layer
all
OR-Tools Link: matheusmessora/or-tools-layer python3.6
pandas-gbq ARN: arn:aws:lambda:us-east-1:251566558623:layer:python37-layer-pandas-gbq:1
Link: vbalasu/pandas-gbq-layer
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
Link: serverlesspub/pandoc-aws-lambda-binary
all
paramiko Link: jetbridge/paramiko-lambda-layer python3.7
Poppler Link:jeylabs/aws-lambda-poppler-layer all
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 python3.8
PySNMP Link: jason-dour/pysnmp-aws-lambda-layer python3.6 python3.7 python3.8
Python Toolkit Link: keithrozario/Klayers
Python packages incl. requests, aiohttp, pyOpenSSL etc.
python3.8
Rclone Link: badouralix/rclone-lambda-layer all
rsvg-convert ARN: arn:aws:lambda:us-east-1:145266761615:layer:rsvg-convert:2
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
Link: model-zoo/scikit-learn-lambda
python3.6 python3.7 python3.8
Selenium & Chromium for Python Link: vittorio-nardone/selenium-chromium-lambda
Includes lambda optimized Chromium ver. 86.0.4240.0 and Selenium ver. 3.14
python3.6 python3.7
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
Tex Live (LaTeX) Link: https://github.com/serverlesspub/latex-aws-lambda-layer nodejs12.x, nodejs10.x, python3.8, java11
Unzip Link: vpayette/unzip-aws-lambda-layer all
Zip Link: morugu/zip-aws-lambda-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
Instana Node.js ARN: arn:aws:lambda:<region>:410797082306:layer:instana-nodejs:<version>
Link: Instana Node.js Layer
nodejs8.10, nodejs10.x, nodejs12.x
Instana Python ARN: arn:aws:lambda:<region>:410797082306:layer:instana-python:<version>
Link: Instana Python Layer
python2.7, python3.6, python3.7, python3.8
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
New Relic Node ARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicNodeJS810:<version>
Link: New Relic Node Layer
nodejs8.10
New Relic Node ARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicNodeJS10X:<version>
Link: New Relic Node Layer
nodejs10.x
New Relic Python ARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicPython27:<version>
Link: New Relic Python Layer
python2.7
New Relic Python ARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicPython36:<version>
Link: New Relic Python Layer
python3.6
New Relic Python ARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicPython37:<version>
Link: New Relic Python Layer
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