[go: up one dir, main page]

Skip to content

mthenw/awesome-layers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

λ 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 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>
Link: gkrizek/bash-lambda-layer
provided bash
Ballerina Link: ballerina-platform/module-ballerinax-aws.lambda provided ballerina-jre11
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>
Link: accounts.nodesource.com/downloads/nsolid-lambda
provided N/A
Node.js v10 ARN: arn:aws:lambda:<region>:553035198032:layer:nodejs10:<version>
Link: lambci/node-custom-lambda
provided nodejs10
Node.js v10 - N|Solid ARN: arn:aws:lambda:<region>:800406105498:layer:nsolid-node-10:<version>
Link: accounts.nodesource.com/downloads/nsolid-lambda
provided N/A
Node.js v12 ARN: arn:aws:lambda:<region>:553035198032:layer:nodejs12:<version>
Link: lambci/node-custom-lambda
provided nodejs12
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 perl-5-30-runtime
PHP 7.1 & 7.3 ARN: arn:aws:lambda:<region>:887080169480:layer:php71:3
Link:stackery/php-lambda-layer
provided N/A
PHP 7.2 & 7.3
cli & fpm
ARN: arn:aws:lambda:<region>:209497400698:layer:php-73:<version>
Link:brefphp/bref
provided php-73
Pypy 3.5 ARN: arn:aws:lambda:<region>:146318645305:layer:pypy35:<version>
Link: IOpipe Pypy Layer
pypy3.5 pypy35
Brainfuck ARN: arn:aws:lambda:<region>:444134189787:layer:brainfuck:1
Built for fun, will not process events!
provided N/A
LOLCODE ARN: arn:aws:lambda:<region>:444134189787:layer:lolcode:1
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
Link: Getting Started with the Haskell AWS Lambda Runtime
provided aws-haskell-runtime
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
Link: shelfio/apache-tika-lambda-layer
all apache-tika
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 AWSDataWrangler-Python37 AWSDataWrangler-Python38 AWSDataWrangler-Python39
better-sqlite3 ARN: arn:aws:lambda:us-east-1:284387765956:layer:BetterSqlite3:8
Link: seanfisher/better-sqlite3-lambda-layer
nodejs12.x BetterSqlite3
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
Link: shelfio/chrome-aws-lambda-layer
all chrome-aws-lambda
ClamAV Link: kindlyops/lambda-clamav-layer all Self publish
FFmpeg/FFprobe ARN: arn:aws:lambda:us-east-1:145266761615:layer:ffmpeg:4
Link: serverlesspub/ffmpeg-aws-lambda-layer
all Self publish
Flyway ARN: arn:aws:lambda:us-east-2:044220569105:layer:flyway:4
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
Link: shelfio/ghostscript-lambda-layer
all ghostscript
Git + SSH ARN: arn:aws:lambda:<region>:553035198032:layer:git:<version>
Link: lambci/git-lambda-layer
all git
GraphicsMagick ARN: arn:aws:lambda:<region>:175033217214:layer:graphicsmagick:<version>
Link: rpidanny/gm-lambda-layer
all graphicsmagick
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
Link: shivtej1505/phantom-js-lambda-layer
all phantom-js
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
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
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
Link: alexandredavi/openssl-lambda-layer
all openssl-lambda
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
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 python37-layer-pandas-gbq
Pandoc ARN: arn:aws:lambda:us-east-1:145266761615:layer:pandoc:1
Link: serverlesspub/pandoc-aws-lambda-binary
all pandoc
paramiko Link: jetbridge/paramiko-lambda-layer python3.7 paramiko-py38
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
Link: RafalWilinski/serverless-puppeteer-layers
all Self publish
psycopg2 Link: jetbridge/psycopg2-lambda-layer python3.6 python3.7 python3.8 psycopg2-py37 psycopg2-py38
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
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
Link: serverlesspub/rsvg-convert-aws-lambda-binary
all rsvg-convert
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 python-3-7-scikit-learn-0-23-1
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 Self publish
SoX ARN: arn:aws:lambda:us-east-1:145266761615:layer:sox:1
Link: serverlesspub/sox-aws-lambda-binary
all sox
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
Link: Datadog's Lambda Layer
python2.7, python3.6, python3.7, Datadog-Python27 Datadog-Python36 Datadog-Python37
Epsagon Node ARN: arn:aws:lambda:<region>:066549572091:layer:epsagon-node-layer:1
Link: Epsagon Node Layer
nodejs6.10, nodejs8.10 epsagon-node-layer
Epsagon Python ARN: arn:aws:lambda:<region>:066549572091:layer:epsagon-python-layer:1
Link: Epsagon Python Layer
python2.7, python3.6, python3.7 epsagon-node-layer
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-nodejs
Instana Python ARN: arn:aws:lambda:<region>:410797082306:layer:instana-python:<version>
Link: Instana Python Layer
python2.7, python3.6, python3.7, python3.8 instana-python
IOpipe Node ARN: arn:aws:lambda:<region>:146318645305:layer:IOpipeNodeJS810:<version>
Link: IOpipe Node Layer
nodejs6.10, nodejs8.10 IOpipeNodeJS810
IOpipe Python ARN: arn:aws:lambda:<region>:146318645305:layer:IOpipePython:<version>
Link: IOpipe Python Layer
python2.7, python3.6, python3.7 IOpipePython
IOpipe Java ARN: arn:aws:lambda:<region>:146318645305:layer:IOpipeJava8:<version>
Link: IOpipe Java Layer
java8 IOpipeJava8
Lumigo Node ARN: arn:aws:lambda:YOUR-REGION:724777057400:layer:lumigo-node-tracer:<version>
Link: Lumigo Node Layer
nodejs8.10, nodejs10.X lumigo-node-tracer
Lumigo Python ARN: arn:aws:lambda:YOUR-REGION:724777057400:layer:lumigo-python-tracer:<version>
Link: Lumigo Python Layer
python3.6, python3.7 lumigo-python-tracer
New Relic Node ARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicNodeJS810:<version>
Link: New Relic Node Layer
nodejs8.10 NewRelicNodeJS810
New Relic Node ARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicNodeJS10X:<version>
Link: New Relic Node Layer
nodejs10.x NewRelicNodeJS10X
New Relic Python ARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicPython27:<version>
Link: New Relic Python Layer
python2.7 NewRelicPython27
New Relic Python ARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicPython36:<version>
Link: New Relic Python Layer
python3.6 NewRelicPython36
New Relic Python ARN: arn:aws:lambda:YOUR-REGION:451483290750:layer:NewRelicPython37:<version>
Link: New Relic Python Layer
python3.7 NewRelicPython37
Thundra Node ARN: arn:aws:lambda:<region>:269863060030:layer:thundra-lambda-node-layer:<version>
Link: Thundra Node Layer
nodejs8.10, nodejs10.x, nodejs12.x, nodejs14.x thundra-lambda-node-layer
Thundra Python ARN: arn:aws:lambda:<region>:269863060030:layer:thundra-lambda-python-layer:<version>
Link: Thundra Python Layer
python2.7, python3.6, python3.7, python3.8, python3.9 thundra-lambda-node-layer
Thundra Java ARN: arn:aws:lambda:<region>:269863060030:layer:thundra-lambda-java-layer:<version>
Link: Thundra Java Layer
java8, java11 thundra-lambda-java-layer

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