the rise of serverless architectures
TRANSCRIPT
The Rise of Serverless Architectures
Photo by Shane PerryIcon by Serverless
http://imgur.com/gallery/gxvJQNq
I am Benny BauerEx-
Cloud Architect & Serverless Enthusiast
Find me at @benikbauer
Hello!
“
Devise technical solutionsfor business needs.
Business
Technical Solution
Architect’s Role
Our Needs
Technology
Hype & disregard spectrum
Diagram from wardleymaps.comImage created by https://dev.to/rly
EvolutionGenesis Custom Built Product (+ rental) Commodity (+ utility)
Cloud evolution as an example
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
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
How it works
Deploy your code
Define triggers
Code executes & auto-scales
❏ HTTP request❏ Storage❏ DB❏ Schedule
❏ Messaging❏ Monitoring❏ Build❏ More...
◉ REST API◉ Bots◉ File processing & Data ingestion◉ Incidents handling (Monitoring events)◉ IoT◉ Operations, monitoring, CI, health checks,
tests, scheduled jobs◉ and more...
Use cases
Example: Bot
Example: Bot
Bot icon made by Arsenty from Noun Project
DBAPI Gateway
FaaS A
Storage
notification file uploaded
event
/cover?t=hype
FaaS B
Things to be aware of
Stateless
Instances are ephemeral.Store state on client-side, cache or db.
Cold start
Latency (< 2 sec) when container is cold (upon first run or inactivity).
Vendor lock-in
Integrations with other services are the real bait.
Granularity
Unit of deployment is nanoservice/function.
Costs
Not cost-effective from a certain threshold.
Limitations
Execution time is 5 min. Concurrent instances, payload, disk are limited.
EcosystemFrameworks & Tools
Frameworks
Chalise
Tools
The FaaS effectNew 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
SummaryWhat was it all about?
Takeaways
◉ FaaS is the latest evolution of cloud ◉ New emerging practices◉ How can Serverless help deliver my business
needs?
Any questions?
Thanks!
Slides template by SlidesCarnival
You can find me at
◉ @benikbauer◉ [email protected]