SlideShare a Scribd company logo
Serverless	Computing
for	the	Inquiring	Mind
Eoin	Woods Andy	Longshaw
Endava Coop	Digital
licensed under a Creative Commons Attribution-ShareAlike 4.0 International License
Agenda
• Introduction	to	Serverless Computing
• Exercise	1:	Creating	Some	Functions
• Architectural	Implications
• [Break]
• Exercise	2:	Applying	the	Serverless Style
• Summary	and	Learning	Points
Introduction
Serverless computing
Serverless computing is	a	cloud computing	execution	model	in	
which	the	cloud	provider	dynamically	manages	the	allocation	of	
machine	resources,	and	bills	based	on	the	actual	amount	of	
resources	consumed	by	an	application,	rather	than	billing	based	on	
pre-purchased	units	of	capacity.	It	is	a	form	of	utility computing.
Wikipedia	- https://en.wikipedia.org/wiki/Serverless_computing
Huge	recent	interest	in	“serverless”
https://hackernoon.com/why-the-fuss-about-
serverless-4370b1596da0
Popularity	of	“serverless”	keyword	
on	Google	Jan	2015	- Present
Serverless computing	variants
Function	as	a	Service Backend	as	a	Service
In	this	session	we’ll	just	look	at	Function	as	a	Service
http://blog.raremile.com/backend-as-a-service-baas
Monolithic
Client/Server
Services
Microservices
Serverless
How	did	we	get	here?
Our	systems	have	slowly	“dissolved”	from	
monolithic	to	function-by-function
What	does	it	mean?
Infrastructure
OS	&	Containers
Middleware
Application
Data
Infrastructure
OS	&	Containers
Middleware
Application
Data
Infrastructure
OS	&	Containers
Middleware
Application
Data
Infrastructure
OS	&	Containers
Middleware
Application
Data
Self-Hosted IaaS PaaS Serverless
self-managed
vendor	service
What	does	it	mean?
• Software	developed	and	
deployed as	individual	functions
• Function	is	a	first	class	object	–
cloud	runs	them	for	you
• Functions	triggered	by	“events”
• Call	cloud	services	to	perform	
complex	tasks	or	have	side-
effects
• Fixed	set	of	languages
• Fixed	programming	model
• Cloud	specific	syntax,	semantics
• Cloud	specific	services
What	does	it	mean?
Simple	example
API	Gateway Cloud	DatabaseAutoscaled
API	Handler	
Functions
Notification
Service
Mobile
Device
Corporate
Servers
Autoscaled
DB	Event	Handler	
Functions
Implementations
AWS	Lambda
• Node,	Python,	C#,	Java
• API	trigger	or	many	AWS	
services
• Env vars for	config
OpenWhisk
• Python,	Java,	Swift,	Node,	
Docker
• IBM	and	3rd party	service	triggers
• Code	engine	is	Apache	OpenWhisk
Azure	Cloud	Functions
• C#,	F#,	Node	+	Scripthost
• Extends	Webjobs
(inherits	features	e.g.	
config)
• API	or	many	Azure	
service	triggers
Google	Cloud	Functions
• Node	only	so	far	(beta	service)
• Triggers	on	cloud	storage,	pub/sub	
message	or	API	invocation
• Watch	for	variant	which	are
Firebase	only	(db triggers)
Exercise	1	– 45	Minutes
Objective:	develop	a	simple	set	of	serverless functions	on	AWS
We	have	a	set	of	instructions	and	a	Github repository	to	assist
https://github.com/andylongshaw/serverless
Break	– 15	Minutes
Architectural	Implications
Architectural	Implications
At	the	micro-level	serverless seems	pretty	simple.		
Just	develop	a	procedure	and	deploy	to	the	cloud…
… of	course	there’s	always	a	tradeoff somewhere	…
… what	impact	does	this	have	on	the	overall	design	of	
the	system?	(“the	architecture”)
Architectural	Implications
Cost
Change
Complexity
Emergent	Structure
ScalabilityProgramming	Model
Vendor	DependencyOperations
Testing
Cost
Jared	Short	of	Trek10	- https://www.trek10.com/blog/serverless-framework-for-processes-projects-and-scale
Cost	Transparency
0
500
1000
1500
2000
2500
3000
API	Handlers Message	
Handlers
Database	
Interface
Pricing Sizing User	Mgmt Dispatch	Handler Mainframe	
Interface
Housekeeping
Monthly	Cost	by	Module
Complexity
Eugene	Istrate from	slideshare.net/mitocgroup
Scalability	(&	Predictability)
Alex	Casalboni
https://cloudacademy.com/blog/google-cloud-functions-serverless/
John	Chapin
https://blog.symphonia.io/the-occasional-chaos-of-aws-lambda-runtime-
performance-880773620a7e
Programming	Model
event
generators
functions
cloud
services
• Mandatory	event-driven	model
• Mandatory	distributed	thinking
• Often	tied	to	proprietary	cloud	services	
for	side	effects	or	complex	tasks
• Limited	cloud-specific	set	of	languages
• Local	dev	and	test	can	be	limited
(Some)	Operational	Concerns
Monitoring	and	Visibility Tracing	and	Fault	Analysis
Configuration	ManagementFailover	and	Recovery
Testing
local	unit	testing	(separate	logic,	emulators,	mocks)
other	testing	needs	the	cloud
• Integration	testing	on	cloud	critical
• Needs	very	high	degree	of	automation
• Fine	grained	change	=>	flexibility	in	test	sets
Architectural	Implications
Quality Implication
Cost Incremental consumption;	fine	grained	monitoring
Change (very) fine	grained	change	possible
Complexity very	loose	coupling;	many, many	pieces
Emergent architecture	tends	to	emerge	at	runtime
Scalability horizontal scalability	automatically
Programming	Model programming	model	very	constrained in	terms	of	structure	and	languages;	single	
execution;	no	“sessions”;	fixed	set	of	trigger	types
Vendor	Dependency feature	set	depends	on	vendor;	no	practical portabiilty at	all	(porting	via	rewrite);	future	
cost	model	unknown
Operation many	small	pieces	to	monitor and	manage;	can	be	high	rate	of	change;	fault	analysis	can	
be	significantly	more	difficult
Testing unit testing	with	mock	services	easy;	larger	scale	testing	complex
Exercise	2	– Applying	Serverless – 30	minutes
• Consider	a	system	you	know	well
• We	have	an	example	if	you	need	one
• Consider	rebuilding	its	architecture	to	include	serverless functions
• Which	parts	of	the	system	would	benefit?		Why?
• Which	parts	would	not	benefit	from	serverless computing?		Why?
• What	would	the	new	system	architecture	be?
• What	sorts	of	problem	does	it	“fit”?
• Report	back	your	thoughts	and	findings
Summary
Summary	and	Reflection
• Serverless is	creating	a	lot	of	interest
• Unique	economics,	transparent	infrastructure	and	potential	for	rapid	
change	seem	to	be	the	main	drivers
• Imposes	a	lot	of	constraints	on	developers	and	brings	a	load	of	new	
complexities	in	return,	as	well	as	cloud	lock-in
• For	cloud	native	applications	it	offers	an	interesting	new	option
• What	would	you	use	it	for?		And	why?
Eoin	Woods
Endava
eoin.woods@endava.com
Thank	You
Andy	Longshaw
Coop	Digital
andy@blueskyline.com

More Related Content

What's hot (20)

PDF
Secure visualization of Big Data, Erik Bjønnes, Sintef IKT
The Research Council of Norway, IKTPLUSS
 
PPTX
Economist awards 2012 - Cloud computing
Coca-Cola HBC Lietuva
 
PDF
The do's and dont's of cloud computing - StatPro Cloud Summit 2012
StatPro Group
 
PPT
Cloud computing
Shailaja Patil
 
PPTX
How to make the move towards hybrid cloud computing
David Strom
 
PPTX
NDC Minnesota 2019 - Fundamentals of Azure IoT
Justin Grammens
 
PDF
Monolith to Microservices - O’Reilly Oscon
Christopher Grant
 
PPTX
Eniware open source conference
Mario Kostadincev
 
PDF
Lightning Intro to Serverless, GCP (2017-10-19)
Mattias Andersson
 
PPT
Agora2013 Yugo Neumorni
Agora Group
 
PPTX
2012 RightScale Conference NYC - Jeff Gelb, Director of Technology Strategy, ...
RightScale
 
PPTX
Using OpenStack to Control VM Chaos
David Strom
 
PDF
GWAVACon 2013: Novell Keynote - Dave Wilkes
GWAVA
 
PPTX
The Platform Era - 7 steps to an API
bootis
 
PDF
devops, microservices, and platforms, oh my!
Andrew Shafer
 
PPTX
Cloud computing presentation
larryphelps2003
 
PPTX
Community IT Webinar - MS Ignite Recap 2015
Community IT Innovators
 
PDF
Cloud Innovation Tour - Design Track
LaurenWendler
 
PDF
Welcome to Hybrid Cloud Innovation Tour 2016
LaurenWendler
 
PPTX
Accessibility & the Cloud: Current & Future Trends - Dr Scott Hollier at the ...
Media Access Australia
 
Secure visualization of Big Data, Erik Bjønnes, Sintef IKT
The Research Council of Norway, IKTPLUSS
 
Economist awards 2012 - Cloud computing
Coca-Cola HBC Lietuva
 
The do's and dont's of cloud computing - StatPro Cloud Summit 2012
StatPro Group
 
Cloud computing
Shailaja Patil
 
How to make the move towards hybrid cloud computing
David Strom
 
NDC Minnesota 2019 - Fundamentals of Azure IoT
Justin Grammens
 
Monolith to Microservices - O’Reilly Oscon
Christopher Grant
 
Eniware open source conference
Mario Kostadincev
 
Lightning Intro to Serverless, GCP (2017-10-19)
Mattias Andersson
 
Agora2013 Yugo Neumorni
Agora Group
 
2012 RightScale Conference NYC - Jeff Gelb, Director of Technology Strategy, ...
RightScale
 
Using OpenStack to Control VM Chaos
David Strom
 
GWAVACon 2013: Novell Keynote - Dave Wilkes
GWAVA
 
The Platform Era - 7 steps to an API
bootis
 
devops, microservices, and platforms, oh my!
Andrew Shafer
 
Cloud computing presentation
larryphelps2003
 
Community IT Webinar - MS Ignite Recap 2015
Community IT Innovators
 
Cloud Innovation Tour - Design Track
LaurenWendler
 
Welcome to Hybrid Cloud Innovation Tour 2016
LaurenWendler
 
Accessibility & the Cloud: Current & Future Trends - Dr Scott Hollier at the ...
Media Access Australia
 

Similar to Serverless Computing for the Inquiring Mind (20)

PDF
From Monoliths to Services: Grafually paying your Technical Debt
David Litvak Bruno
 
PPTX
Cloud computing by Luqman
Luqman Shareef
 
PPTX
AWS Cloud Solution - An Overview
Dony Riyanto
 
PPTX
2 speed it powered by microsoft azure
Michael Stephenson
 
PDF
When to use serverless computing.pdf
SGBSeo
 
PDF
introductiontocloudcomputing-150109043607-conversion-gate02.pdf
mohaaalsa
 
PPTX
Introduction to cloud computing
Vipin Batra
 
PDF
When to use serverless computing.pdf
seo18
 
PPTX
Serverless with Azure Functions
Andreas Willich
 
PPTX
Cloud computing
Rohith Shankar
 
PPT
Unraveling OpenStack Clouds
IndicThreads
 
PPT
IBM SmartCloud Orchestration
IBM Danmark
 
PDF
ARC's Bob Mick Workshop - Server Virtualization in Manufacturing Operations ...
ARC Advisory Group
 
PDF
module1st-cloudcomputing-180131063409 - Copy.pdf
BenakappaSM
 
PDF
Serverless: Market Overview and Investment Opportunities
Underscore VC
 
PDF
Building a serverless app
Vinay Krishna
 
PDF
Overview of Cloud Computing
Dr Ganesh Iyer
 
PPTX
Integrating SharePoint 2010 and Visual Studio Lightswitch
Rob Windsor
 
PPTX
Azure functions: Build apps faster with serverless architecture (March 2018)
Callon Campbell
 
From Monoliths to Services: Grafually paying your Technical Debt
David Litvak Bruno
 
Cloud computing by Luqman
Luqman Shareef
 
AWS Cloud Solution - An Overview
Dony Riyanto
 
2 speed it powered by microsoft azure
Michael Stephenson
 
When to use serverless computing.pdf
SGBSeo
 
introductiontocloudcomputing-150109043607-conversion-gate02.pdf
mohaaalsa
 
Introduction to cloud computing
Vipin Batra
 
When to use serverless computing.pdf
seo18
 
Serverless with Azure Functions
Andreas Willich
 
Cloud computing
Rohith Shankar
 
Unraveling OpenStack Clouds
IndicThreads
 
IBM SmartCloud Orchestration
IBM Danmark
 
ARC's Bob Mick Workshop - Server Virtualization in Manufacturing Operations ...
ARC Advisory Group
 
module1st-cloudcomputing-180131063409 - Copy.pdf
BenakappaSM
 
Serverless: Market Overview and Investment Opportunities
Underscore VC
 
Building a serverless app
Vinay Krishna
 
Overview of Cloud Computing
Dr Ganesh Iyer
 
Integrating SharePoint 2010 and Visual Studio Lightswitch
Rob Windsor
 
Azure functions: Build apps faster with serverless architecture (March 2018)
Callon Campbell
 
Ad

More from Eoin Woods (12)

PDF
API Vulnerabilties and What to Do About Them
Eoin Woods
 
PDF
Democratising Software Architecture
Eoin Woods
 
PDF
Secure by Design - Security Design Principles for the Working Architect
Eoin Woods
 
PDF
Models, Sketches and Everything In Between
Eoin Woods
 
PDF
Using Software Architecture Principles in Practice
Eoin Woods
 
PDF
Secure by Design - Security Design Principles for the Rest of Us
Eoin Woods
 
PDF
Software Architecture as Systems Dissolve
Eoin Woods
 
PPTX
When Architecture Meets Data
Eoin Woods
 
PDF
System Security Beyond the Libraries
Eoin Woods
 
PDF
Getting Your System to Production and Keeping it There
Eoin Woods
 
PDF
Common WebApp Vulnerabilities and What to Do About Them
Eoin Woods
 
PDF
Deferring the Last Responsible Moment
Eoin Woods
 
API Vulnerabilties and What to Do About Them
Eoin Woods
 
Democratising Software Architecture
Eoin Woods
 
Secure by Design - Security Design Principles for the Working Architect
Eoin Woods
 
Models, Sketches and Everything In Between
Eoin Woods
 
Using Software Architecture Principles in Practice
Eoin Woods
 
Secure by Design - Security Design Principles for the Rest of Us
Eoin Woods
 
Software Architecture as Systems Dissolve
Eoin Woods
 
When Architecture Meets Data
Eoin Woods
 
System Security Beyond the Libraries
Eoin Woods
 
Getting Your System to Production and Keeping it There
Eoin Woods
 
Common WebApp Vulnerabilities and What to Do About Them
Eoin Woods
 
Deferring the Last Responsible Moment
Eoin Woods
 
Ad

Recently uploaded (20)

PPTX
Explanation about Structures in C language.pptx
Veeral Rathod
 
PDF
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
PDF
10 posting ideas for community engagement with AI prompts
Pankaj Taneja
 
PDF
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
PDF
SAP GUI Installation Guide for Windows | Step-by-Step Setup for SAP Access
SAP Vista, an A L T Z E N Company
 
PDF
SAP GUI Installation Guide for macOS (iOS) | Connect to SAP Systems on Mac
SAP Vista, an A L T Z E N Company
 
PDF
Balancing Resource Capacity and Workloads with OnePlan – Avoid Overloading Te...
OnePlan Solutions
 
PDF
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
PDF
System Center 2025 vs. 2022; What’s new, what’s next_PDF.pdf
Q-Advise
 
PPTX
ASSIGNMENT_1[1][1][1][1][1] (1) variables.pptx
kr2589474
 
PDF
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
PDF
Step-by-Step Guide to Install SAP HANA Studio | Complete Installation Tutoria...
SAP Vista, an A L T Z E N Company
 
PDF
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
PDF
Enhancing Security in VAST: Towards Static Vulnerability Scanning
ESUG
 
PPTX
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
PDF
AI Image Enhancer: Revolutionizing Visual Quality”
docmasoom
 
PDF
Infrastructure planning and resilience - Keith Hastings.pptx.pdf
Safe Software
 
PDF
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
PDF
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
PDF
Salesforce Pricing Update 2025: Impact, Strategy & Smart Cost Optimization wi...
GetOnCRM Solutions
 
Explanation about Structures in C language.pptx
Veeral Rathod
 
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
10 posting ideas for community engagement with AI prompts
Pankaj Taneja
 
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
SAP GUI Installation Guide for Windows | Step-by-Step Setup for SAP Access
SAP Vista, an A L T Z E N Company
 
SAP GUI Installation Guide for macOS (iOS) | Connect to SAP Systems on Mac
SAP Vista, an A L T Z E N Company
 
Balancing Resource Capacity and Workloads with OnePlan – Avoid Overloading Te...
OnePlan Solutions
 
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
System Center 2025 vs. 2022; What’s new, what’s next_PDF.pdf
Q-Advise
 
ASSIGNMENT_1[1][1][1][1][1] (1) variables.pptx
kr2589474
 
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
Step-by-Step Guide to Install SAP HANA Studio | Complete Installation Tutoria...
SAP Vista, an A L T Z E N Company
 
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
Enhancing Security in VAST: Towards Static Vulnerability Scanning
ESUG
 
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
AI Image Enhancer: Revolutionizing Visual Quality”
docmasoom
 
Infrastructure planning and resilience - Keith Hastings.pptx.pdf
Safe Software
 
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
Salesforce Pricing Update 2025: Impact, Strategy & Smart Cost Optimization wi...
GetOnCRM Solutions
 

Serverless Computing for the Inquiring Mind