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
Flying in the cloud
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Fabrizio Fortunato
May 09, 2019
Technology
190
1
Share
Flying in the cloud
Fabrizio Fortunato
May 09, 2019
More Decks by Fabrizio Fortunato
See All by Fabrizio Fortunato
A complexity odyssey
izifortune
0
150
MVC is dead - Again
izifortune
1
150
MVC is dead!
izifortune
0
180
Angular perf tips and upgrade pills
izifortune
1
95
Other Decks in Technology
See All in Technology
AWS認定資格は本当に意味があるのか?
nrinetcom
PRO
2
280
AWS DevOps Agentはチームメイトになれるのか?/ Can AWS DevOps Agent become a teammate
kinunori
6
750
No Types Needed, Just Callable Method Check
dak2
1
1.4k
AIでAIをテストする - 音声AIエージェントの品質保証戦略
morix1500
1
130
260420_スマートホーム採用説明 - wakinchan
wakinchan
0
120
Keeping Ruby Running on Cygwin
fd0
0
170
CloudTrail を見つめ直してみる
kazzpapa3
1
100
UIライブラリに依存しすぎないReact Native設計を目指して
grandbig
0
100
小説執筆のハーネスエンジニアリング
yoshitetsu
0
730
自立を加速させる神器 - EMOasis #11
stanby_inc
0
150
マルチプロダクトの信頼性を効率良く保っていくために
kworkdev
PRO
0
170
Standards et agents IA : un tour d’horizon de MCP, A2A, ADK et plus encore
glaforge
0
170
Featured
See All Featured
Producing Creativity
orderedlist
PRO
348
40k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
170
Joys of Absence: A Defence of Solitary Play
codingconduct
1
350
Designing for Timeless Needs
cassininazir
0
200
エンジニアに許された特別な時間の終わり
watany
106
240k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Become a Pro
speakerdeck
PRO
31
5.9k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
110
Navigating Team Friction
lara
192
16k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
280
Navigating Weather and Climate Data
rabernat
0
170
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
Transcript
Flying in the cloud Fabrizio Fortunato - Ryanair Labs
ME Head of Frontend at Ryanair Labs @izifortune https://izifortune.com
None
On premise overview
None
None
A serverless website What is a serverless website? Why a
serverless website? How to run a serverless website?
AWS serverless services Cloudfront L@E S3
We make interfaces. We don’t manage servers.
None
Cloudfront with s3 origin
None
Serverless rewrites with L@E
Serverless rewrites with L@E
@ryanairlabs 2014 2017 2016
What is a micropage? • Independent development & deployment •
Loosely coupled page • Single Page Application per page • Reduced technical debt surface • Strict performance budget
Micropages architecture
Micropages architecture on AWS
1.1MB 372KB Micropage size comparison: 66% reduction
None
Brotli is a generic-purpose lossless compression algorithm that compresses data
using a combination of a modern variant Brotli
Serverless Compression
Brotli L@E
brotli vs gzip: 23% file size difference
None
Serverless canary deployment
Canary deployment L@E duration: ~500ms
Serverless canary deployment v2
Optimised canary deployment comparison: -350ms L@E = -500ms page load
None
What security headers? • X-XSS-Protection • HTTP Strict Transport Security
(HSTS) • X-Frame-Options • X-Content-Type-Options • Referrer-Policy • CSP
Security headers score
Serverless security headers
None
None
None
Serverless Redirection
Redirect L@E
Takeaways What does it take to run a serverless website
at scale Build infrastructure based on business needs and team skills Focus on business value thanks to L@E simplicity and flexibility
Thank you