SlideShare a Scribd company logo
Exploiting Serverless
Or why DevOps has moved on.
About me
The views and opinions expressed in this presentation are
my personal ones, and do not represent my employer.
Nigel Fernandes
Head of Strategy & Architecture
Mental model check
Increasing level of expertise
DevOps
Increasing level of expertise
Serverless
Increasing level of expertise
“At its essence, DevOps is a culture, a movement, a philosophy.”
Structure
Introduction
Serverless in the Enterprise
Serverless Economics
Serverless meets DevOps
Wrap up
Definition of serverless
Yet Another Definition:
Serverless computing is a cloud-computing execution model in which the
cloud provider acts as the server, dynamically managing the allocation of
machine resources. Pricing is based on the actual amount of resources
consumed by an application, rather than on pre-purchased units of capacity.
Wikipedia
Serverless Offering (circa 2017)
Needs an ecosystem to be practical & useful.
Serverless in
the
Enterprise
Focus for your
Enterprise
Commodity
IaaS
Commodity
PaaS
Commodity
FaaS
Commodity
SaaS
Offload Responsibility
Exploiting the serverless design model
Serverless computing: economic and architectural impact Adzic et al., ESEC/FSE’17
Enrichment
Pipelines
But what about
<insert hated system>
An Evented
approach
Dumb Pipes, Smart Endpoints
Events not Commands
Events named in the past tense
Create copies of the data you need
ThoughtWorks Technology Radar - 2011
Choreography over Orchestration
You can do public APIs. Here be Dragons.
Cold Starts bite hard in public APIs
Caching is non deterministic (at least on AWS)
Timeout design needs special attention
Slow client networks can affect pricing
API Gateways add cost and complexity.
Watch out for payload limits.
Normal Timeout Design
From: Yan Cui
https://theburningmonk.com/2018/01/aws-
lambda-use-the-invocation-context-to-better-
handle-slow-http-responses/
Better Timeout Design
From: Yan Cui
https://theburningmonk.com/2018/01/aws-
lambda-use-the-invocation-context-to-better-
handle-slow-http-responses/
But we have containers...
A PaaS that auto-scales to zero and has
a pay-per-request pricing model can be
considered Serverless.
Azure AKS
with ACI
Google
Kubernetes
Engine
Better than VMs, not as good as FaaS
Economics Scaling Patching Availability & fault
tolerance
Concurrency &
Contention
Serverless
Functions
Pay per request/
Invocation in ms
Scale by events Code level Built In Minimal contention
Managed
Container Services
Pay per provision
and per second
Scale by policy Patch at the
container OS +
Code
Has to be designed Contention at the
process/thread level
Simon Wardley (@swardley) speaking to Forrest Brazeal
“Containers are a smaller
educational jump; plus, they offer
things like portability that people,
particularly vendors, really want to
talk about.
It gives them a counter-story that
somewhat ignores the whole
platform shift to code execution
environments. Containers don’t
force you to re-architect, or
discover that most of your code
has already been written by other
people.”
Point #1
Get moving towards PaaS and FaaS
Serverless Economics
Understanding Hidden
Costs - 1
Image courtesy AWS
Which combined with a “pay per request”
model for serverless, allows for incredibly
accurate provisioned capacity.
I.e. Provisioned capacity almost exactly
matches demand.
Images via CloudFlare.
Where costs come from:
Things to consider:
● Double the time & memory: Costs increase 4 times.
● Processing delays can be expensive. 200ms with 2sec of latency increases cost 11 times.
● Spot pricing (capacity) or Spark on EMR (concurrency) might be more cost effective.
● Leverage the free tiers
● Configuration growth with scale.
Understanding Hidden
Costs - 2
OS level patching, monitoring and
management.
Technology complexity of CI/CD in
building fault tolerant, concurrent with
isolation systems.
Organisational complexity of IaaS in the
enterprise.
Still not convinced?
Cost of the idle system is zero
Serverless computing: economic and architectural impact Adzic et al., ESEC/FSE’17
The use of event driven architectures can
move the cadence of your IT systems closer
to your business cadence.
This architecture has the side effect
of driving up the idle time in the
overall production system, which
lowers the overall cost.
Remember the Non-Prod Environments
Cost: $ + $ + $ + $$ + $$ + $$ > $$$
Idle
Time: High Low
Point #2
Exploit the serverless billing model
Serverless
meets
DevOps
Ops and Infra aware design
Architecture / Technical Design
leadership is evolving into a vertical
discipline.
Infrastructure is a strategic
consideration.
NoOps is a lie. Ops is now diffused
across the team.
Biz-Strat-Arch-Dev-Sec-Data-Ops
is a thing?
CI/CD is changing.
Rethink software delivery programmes
Machine Images versus Template + Code Zip
Rethink the pipeline for speed over insurance.
Reconsider Blue/Green and Immutable Infrastructure
New tooling needed.
Managing fragmentation.
Debugging distributed workflows.
Authentication must be levelled up
Careful design of API gateways within the
enterprise
Monitoring is on different dimensions
Security needs to be reconsidered for the
flat tiers.
Serverless computing: economic and architectural impact Adzic et al., ESEC/FSE’17
“The collaboration between dev & ops is now extended to
external 3rd parties”
Patrick Debois http://www.jedi.be/blog/
Point #3
Serverless is changing DevOps
Point #3
Serverless is changing DevOps
Point #2
Exploit the serverless billing model
Point #1
Get moving towards PaaS and FaaS
Recap
A final thought.
A joke that’s too close for comfort
Created by Simon Wardley (@swardley)
Reed Hastings is on a Charlie Rose interview, and Charlie
says, “Reed, what do the people in Palo Alto know that
everyone else doesn’t know?” And he said, “Moore’s Law.”
And Charlie goes, “Well, I know what Moore’s law is.” And he
goes, “Yeah, but Charlie, you don’t understand. We’re
designing for the next iteration now.”
Jim Hackett
Talking to Stephen Dubner in the Freakonomics Podcast
We’re designing for the
next iteration now.
Thank you.
Questions?

More Related Content

PPTX
Digital Transformation Summit - Melbourne 2019
PDF
Agile for infrastructure- Kshitij Nema
PPTX
DevOps 101
PDF
Visualising decisions - Integrating decision making with Kanban
PPTX
Scrum Bangalore 16th Meetup - March 5, 2016 - Replicating Architectural Scali...
PPTX
Chapter 5
PDF
Failing with agile
PPTX
Scrum Bangalore 16th Meetup - March 5, 2016 - Yes Scrum Did Wonders Beyond IT...
Digital Transformation Summit - Melbourne 2019
Agile for infrastructure- Kshitij Nema
DevOps 101
Visualising decisions - Integrating decision making with Kanban
Scrum Bangalore 16th Meetup - March 5, 2016 - Replicating Architectural Scali...
Chapter 5
Failing with agile
Scrum Bangalore 16th Meetup - March 5, 2016 - Yes Scrum Did Wonders Beyond IT...

What's hot (19)

PPT
Neosoft Overview
PDF
A Practical Approach to Agile Adoption - Case Studies from Egypt by Amr Noama...
PDF
Lean Management by Daniel T Jones
PDF
Lean it and lean software factory
PDF
What is DevOps?
DOCX
KCS_Methodology
PDF
Abm Industries Hyperion And Obiee
PDF
Agile IT Service Management
PPTX
Sus terr avion overview
PPTX
DevOps and Agile in an ITSM world
PDF
LeSS is Scrum - Naveen S @ CMBAgileCon 2016
PDF
Enterprise agile
PPTX
Enterprise Cloud Strategy & Adoption
PPTX
DevOps vs. ITIL Epic Struggle or Slamdunk
PPT
what is the value of architecture
PDF
What is Agile Service Management? Why Is it Important? ITSM Academy Webinar
PPTX
The Social Physics of Cloud-Native Transformation: Changing Organizational In...
PPTX
Dawie Olivier (Westpac)
PDF
Kamu: reconciling DevOps and ITSM/ITIL
Neosoft Overview
A Practical Approach to Agile Adoption - Case Studies from Egypt by Amr Noama...
Lean Management by Daniel T Jones
Lean it and lean software factory
What is DevOps?
KCS_Methodology
Abm Industries Hyperion And Obiee
Agile IT Service Management
Sus terr avion overview
DevOps and Agile in an ITSM world
LeSS is Scrum - Naveen S @ CMBAgileCon 2016
Enterprise agile
Enterprise Cloud Strategy & Adoption
DevOps vs. ITIL Epic Struggle or Slamdunk
what is the value of architecture
What is Agile Service Management? Why Is it Important? ITSM Academy Webinar
The Social Physics of Cloud-Native Transformation: Changing Organizational In...
Dawie Olivier (Westpac)
Kamu: reconciling DevOps and ITSM/ITIL
Ad

Similar to Exploiting Serverless - DevOps Conference Sydney 2018 (20)

PDF
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
PDF
Montréal AWS Users United: Let's go Serverless!
PPTX
An introduction to Serverless
PPTX
Serverless architecture: focus on code, performance and costs
PDF
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
PPTX
APIdays Zurich 2019 - Serverless architecture: focus on code, performance and...
PDF
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
PDF
Stop calling everything serverless!
PPTX
The Serverless Native Mindset
PDF
Reimagine Application Modernization with Serverless Architecture
PPTX
How can your business benefit from going serverless?
PPTX
Serverless Toronto helps Startups
PDF
Serverless Computing
PDF
The Rise of Serverless Architectures
PDF
"It’s not only Lambda! Economics behind Serverless" at JAX Conference in Mai ...
PDF
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
PDF
3 Computing Paradigms as Enablers of Smart Applications of The Future
PDF
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
PDF
Measure and Increase Developer Productivity with Help of Serverless at AWS Co...
PDF
Serverless computing
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
Montréal AWS Users United: Let's go Serverless!
An introduction to Serverless
Serverless architecture: focus on code, performance and costs
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
APIdays Zurich 2019 - Serverless architecture: focus on code, performance and...
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
Stop calling everything serverless!
The Serverless Native Mindset
Reimagine Application Modernization with Serverless Architecture
How can your business benefit from going serverless?
Serverless Toronto helps Startups
Serverless Computing
The Rise of Serverless Architectures
"It’s not only Lambda! Economics behind Serverless" at JAX Conference in Mai ...
FaaS or not to FaaS. Visible and invisible benefits of the Serverless paradig...
3 Computing Paradigms as Enablers of Smart Applications of The Future
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
Measure and Increase Developer Productivity with Help of Serverless at AWS Co...
Serverless computing
Ad

More from Nigel Fernandes (18)

PPTX
Ipqc Enterprise Architecture Summit - Melbourne 2019
PPTX
Looking at your Technology company through the "3 Horizons of growth" model.
PPTX
Agile Software Development (Monash University - Guest Lecture series)
PDF
Microservices meetup
PPTX
Seek test-invaders
PDF
My career lessons - for Monash Students at Battle of the Brains 215
PPTX
Lessons learnt the hard way.
PPTX
Lean Programmer Anarchy
PDF
Towards a responsive business - DevOps MeetUp Melbourne 2013
PPTX
Towards a responsive business, the developer way
PDF
DevOps Days Melbourne meet-up
PPTX
LAST Conference - Dev-Ops and Continuous Delivery
PPTX
Continuous Delivery and the Cloud
PPTX
Continuous Delivery in the AWS Cloud
PDF
RubyConf Uruguay 2011
PDF
Thoughtworks Brazil, Code Quality
PDF
RubyConf Brazil 2011
PDF
Test Engineering
Ipqc Enterprise Architecture Summit - Melbourne 2019
Looking at your Technology company through the "3 Horizons of growth" model.
Agile Software Development (Monash University - Guest Lecture series)
Microservices meetup
Seek test-invaders
My career lessons - for Monash Students at Battle of the Brains 215
Lessons learnt the hard way.
Lean Programmer Anarchy
Towards a responsive business - DevOps MeetUp Melbourne 2013
Towards a responsive business, the developer way
DevOps Days Melbourne meet-up
LAST Conference - Dev-Ops and Continuous Delivery
Continuous Delivery and the Cloud
Continuous Delivery in the AWS Cloud
RubyConf Uruguay 2011
Thoughtworks Brazil, Code Quality
RubyConf Brazil 2011
Test Engineering

Recently uploaded (20)

PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Cloud computing and distributed systems.
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Approach and Philosophy of On baking technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
NewMind AI Weekly Chronicles - August'25-Week II
sap open course for s4hana steps from ECC to s4
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Network Security Unit 5.pdf for BCA BBA.
Mobile App Security Testing_ A Comprehensive Guide.pdf
Big Data Technologies - Introduction.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
MIND Revenue Release Quarter 2 2025 Press Release
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Cloud computing and distributed systems.
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
“AI and Expert System Decision Support & Business Intelligence Systems”
The AUB Centre for AI in Media Proposal.docx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Approach and Philosophy of On baking technology
Unlocking AI with Model Context Protocol (MCP)
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf

Exploiting Serverless - DevOps Conference Sydney 2018

  • 1. Exploiting Serverless Or why DevOps has moved on.
  • 2. About me The views and opinions expressed in this presentation are my personal ones, and do not represent my employer. Nigel Fernandes Head of Strategy & Architecture
  • 3. Mental model check Increasing level of expertise
  • 6. “At its essence, DevOps is a culture, a movement, a philosophy.”
  • 7. Structure Introduction Serverless in the Enterprise Serverless Economics Serverless meets DevOps Wrap up
  • 9. Yet Another Definition: Serverless computing is a cloud-computing execution model in which the cloud provider acts as the server, dynamically managing the allocation of machine resources. Pricing is based on the actual amount of resources consumed by an application, rather than on pre-purchased units of capacity. Wikipedia
  • 11. Needs an ecosystem to be practical & useful.
  • 15. Exploiting the serverless design model Serverless computing: economic and architectural impact Adzic et al., ESEC/FSE’17
  • 17. But what about <insert hated system>
  • 18. An Evented approach Dumb Pipes, Smart Endpoints Events not Commands Events named in the past tense Create copies of the data you need
  • 19. ThoughtWorks Technology Radar - 2011 Choreography over Orchestration
  • 20. You can do public APIs. Here be Dragons. Cold Starts bite hard in public APIs Caching is non deterministic (at least on AWS) Timeout design needs special attention Slow client networks can affect pricing API Gateways add cost and complexity. Watch out for payload limits.
  • 21. Normal Timeout Design From: Yan Cui https://theburningmonk.com/2018/01/aws- lambda-use-the-invocation-context-to-better- handle-slow-http-responses/
  • 22. Better Timeout Design From: Yan Cui https://theburningmonk.com/2018/01/aws- lambda-use-the-invocation-context-to-better- handle-slow-http-responses/
  • 23. But we have containers... A PaaS that auto-scales to zero and has a pay-per-request pricing model can be considered Serverless. Azure AKS with ACI Google Kubernetes Engine
  • 24. Better than VMs, not as good as FaaS Economics Scaling Patching Availability & fault tolerance Concurrency & Contention Serverless Functions Pay per request/ Invocation in ms Scale by events Code level Built In Minimal contention Managed Container Services Pay per provision and per second Scale by policy Patch at the container OS + Code Has to be designed Contention at the process/thread level
  • 25. Simon Wardley (@swardley) speaking to Forrest Brazeal “Containers are a smaller educational jump; plus, they offer things like portability that people, particularly vendors, really want to talk about. It gives them a counter-story that somewhat ignores the whole platform shift to code execution environments. Containers don’t force you to re-architect, or discover that most of your code has already been written by other people.”
  • 26. Point #1 Get moving towards PaaS and FaaS
  • 30. Which combined with a “pay per request” model for serverless, allows for incredibly accurate provisioned capacity. I.e. Provisioned capacity almost exactly matches demand. Images via CloudFlare.
  • 31. Where costs come from: Things to consider: ● Double the time & memory: Costs increase 4 times. ● Processing delays can be expensive. 200ms with 2sec of latency increases cost 11 times. ● Spot pricing (capacity) or Spark on EMR (concurrency) might be more cost effective. ● Leverage the free tiers ● Configuration growth with scale.
  • 32. Understanding Hidden Costs - 2 OS level patching, monitoring and management. Technology complexity of CI/CD in building fault tolerant, concurrent with isolation systems. Organisational complexity of IaaS in the enterprise.
  • 34. Cost of the idle system is zero Serverless computing: economic and architectural impact Adzic et al., ESEC/FSE’17 The use of event driven architectures can move the cadence of your IT systems closer to your business cadence. This architecture has the side effect of driving up the idle time in the overall production system, which lowers the overall cost.
  • 35. Remember the Non-Prod Environments Cost: $ + $ + $ + $$ + $$ + $$ > $$$ Idle Time: High Low
  • 36. Point #2 Exploit the serverless billing model
  • 38. Ops and Infra aware design Architecture / Technical Design leadership is evolving into a vertical discipline. Infrastructure is a strategic consideration. NoOps is a lie. Ops is now diffused across the team. Biz-Strat-Arch-Dev-Sec-Data-Ops is a thing?
  • 39. CI/CD is changing. Rethink software delivery programmes Machine Images versus Template + Code Zip Rethink the pipeline for speed over insurance. Reconsider Blue/Green and Immutable Infrastructure
  • 40. New tooling needed. Managing fragmentation. Debugging distributed workflows. Authentication must be levelled up Careful design of API gateways within the enterprise Monitoring is on different dimensions Security needs to be reconsidered for the flat tiers. Serverless computing: economic and architectural impact Adzic et al., ESEC/FSE’17
  • 41. “The collaboration between dev & ops is now extended to external 3rd parties” Patrick Debois http://www.jedi.be/blog/
  • 42. Point #3 Serverless is changing DevOps
  • 43. Point #3 Serverless is changing DevOps Point #2 Exploit the serverless billing model Point #1 Get moving towards PaaS and FaaS Recap
  • 45. A joke that’s too close for comfort Created by Simon Wardley (@swardley)
  • 46. Reed Hastings is on a Charlie Rose interview, and Charlie says, “Reed, what do the people in Palo Alto know that everyone else doesn’t know?” And he said, “Moore’s Law.” And Charlie goes, “Well, I know what Moore’s law is.” And he goes, “Yeah, but Charlie, you don’t understand. We’re designing for the next iteration now.” Jim Hackett Talking to Stephen Dubner in the Freakonomics Podcast
  • 47. We’re designing for the next iteration now.

Editor's Notes

  • #4: Audience participation activity. Gauge the level of understanding and experience in the room.
  • #7: https://www.atlassian.com/devops
  • #8: Lambdas, Functiosn and GCPs thing Business value - billing model - cost of the idle system Drive production with business cadence Unleash the savings in non prod Patterns Enrichment pipelines Evented Architectures APIs - latency, cold starts and always on. Coming back to DevOps Designing with Infra and Operations together Micro fragmentation of business logic
  • #16: Perhaps the most obvious thing about the PaaS+Serverless approach is the division of the system logic into a collection of independent functions/operations. Since billing is proportional to actual usage, there is no penalty for creating many small units. Contrast this with server-based designs, where you pay per (long-running) instance. In such a world it is hard to justify having a dedicated service instance for infrequent but important tasks (let alone two if you have a primary and fail-over). You have a strong economic incentive to bundle responsibility for many tasks into the same instance. For this architecture, the billing is proportional to usage, not reserved capacity. This removes the economic benefit of creating a single service package so different tasks can share the same reserved capacity. The platform itself provides security, fail-over and load-balancing, so all benefits of bundling are obsolete. Without strong economic and operational incentives for bundling, serverless PaaS open up an opportunity for application developers to create smaller, better isolated modules, that can more easily be maintained and replaced. In other words, with a serverless approach we have a platform and billing model which actually works with the desire to split a system up into independently delivered units, rather than fighting against that trend at some level. And of course, we get all the benefits of fault isolation and independent scaling that we hoped for in the first place before resorting to bundling.
  • #18: Image license : http://turnoff.us/geek/enterprise-vs-startup-journey-to-cloud/
  • #19: The smell to watch out for is the copy of the data is the whole data set
  • #21: Image license https://pixabay.com/en/dragon-metallizer-art-glass-1791614/ RequestEntityTooLargeException - * byte payload is too large for the Event invocation type (limit 131072 bytes) Eni attachment issues and time delays
  • #22: https://theburningmonk.com/2018/01/aws-lambda-use-the-invocation-context-to-better-handle-slow-http-responses/
  • #31: https://www.cloudflare.com/learning/serverless/what-is-serverless/
  • #32: Suppose that a Lambda function uses 512 MB of memory and executes in slightly less than 200 milliseconds. After a code change, the function now needs 400 milliseconds to run (double), and 1024 MB of memory (double). The total compute cost increases 4 times. If the memory requirement is instead tripled to 1536 MB, the total cost increases 6 times. If both the memory requirement and execution time are tripled, the total cost increases 9 times Suppose that a 512 MB Lambda function executes in slightly less than 200 milliseconds, with a hard limit of 5 seconds. As part of its processing, the function calls an external service over HTTPS and waits for a response before ending. Suppose that network congestion or an external service degradation adds a spike of 2 seconds to each network call. For the duration of the latency spike, the extra 2 seconds of Lambda running time will increase cost 11 times,
  • #35: I.e when your business picks up, more change is pushed into the system, and more work is performed.
  • #36: Unleash the savings in non prod
  • #39: Image license : http://turnoff.us/geek/monolith-retirement/
  • #47: http://freakonomics.com/podcast/ford/