SlideShare a Scribd company logo
The future will be
SERVERLESS
Munich, 9 Dec 2017
Luciano Mammino ( )@loige
loige.link/serverless-future 1
loige.link/serverless-future 2
Luciano... who?
Let's connect
(@loige)
(lmammino)
Twitter
GitHub
Linkedin
https://loige.co
... just a Fullstack developer
3
Agenda
Chapter 1: from bare metal to Serverless
Chapter 2: Serverless, WTF?!
Chapter 3: Understanding Serverless
Chapter 4: A Serverless use case
Chapter 5: PROs n' CONs
Chapter 6: It's time to get started
4
Chapter 1
from bare metal to Serverless
5
“You have to know the past
to understand the present.”
― Carl Sagan
6
1989-1991 — Sir Tim Berners-Lee invented the World Wide Web 7
1991-1995 — The bare metal age 8
1995 — The invention of web hosting 9
1999 — Salesforce introduces the concept of Software as a Service (SaaS)
Marc Benioff
10
2001 — VMWare releases ESXi, "server virtualization" becomes a thing 11
2002-2006 — AWS is born (IaaS), people talk about "Cloud computing" 12
2009 — Heroku and the invention of the "Platform as a Service" (PaaS)
James Lindenbaum
Adam Wiggins
Orion Henry
13
2011 — Envolve/Firebase, real time database as a service (RTDaaS???)
James Tamplin and Andrew Lee
14
2012 — Parse.com and the first Backend as a Service (BaaS)
Tikhon Bernstam
Ilya Sukhar
James Yu
Kevin Lacker
15
2013 — Docker, "containers are better than virtual machines"
Solomon Hykes
16
2013-2015 — Kubernetes / Swarm / Nomad / CoreOs (containers at scale) 17
2014 — Launch of AWS Lambda (FaaS) 18
Chapter 2
Serverless, WTF*?!
*What's The Fun 19
"Serverless most often refers to serverless applications. Serverless
applications are ones that don't require you to provision or manage any
servers. You can focus on your core product and business logic instead of
responsibilities like operating system (OS) access control, OS patching,
provisioning, right-sizing, scaling, and availability. By building your
application on a serverless platform, the platform manages these
responsibilities for you."
— Amazon Web Services
loige.link/serverless-apps-lambda
20
“ The essence of the serverless trend is the absence of the
server concept during software development.
— Auth0
loige.link/what-is-serverless
21
loige.link/serverless-commitstrip 22
Chapter 3
Understanding Serverless
23
loige.link/serverless-abstraction
24
The 4 pillars of serverless
(TLDR; It's not only about servers)
No server management
You don't know how many and how they are configured
Flexible scaling
If you need more resources, they will be allocated for you
High availability
Redundancy and fault tolerance are built in
Never pay for idle
Unused resources cost $0
25
The serverless layers
(TLDR; It's not only "FaaS")
👉 Compute
👉 Data
👉 Messaging and Streaming
26
👉 User Management and Identity
👉 Monitoring and Deployment
👉 Edge
Stuff that we can build
📱 Mobile Backends
🔌 APIs & Microservices
📦 Data Processing pipelines
⚡ Webhooks
🤖 Bots and integrations
⚙ IoT Backends
💻 Single page web applications
27
execution model
Event → 𝑓
28
IF ________________________________
THEN ________________________________
"IF this THEN that" model
29
Serverless and JavaScript
Frontend
🌏 Serverless Web hosting is static, but you can build SPAs
(React, Angular, Vue, etc.)
Backend
👌 Node.js is supported by every provider
⚡ Fast startup (as opposed to Java)
📦 Use all the modules on NPM
🤓 Support other languages/dialects
(TypeScript, ClojureScript, ESNext...)
30
exports.myLambda = function (
event,
context,
callback
) {
// get input from event and context
// use callback to return output or errors
}
Anatomy of a Node.js lambda on AWS
31
Chapter 4
A serverless use case
32
In order to consume DuoS data for invoicing
As an engineer
I Want to have a process that keeps data from
the source FTP in sync
And exposes it as a REST API
33
A serverless implementation (on AWS)
DuoS Data
3rd-party
FTP Storage
DuoS API
(API Gateway)
DuoS service
Invoice
service
Sync
Lambda
Parse/Load
Lambda
API
Lambda
DuoS S3
Bucket
34
DuoS
DynamoDB Table
scheduled event
new object
API
Request
(Many) things I didn't have to worry about...
What kind of virtual machine do I need?
What operative system?
How to keep OS/System updated?
How much disk space do I need?
How do I handle/retry failures?
How do I collect and rotate logs?
What about metrics?
What machine do I need to run the database?
How do I backup the database?
How do I scale the database?
Which web server should I use and how to configure it?
Throttling? Managing API Keys? API caching?
35
Chapter 5
PROs n' CONs​
36
Focus on delivering
business value / Fast time
to market
37
Less "Tech-freedom™" /
Tight vendor lock-in!
38
Optimal resource allocation
39
Not-magic™!
You still have to write configuration
40
Auto-scalability
41
Cold start problem
loige.link/cold-start
42
High Availability
43
Soft/Hard Limits
loige.link/lambda-limits​
44
Pay per usage
(don't pay for idle!)
45
Local development,
Testing, Debugging
46
Growing ecosystem
47
Older technologies
might not integrate well
48
Chapter 6
It's time to get started​
49
Who is already adopting Serverless
50
Pick one and start to have fun!
IBM
Cloud
Functions
AWS
Lambda
Azure
Functions
Google
Cloud
Functions
Auth0
Webtask
Iron.io
FaaS
Spotinst
Functions
Apache
OpenWhisk
Fission
stdlib
service
Functions
51
Fn Kubeless
Cloud based
Self-hosted / Open Source
Feffe LeverOS
Why is this the right
direction for the future?
2 main reasons
Opportunity to deliver value to customer quickly
Pay only for the used resources
52
Should I migrate all my apps
to serverless?
Approach this with care...
53
Thanks!
Questions?
Now or later to :)@loige
loige.link/serverless-future
If your company wants to get started with serverless on
AWS, be sure to check out serverlesslab.com
54
Credits
Cover photo by on
High Res Emojis by
Tobias Zils Unsplash
emojiisland.com
webfoundation.org/about/vision/history-of-the-web/
en.wikipedia.org/wiki/Web_hosting_service​
loige.link/web-hosting-history
computerweekly.com/feature/A-history-of-cloud-computing
salesforceben.com/brief-history-salesforce-com
aws.amazon.com/about-aws
fullstackpython.com/serverless.html
en.wikipedia.org/wiki/Parse_(platform)
en.wikipedia.org/wiki/Firebase
en.wikipedia.org/wiki/Kubernetes
en.wikipedia.org/wiki/Container_Linux_by_CoreOS
en.wikipedia.org/wiki/AWS_Lambda
en.wikipedia.org/wiki/Serverless_computing
loige.link/aws-serverless-lens
loige.link/serverless-apps-lambda
start.jcolemorrison.com/aws-lambda-vs-the-world
m.subbu.org/serverless-looking-back-to-see-forward-
74dd1a02cb62
github.com/anaibol/awesome-serverless
a HUGE thanks to:
@acambas_sasa
@katavic_d
@Podgeypoos79
@lakatos88
55

More Related Content

PDF
Serverless: A love hate relationship
PDF
State of serverless
ODP
Hybris install telco accelerators on aws-ec2
PPSX
Containers Docker Kind Kubernetes Istio
PDF
Making Kafka Cloud Native | Jay Kreps, Co-Founder & CEO, Confluent
PDF
Grails Monolith to Microservice to FaaS
PDF
How to build 1000 microservices with Kafka and thrive
PPTX
Paris Kafka Meetup - patterns anti-patterns
Serverless: A love hate relationship
State of serverless
Hybris install telco accelerators on aws-ec2
Containers Docker Kind Kubernetes Istio
Making Kafka Cloud Native | Jay Kreps, Co-Founder & CEO, Confluent
Grails Monolith to Microservice to FaaS
How to build 1000 microservices with Kafka and thrive
Paris Kafka Meetup - patterns anti-patterns

What's hot (15)

PDF
Beyond the brokers - Un tour de l'écosystème Kafka
PDF
JHipster conf 2019 - Kafka Ecosystem
PDF
The best of Apache Kafka Architecture
PPTX
DevOps, Microservices and Serverless Architecture
PDF
Event Driven Architectures with Apache Kafka on Heroku
PDF
Devoxx university - Kafka de haut en bas
PDF
Future of Serverless
PDF
How Netflix does Microservices
PPTX
Apache Kafka at LinkedIn - How LinkedIn Customizes Kafka to Work at the Trill...
PDF
Jug - ecosystem
PPTX
AWS Serverless Introduction
PDF
8 Lessons Learned from Using Kafka in 1000 Scala microservices - Scale by the...
PDF
Confluent Enterprise Datasheet
PDF
Understanding Apache Kafka® Latency at Scale
PPTX
Building Serverless Microservices Using Serverless Framework on the Cloud
Beyond the brokers - Un tour de l'écosystème Kafka
JHipster conf 2019 - Kafka Ecosystem
The best of Apache Kafka Architecture
DevOps, Microservices and Serverless Architecture
Event Driven Architectures with Apache Kafka on Heroku
Devoxx university - Kafka de haut en bas
Future of Serverless
How Netflix does Microservices
Apache Kafka at LinkedIn - How LinkedIn Customizes Kafka to Work at the Trill...
Jug - ecosystem
AWS Serverless Introduction
8 Lessons Learned from Using Kafka in 1000 Scala microservices - Scale by the...
Confluent Enterprise Datasheet
Understanding Apache Kafka® Latency at Scale
Building Serverless Microservices Using Serverless Framework on the Cloud
Ad

Similar to The future will be Serverless (FrontConf Munich 2017) (20)

PDF
The future will be Serverless - JSDay Verona 2018
PDF
Why Serverless?
PPTX
Serverless-Computing-The-Future-of-Backend-Development
PPTX
Demistifying serverless on aws
PDF
Montréal AWS Users United: Let's go Serverless!
PDF
Serverless - The Future of the Cloud?!
PDF
Serverless Node.js
PDF
Serverless Toronto User Group - Let's go Serverless!
PDF
"Node.js and Serverless" Viacheslav Panevskyi
PPTX
What is Serverless Computing?
PDF
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
PDF
Microservices and Serverless for Mega Startups - DevOps IL Meetup
PPTX
Serverless Architectures
PPTX
awslambda-240508203904-07xsds253491.pptx
PDF
Introduction to Serverless through Architectural Patterns
PPTX
Understanding serverless architecture
PPTX
Primeros pasos en desarrollo serverless
PDF
Serverless brewbox
PDF
Dhaval Nagar - ServerlessDays Bengaluru 2023
PPTX
Introduction To Serverless Architecture
The future will be Serverless - JSDay Verona 2018
Why Serverless?
Serverless-Computing-The-Future-of-Backend-Development
Demistifying serverless on aws
Montréal AWS Users United: Let's go Serverless!
Serverless - The Future of the Cloud?!
Serverless Node.js
Serverless Toronto User Group - Let's go Serverless!
"Node.js and Serverless" Viacheslav Panevskyi
What is Serverless Computing?
A Technology Backgrounder to Serverless Architecture - A Whitepaper by RapidV...
Microservices and Serverless for Mega Startups - DevOps IL Meetup
Serverless Architectures
awslambda-240508203904-07xsds253491.pptx
Introduction to Serverless through Architectural Patterns
Understanding serverless architecture
Primeros pasos en desarrollo serverless
Serverless brewbox
Dhaval Nagar - ServerlessDays Bengaluru 2023
Introduction To Serverless Architecture
Ad

More from Luciano Mammino (20)

PDF
Serverless Rust: Your Low-Risk Entry Point to Rust in Production (and the ben...
PDF
Did you know JavaScript has iterators? DublinJS
PDF
What I learned by solving 50 Advent of Code challenges in Rust - RustNation U...
PDF
Building an invite-only microsite with Next.js & Airtable - ReactJS Milano
PDF
From Node.js to Design Patterns - BuildPiper
PDF
Let's build a 0-cost invite-only website with Next.js and Airtable!
PDF
Everything I know about S3 pre-signed URLs
PDF
Serverless for High Performance Computing
PDF
Serverless for High Performance Computing
PDF
JavaScript Iteration Protocols - Workshop NodeConf EU 2022
PDF
Building an invite-only microsite with Next.js & Airtable
PDF
Let's take the monolith to the cloud 🚀
PDF
A look inside the European Covid Green Certificate - Rust Dublin
PDF
Monoliths to the cloud!
PDF
The senior dev
PDF
Node.js: scalability tips - Azure Dev Community Vijayawada
PDF
A look inside the European Covid Green Certificate (Codemotion 2021)
PDF
AWS Observability Made Simple
PDF
Semplificare l'observability per progetti Serverless
PDF
Finding a lost song with Node.js and async iterators - NodeConf Remote 2021
Serverless Rust: Your Low-Risk Entry Point to Rust in Production (and the ben...
Did you know JavaScript has iterators? DublinJS
What I learned by solving 50 Advent of Code challenges in Rust - RustNation U...
Building an invite-only microsite with Next.js & Airtable - ReactJS Milano
From Node.js to Design Patterns - BuildPiper
Let's build a 0-cost invite-only website with Next.js and Airtable!
Everything I know about S3 pre-signed URLs
Serverless for High Performance Computing
Serverless for High Performance Computing
JavaScript Iteration Protocols - Workshop NodeConf EU 2022
Building an invite-only microsite with Next.js & Airtable
Let's take the monolith to the cloud 🚀
A look inside the European Covid Green Certificate - Rust Dublin
Monoliths to the cloud!
The senior dev
Node.js: scalability tips - Azure Dev Community Vijayawada
A look inside the European Covid Green Certificate (Codemotion 2021)
AWS Observability Made Simple
Semplificare l'observability per progetti Serverless
Finding a lost song with Node.js and async iterators - NodeConf Remote 2021

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Machine learning based COVID-19 study performance prediction
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPT
Teaching material agriculture food technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Modernizing your data center with Dell and AMD
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Big Data Technologies - Introduction.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
KodekX | Application Modernization Development
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Electronic commerce courselecture one. Pdf
Spectral efficient network and resource selection model in 5G networks
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
GamePlan Trading System Review: Professional Trader's Honest Take
Machine learning based COVID-19 study performance prediction
Review of recent advances in non-invasive hemoglobin estimation
Teaching material agriculture food technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Modernizing your data center with Dell and AMD
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Big Data Technologies - Introduction.pptx
20250228 LYD VKU AI Blended-Learning.pptx
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Dropbox Q2 2025 Financial Results & Investor Presentation
Diabetes mellitus diagnosis method based random forest with bat algorithm
KodekX | Application Modernization Development
Chapter 3 Spatial Domain Image Processing.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Electronic commerce courselecture one. Pdf

The future will be Serverless (FrontConf Munich 2017)