This presentation provides an overview of how we got to serverless architecture, the benefits and drawbacks of it, and a quick example built with Amazon Web Services (AWS).
2. /
No server is easier to manage
than no server at all
— Dr. Werner Vogels, Amazon VP & CTO
2
3. / 3
HOW DID WE GET HERE?
Data Centers
-2000
Hardware is the unit of
scale.
Abstracts the physical
hosting environment
4. / 4
HOW DID WE GET HERE?
Data Centers
-2000
IaaS
2006
Hardware is the unit of
scale.
Abstracts the physical
hosting environment
Operating System is
the unit of scale.
Abstracts the physical
hardware.
5. / 5
HOW DID WE GET HERE?
Data Centers
-2000
IaaS
2006
PaaS
2007
Hardware is the unit of
scale.
Abstracts the physical
hosting environment
Operating System is
the unit of scale.
Abstracts the physical
hardware.
Applications are the
unit of scale.
Abstracts the
Operating System.
6. / 6
HOW DID WE GET HERE?
Data Centers
-2000
IaaS
2006
PaaS
2007
Containers
2013
Hardware is the unit of
scale.
Abstracts the physical
hosting environment
Operating System is
the unit of scale.
Abstracts the physical
hardware.
Applications are the
unit of scale.
Abstracts the
Operating System.
Microservices are the
unit of scale.
Abstracts the
application
7. / 7
HOW DID WE GET HERE?
Data Centers
-2000
IaaS
2006
PaaS
2007
Containers
2013
Serverless (FaaS)
2015+
Hardware is the unit of
scale.
Abstracts the physical
hosting environment
Operating System is
the unit of scale.
Abstracts the physical
hardware.
Applications are the
unit of scale.
Abstracts the
Operating System.
Microservices are the
unit of scale.
Abstracts the
application
Functions are the unit
of scale.
Abstracts Servers,
Infrastructure, and
Operating Systems.
8. / 8
DEFINITION
Serverless Computing
Is a cloud native platform
for
short-running, stateless computation and event-driven applications
which
scales up and down instantly automatically
and
charges for usage by the millisecond.
9. / 9
BENEFITS
No Servers Continuous Scaling Subsecond Metering
Serverless functions automatically
runs your code without requiring
you to provision or manage servers.
Just write the code and upload it to
Lambda.
Serverless functions automatically scale
your application by running code in
response to each trigger. Your code runs
in parallel and processes each trigger
individually, scaling precisely with the
size of the workload.
With a serverless function, you are
charged for every 100ms your code
executes and the number of times
your code is triggered. You don't
pay anything when your code isn't
running.
10. / 10
USE CASES
Serverless is good for… Serverless is not good for…
• IoT
• Mobile Backends
• Bots
• Machine Learning Inferencing
• Modest Stream Processing
• Any short-running, stateless, event driven process
• Databases
• Deep Learning Training
• Heavy Duty Stream Analytics
• Video Streaming
• Any long-running, stateful, number crunching process
11. / 11
CASE STUDIES
“When we can develop a solution in
a week using Azure Functions
versus four months using
traditional methods, that
represents a drastic improvement
in our ability to solve business-
critical problems.”
https://customers.microsoft.com/en-us/
story/direct-one-professional-services-azure
“By integrating Azure Functions
into our processes, we’ve been able
to generate five times more
transactions for less than a quarter
of the cost of using virtual
machines.”
“With AWS Lambda, we eliminate
the need to worry about
operations…The size of our team is
half of what is normally needed to
build and operate a site of this
scale.”
https://aws.amazon.com/solutions/case-studies/bustle/https://customers.microsoft.com/en-us/
story/relativity-partner-professional-services-azure
12. /
Function-as-a-Service market size is estimated to grow from
$1.88 Billion (2016) to $7.72 Billion by 2021
at an estimated Compound Annual Growth Rate of 32.7%.
12
- Function-as-a-Service Market by User Type (Developer-Centric and Operator-
Centric), Application (Web & Mobile Based, Research & Academic), Service Type,
Deployment Model, Organization Size, Industry Vertical, and Region - Global
Forecast to 2021
https://www.marketsandmarkets.com/Market-Reports/function-as-a-service-market-127202409.html
17. / 17
EXAMPLE
Event from API Gateway.
User requested something
Lambda is triggered
DynamoDB Gets data
API Gateway
handles response
User receives
data they requested
19. / 19
CERTIFICATIONS
Exam 70-532
Developing Microsoft Azure Solutions
AWS Certified Solutions
Developer
Associate
Google Cloud Certified
Associate Coud Engineer
• Gain Industry Recognition • Validate your technical expertise
• Learn how to architect and deploy robust applications
•Stamp of approval that enterprise companies need to see to confirm your team’s product expertise