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 Image Resizing
Search
stevenjackson
April 21, 2016
Programming
0
82
Lambda Image Resizing
Lunch and Learn - April 2016
stevenjackson
April 21, 2016
Tweet
Share
More Decks by stevenjackson
See All by stevenjackson
Death By Specification
stevenjackson
1
41
Devour The Cloud With Locust Swarms - Hands On Load Testing
stevenjackson
0
84
Looking for Failure
stevenjackson
0
140
Better Software Through Shared Understanding
stevenjackson
0
170
Going to Eleven
stevenjackson
0
83
A Locust Storm Is A Good Thing!
stevenjackson
0
140
Faliing Your Way To Success
stevenjackson
0
93
Death By Specification(cukeup)
stevenjackson
0
150
Failure Lightning Talk
stevenjackson
0
98
Other Decks in Programming
See All in Programming
Claude Codeセッション現状確認 2026福岡 / fukuoka-aicoding-00-beacon
monochromegane
4
440
RubyとGoでゼロから作る証券システム: 高信頼性が求められるシステムのコードの外側にある設計と運用のリアル
free_world21
0
310
maplibre-gl-layers - 地図に移動体たくさん表示したい
kekyo
PRO
0
290
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
420
LangChain4jとは一味違うLangChain4j-CDI
kazumura
1
200
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
340
エンジニアの「手元の自動化」を加速するn8n 2026.02.27
symy2co
0
160
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
0
120
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
260
Ruby and LLM Ecosystem 2nd
koic
1
1k
CS教育のDX AIによる育成の効率化
niftycorp
PRO
0
140
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
2
450
Featured
See All Featured
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
240
Raft: Consensus for Rubyists
vanstee
141
7.4k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
A better future with KSS
kneath
240
18k
A Soul's Torment
seathinner
5
2.5k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Designing for Timeless Needs
cassininazir
0
170
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
980
Navigating Weather and Climate Data
rabernat
0
140
The Limits of Empathy - UXLibs8
cassininazir
1
260
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
230
Transcript
WE DON’T NEED NO STINKING SERVERS IMAGE RESIZING WITH AWS
LAMBDA
The Problem: For the last 6 years, users have been
able to upload any image they like for use in a VizZle lesson 10144 × 8054 pixels 32.6 MB 980 DPI minutes to download
And the app would never show it at that resolution!
Max Page Size: 1920 x 1080 414x329 915x686 944x708
Or the old app Flash “Card” Size: 520 x 390
The Solution: Batch convert all the images! Max Image Size
960x540 680x540 $ convert 1416855261.78270 -size x540
“How many images are there anyway?” –Hey Blinken
None
None
None
“Are you going to download every one from the internet?”
–Al Gore
None
None
“What are we going to do with new uploads?” –Johnny
Five
None
None
“Who is going to maintain that EC2 instance?” –Jeff Bezos
None
None
None
None
None
None
None
None
Or any binary compiled on Amazon Linux!
None
None
None
None
None
None
None
Read/Write S3 Role Type: AWS Lambda Attach Policy: AWSLambdaExecute
None
None
Lambda Interface
None
None
Deployment
Configuration
Testing
Testing
Testing
Image Resizing Gotchas Maintain Aspect Ratios Lossy vs Lossless Lossy
vs Headless Lambda Inception ACLs
Image Resizing Gotchas Maintain Aspect Ratios Lossy vs Lossless Lossy
vs Headless Lambda Inception ACLs
Lambda Gotchas Function runtime is limited to 5 minutes Maximum
of 1.5GB memory Debugging involves waiting for CloudWatch logs to show up
“What else can we do with it?” –Jeff Bezos
None
None
None
None
None
None
None
None
None
None
None