SlideShare a Scribd company logo
The Rise of Serverless -
When to FaaS?
Photo by Shane Perry
Icon by Serverless
◉ Cloud Architecture & Development Consulting
◉ Serverless Enthusiast
◉ Ex-
Find me at @benikbauer
I am Benny Bauer
Shalom!
EvolutionGenesis Custom Built Product (+ rental) Commodity (+ utility)
Cloud evolution in 60 sec
Data center
Hosting
Virtualization IaaS
Icons made by freepik from www.flaticon.com & unlimicon from Noun Project
On
Premise
Compute
Platform PaaS Serverless
What is Serverless
FaaS BaaS B2D SaaS
What is FaaS - Function as a
Service
Fully-managed
compute
Provisioning,
patching, scaling,
monitoring, logging
are provided
out-of-the- box
Deploy your code
Just package and
upload the code
Pay for actual usage
Getting charged only
upon code execution,
per 100ms
100%
UTILIZATION
LESS OPS
How it works
Deploy your
code
Define
triggers
Code
execution
(ephemeral
instance)
EVENT-DRIVEN
AUTO SCALING
+
AVAILABILITY
Event-driven on steroids
◉ HTTP requests
◉ Storage (e.g. file upload)
◉ DB (e.g. row insert)
◉ Events stream
◉ Queue/Messaging
◉ Scheduled job
◉ Monitoring
◉ Infrastructure events
◉ Code build events
◉ Many more...
Distributed architecture on steroids
Monolith Microservices Serverless
Source: http://ryanjbaxter.com/2015/07/15/using-microservices-to-build-cloud-native-applications-part-1/
Bad
◉ Monitoring
◉ Debugging
◉ Deployment
◉ Security
Distributed architecture on steroids
Good
◉ Scaling
◉ Fault tolerance
◉ Ownership
◉ Cost (better utilization)
Let’s combine these building blocks to something useful
Use Cases
Serverless - When to FaaS?
Use case: Web backend
Use case: Web backend
Source: https://www.linkedin.com/pulse/serverless-architecture-cloud-guru-ryan-kroonenburg
Serverless - When to FaaS?
Use case: Mobile backend
Use case: Mobile backend
Async request
Serverless - When to FaaS?
Use case: File processing
Use case: File processing
Serverless - When to FaaS?
Use case: Bot
by
Use case: Bot
Serverless - When to FaaS?
Use case: Distributed compute
import pywren
def my_function(x):
return x + 7
wrenexec = pywren.default_executor()
futures = wrenexec.map(my_function, range(10))
pywren.get_all_results(futures)
pywren
Serverless - When to FaaS?
Use case: Stream processing
◉ Log processing
◉ Analytics
◉ etc.
Serverless - When to FaaS?
Use case: Scheduled tasks
◉ Health checks
◉ Monitoring
◉ Periodical digest
◉ etc.
Serverless - When to FaaS?
Use case: Operations
Policy enforcement on AWS resources.
Examples:
● Unmanaged instances handling
● Low utilized instances resizing
Triggered by:
● CloudWatch events
● Scheduled
Serverless - When to FaaS?
Use case: CI
Source: https://github.com/lambci/lambci
Use case: CI
Source: https://github.com/lambci/lambci
LambCI
(Travis alternative)
Serverless - When to FaaS?
Use case: IoT backend
Source: https://www.hackster.io/jose-troche/alexa-drone-pilot-7f2deb
Use case: IoT backend
Source: https://medium.com/serverless-stories/building-a-serverless-garden-monitoring-system-with-lambda-c72c54113df2
Garden Monitoring
System
Serverless - When to FaaS?
Use case: CDN
Source: https://www.slideshare.net/AmazonWebServices/new-launch-bringing-aws-lambda-to-the-edge
◉ Purpose:
○ Better UX
○ Reduce load from
backend
◉ Use cases:
○ Request validation
○ A/B testing
○ Content customizations
according to user-agent
Use case: CDN
Source: https://www.slideshare.net/AmazonWebServices/new-launch-bringing-aws-lambda-to-the-edge
Serverless - When to FaaS?
Source: https://www.slideshare.net/AmazonWebServices/aws-welcome-to-reinvent-recap-20161214
Use case: @Device
Use case: @Device - example
Source: https://www.slideshare.net/AmazonWebServices/aws-welcome-to-reinvent-recap-20161214
Serverless - When to FaaS?
Use case: More
But isn’t it limitationless??
Mind The Limitations
Limitations: Stateless
◉ Instances are ephemeral (memory, storage)
but not necessarily disposable
◉ No sticky sessions
◉ Workarounds:
○ Websockets through IoT (MQTT)
○ Manage state yourself:
■ Pass on request
■ Store in cache/db
Execution
time:
5 min
Memory:
1.5GB
Disk:
500MB
Package
(zip):
50MB
Limitations: Provider limits
◉ Ephemeral => cold start on first or
infrequent calls
◉ Inconsistent
Limitations: Latency
Source: http://www.yusp.com/blog/cold-start-problem-recommender-systems/
Limitations: Latency
Source: https://blog.newrelic.com/2017/01/11/aws-lambda-cold-start-optimization/
Frequency:
1 minute
10 minutes
30 minutes
60 minutes
Limitations: Latency
Source: http://ericjonas.com/pywren.html
Limitations: Costs
AWS Lambda EC2
Duration Per 100 ms
Per 1 hour
Reduced cost for RI
Cost of
ownership
Low High
Additional costs Requests
Redundancy
Storage
Cost effective For low or changing load For high utilization
Limitations: Costs
Cost
Usage
EC2
AWS Lambda
Limitations: Vendor lock-in
◉ The real lock-in is the integrated services
◉ A tradeoff: control vs. convenience
Source: https://www.slideshare.net/AmazonWebServices/reinvent-recap-session-1-whats-new-with-aws-lambda
Limitations: Vendor lock-in
(alternatives)
Kubeless
funktion
Limitations: Vendor lock-in
(alternatives)
Know the challenges
◉ Development
○ Local development
○ Integration tests
○ Debugging
◉ Granularity
○ Deployment
○ Monitoring
○ Logging
○ Security
○ Service discovery
Frameworks
Chalise
Tools
The FaaS effect
New emerging practices
Photo by TimOve (https://flic.kr/p/4aTMMx)
Business model
◉ Worth Based Development (“FinDev”)
https://hackernoon.com/why-the-fuss-about-serverless-4370b1596da0#.yct5knd7h by Simon Wardley
Business model
◉ API Marketplace
Architecture
◉ More distributed and pluggable
◉ More event-driven
◉ Frameworks are changing
Operations
DevOps is changing
◉ Less about provisioning, capacity planning
◉ More about distributed systems:
○ Monitoring & visibility
○ Debuggability
○ Graceful degradation & Resiliency
○ CI/CD
○ Costs optimisations
Summary
What was it all about?
Predicting the future
◉ Lower costs
◉ Less limitations
◉ More use cases
◉ More tooling
Takeaways
◉ Deliver faster with lower costs for many use
cases
◉ Consider limitations
◉ Get ready for new emerging practices
Any questions?
Thanks!
Slides template by SlidesCarnival
You can find me at
◉ @benikbauer
◉ bennybauer@gmail.com
This work is licensed under a CC Attribution 4.0 International License.

More Related Content

PDF
Db2 & Db2 Warehouse v11.5.4 最新情報アップデート2020年8月25日
PPTX
ぼくがAthenaで死ぬまで
PPTX
Cloud Adoption Framework - Overview_partner.pptx
PDF
【Interop Tokyo 2016】 初心者でもわかるCisco SDNの概要
PPTX
Azure Cosmos DB のキホンと使いドコロ
PDF
Hadoop/Spark で Amazon S3 を徹底的に使いこなすワザ (Hadoop / Spark Conference Japan 2019)
PPTX
サポート エンジニアが語る、トラブルを未然に防ぐための Azure インフラ設計
PPTX
Iaas.paas.saas
Db2 & Db2 Warehouse v11.5.4 最新情報アップデート2020年8月25日
ぼくがAthenaで死ぬまで
Cloud Adoption Framework - Overview_partner.pptx
【Interop Tokyo 2016】 初心者でもわかるCisco SDNの概要
Azure Cosmos DB のキホンと使いドコロ
Hadoop/Spark で Amazon S3 を徹底的に使いこなすワザ (Hadoop / Spark Conference Japan 2019)
サポート エンジニアが語る、トラブルを未然に防ぐための Azure インフラ設計
Iaas.paas.saas

What's hot (20)

PDF
Cloud Migration Strategy and Best Practices
PDF
SAP S/4HANA on AWS Tシャツモデル
PDF
AWSとオンプレミスを繋ぐときに知っておきたいルーティングの基礎知識(CCSI監修!)
PPTX
Dockerからcontainerdへの移行
PPTX
Cloud Migration Strategy Framework
PDF
Introduction to Microsoft Azure Cloud
PPTX
smarthrを支えるインフラ
PDF
情報推薦システム入門:講義スライド
PDF
20201008 AWS独自設計推論チップInferentiaとInf1インスタンス
PPTX
NTTデータ流Infrastructure as Code~ 大規模プロジェクトを通して考え抜いた基盤自動化の新たな姿~(NTTデータ テクノロジーカンフ...
PDF
クラウドのためのアーキテクチャ設計 - ベストプラクティス -
PDF
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
PDF
楽天サービスを支えるネットワークインフラストラクチャー
PDF
Managed Service Provider(MSP)によるマルチOrganizations管理の裏側(Security JAWS 第24回 発表資料)
PDF
初心者向けWebinar AWSで開発環境を構築しよう
PPTX
SageMaker Neoの可能性について - 第3回 Amazon SageMaker 事例祭り+体験ハンズオン
PPTX
Power of the cloud - Introduction to azure security
PDF
Observability
PDF
NRIのプロジェクト管理ソリューションにおけるKibanaを用いたログ活用事例紹介
PPTX
Windowsシステムの AWS移行とMulti-AZ化 - JAWS DAYS 2015
Cloud Migration Strategy and Best Practices
SAP S/4HANA on AWS Tシャツモデル
AWSとオンプレミスを繋ぐときに知っておきたいルーティングの基礎知識(CCSI監修!)
Dockerからcontainerdへの移行
Cloud Migration Strategy Framework
Introduction to Microsoft Azure Cloud
smarthrを支えるインフラ
情報推薦システム入門:講義スライド
20201008 AWS独自設計推論チップInferentiaとInf1インスタンス
NTTデータ流Infrastructure as Code~ 大規模プロジェクトを通して考え抜いた基盤自動化の新たな姿~(NTTデータ テクノロジーカンフ...
クラウドのためのアーキテクチャ設計 - ベストプラクティス -
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
楽天サービスを支えるネットワークインフラストラクチャー
Managed Service Provider(MSP)によるマルチOrganizations管理の裏側(Security JAWS 第24回 発表資料)
初心者向けWebinar AWSで開発環境を構築しよう
SageMaker Neoの可能性について - 第3回 Amazon SageMaker 事例祭り+体験ハンズオン
Power of the cloud - Introduction to azure security
Observability
NRIのプロジェクト管理ソリューションにおけるKibanaを用いたログ活用事例紹介
Windowsシステムの AWS移行とMulti-AZ化 - JAWS DAYS 2015
Ad

Similar to Serverless - When to FaaS? (20)

PDF
Python in the serverless era (PyCon 2017)
PDF
A real-life account of moving 100% to a public cloud
PDF
The Rise of Serverless Architectures
PPTX
Migrating enterprise workloads to AWS
PDF
Keepler | Full-Stack Serverless Applications on GCP
PPTX
Migrating enterprise workloads to AWS
PDF
Serverless security for multi cloud workloads
PDF
Lessons learned while going serverless in production
PDF
Simpler, faster, cheaper Enterprise Apps using only Spring Boot on GCP
PPTX
Gaming across multiple devices
PDF
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
PPTX
A faster web
PDF
Java in the Cloud : PaaS Platforms in Comparison
PDF
Java in the Cloud : PaaS Platforms in Comparison
PDF
Migrating Enterprise Applications to AWS
PDF
Amazon Container 환경의 보안 – 최인영, AWS 솔루션즈 아키텍트:: AWS 온라인 이벤트 – 클라우드 보안 특집
PDF
Best Practices for Running SAP System Workloads on the AWS Cloud
PDF
Writing and deploying serverless python applications
PDF
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
PPTX
Running Oracle EBS in the cloud (DOAG TECH17 edition)
Python in the serverless era (PyCon 2017)
A real-life account of moving 100% to a public cloud
The Rise of Serverless Architectures
Migrating enterprise workloads to AWS
Keepler | Full-Stack Serverless Applications on GCP
Migrating enterprise workloads to AWS
Serverless security for multi cloud workloads
Lessons learned while going serverless in production
Simpler, faster, cheaper Enterprise Apps using only Spring Boot on GCP
Gaming across multiple devices
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
A faster web
Java in the Cloud : PaaS Platforms in Comparison
Java in the Cloud : PaaS Platforms in Comparison
Migrating Enterprise Applications to AWS
Amazon Container 환경의 보안 – 최인영, AWS 솔루션즈 아키텍트:: AWS 온라인 이벤트 – 클라우드 보안 특집
Best Practices for Running SAP System Workloads on the AWS Cloud
Writing and deploying serverless python applications
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
Running Oracle EBS in the cloud (DOAG TECH17 edition)
Ad

Recently uploaded (20)

PPTX
Introduction to Artificial Intelligence
PDF
Nekopoi APK 2025 free lastest update
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
System and Network Administration Chapter 2
PPTX
ai tools demonstartion for schools and inter college
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
top salesforce developer skills in 2025.pdf
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
Essential Infomation Tech presentation.pptx
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Introduction to Artificial Intelligence
Nekopoi APK 2025 free lastest update
PTS Company Brochure 2025 (1).pdf.......
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
wealthsignaloriginal-com-DS-text-... (1).pdf
System and Network Administration Chapter 2
ai tools demonstartion for schools and inter college
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Understanding Forklifts - TECH EHS Solution
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
top salesforce developer skills in 2025.pdf
2025 Textile ERP Trends: SAP, Odoo & Oracle
Essential Infomation Tech presentation.pptx
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
VVF-Customer-Presentation2025-Ver1.9.pptx
Which alternative to Crystal Reports is best for small or large businesses.pdf
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf

Serverless - When to FaaS?