Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Lambda Layers FTW!
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Francesco Lerro
February 12, 2019
Technology
1
1.1k
Lambda Layers FTW!
A technical deep dive into AWS Lambda Layers!
Francesco Lerro
February 12, 2019
Tweet
Share
More Decks by Francesco Lerro
See All by Francesco Lerro
Playing with serverless building blocks
flerro
0
120
Orchestration VS Choreography in Serverless
flerro
0
340
Serverless architecture patterns
flerro
1
410
A serverless data pipeline for Insurance Telematics
flerro
1
440
AWS ❤ SAM / Serverless On Stage #9
flerro
0
590
Tecnologie Groovy - Seconda Parte
flerro
0
560
Tecnologie Groovy - Prima parte
flerro
0
600
Other Decks in Technology
See All in Technology
LINEアプリ開発のための Claude Code活用基盤の構築
lycorptech_jp
PRO
1
1k
Interop Tokyo 2025 ShowNet Team Memberで学んだSRv6を基礎から丁寧に
miyukichi_ospf
0
200
社内ワークショップで終わらせない 業務改善AIエージェント開発
lycorptech_jp
PRO
1
370
インシデント対応入門
grimoh
7
5.2k
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.1k
2026年のAIエージェント構築はどうなる?
minorun365
11
2.4k
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4k
Goで実現する堅牢なアーキテクチャ:DDD、gRPC-connect、そしてAI協調開発の実践
fujidomoe
3
750
サンタコンペ2025完全攻略 ~お前らの焼きなましは遅すぎる~
terryu16
1
470
プロダクト開発の品質を守るAIコードレビュー:事例に見る導入ポイント
moongift
PRO
1
500
Claude Codeと駆け抜ける 情報収集と実践録
sontixyou
1
1.1k
Featured
See All Featured
New Earth Scene 8
popppiees
1
1.6k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Context Engineering - Making Every Token Count
addyosmani
9
690
Docker and Python
trallard
47
3.7k
A Soul's Torment
seathinner
5
2.4k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
How GitHub (no longer) Works
holman
316
140k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
200
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
210
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
How to Talk to Developers About Accessibility
jct
2
140
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
350
Transcript
AWS Lambda Layers FTW! Serverless On Stage #20 - Milan,
12/02/2019
Working with AWS Lambda? Don’t repeat yourself!
HELLO! I am Francesco Lerro I am a Solution Architect
who loves the Cloud Find me on Twitter @flerro
DEPLOY Code External Library 1 External Library 2 MyFunction 1
data.json Function code Code External Library 1 Custom Module 1 MyFunction 2 data.json Function code Code Custom Module 1 External Library 2 MyFunction 3 data.json Function code Non DRY!
DEPLOY (shared modules) Code MyFunction 1 Function code Code MyFunction
2 Function code Code MyFunction 3 Function code External Library 2 data.json Custom Module 1 External Library 1 MyBundle1
Lambda Layer A collection of arbitrary code, third party libraries
and data that can be referenced by many Lambda functions
Lambda Layer benefits ∎ Enforce separation of concerns ∎ Enable
code reuse between functions ∎ Allow faster deployment, avoiding duplication
Using Lambda Layers 1. Put shared components and data in
a ZIP package 2. Create a new layer version, uploading the ZIP package 3. Reference layer version from a function
Paths Default paths for Lambda Layers unzipped
None
Lambda Layers limits ∎ Up to 5 layers can be
used per function ∎ Max extracted size per layer is 250MB
Lambda Layers access ∎ Shareable across same account, different AWS
accounts or public ∎ When deleted, a layer could not be referenced by newer functions ∎ AWS provides NumPy/SciPy layer for ML application
SAM A SAM template with Lambda and Layer, use SAM
CLI 0.9.0+
DEMO Code available on Github: https://github.com/flerro/lambda-layers-FTW
THANKS! Any questions? Content released under Public Domain Presentation template
by SlidesCarnival