$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Lambda Layers FTW!
Search
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
100
Orchestration VS Choreography in Serverless
flerro
0
310
Serverless architecture patterns
flerro
1
400
A serverless data pipeline for Insurance Telematics
flerro
1
420
AWS ❤ SAM / Serverless On Stage #9
flerro
0
570
Tecnologie Groovy - Seconda Parte
flerro
0
530
Tecnologie Groovy - Prima parte
flerro
0
580
Other Decks in Technology
See All in Technology
30分であなたをOmniのファンにしてみせます~分析画面のクリック操作をそのままコード化できるAI-ReadyなBIツール~
sagara
0
180
GitHub Copilotを使いこなす 実例に学ぶAIコーディング活用術
74th
3
3.6k
大企業でもできる!ボトムアップで拡大させるプラットフォームの作り方
findy_eventslides
1
860
業務のトイルをバスターせよ 〜AI時代の生存戦略〜
staka121
PRO
2
230
年間40件以上の登壇を続けて見えた「本当の発信力」/ 20251213 Masaki Okuda
shift_evolve
PRO
1
140
寫了幾年 Code,然後呢?軟體工程師必須重新認識的 DevOps
cheng_wei_chen
1
1.5k
AWS運用を効率化する!AWS Organizationsを軸にした一元管理の実践/nikkei-tech-talk-202512
nikkei_engineer_recruiting
0
130
SREには開発組織全体で向き合う
koh_naga
0
390
re:Invent 2025 ~何をする者であり、どこへいくのか~
tetutetu214
0
230
障害対応訓練、その前に
coconala_engineer
0
130
AWS re:Invent 2025で見たGrafana最新機能の紹介
hamadakoji
0
440
20251218_AIを活用した開発生産性向上の全社的な取り組みの進め方について / How to proceed with company-wide initiatives to improve development productivity using AI
yayoi_dd
0
280
Featured
See All Featured
Chasing Engaging Ingredients in Design
codingconduct
0
75
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
22
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
94
Designing for humans not robots
tammielis
254
26k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
140
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
2
2.7k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
45
How to Think Like a Performance Engineer
csswizardry
28
2.4k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
0
170
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
180
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
0
39
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