SlideShare una empresa de Scribd logo
1 de 48
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?

Más contenido relacionado

La actualidad más candente

Sus terr avion overview
Sus terr avion overviewSus terr avion overview
Sus terr avion overview
sUAS News
 
DevOps vs. ITIL Epic Struggle or Slamdunk
DevOps vs. ITIL Epic Struggle or Slamdunk DevOps vs. ITIL Epic Struggle or Slamdunk
DevOps vs. ITIL Epic Struggle or Slamdunk
Serena Software
 

La actualidad más candente (19)

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

Similar a Exploiting Serverless - DevOps Conference Sydney 2018

BusinessIntelligenze - On Cloud BI (English)
BusinessIntelligenze - On Cloud BI (English)BusinessIntelligenze - On Cloud BI (English)
BusinessIntelligenze - On Cloud BI (English)
BusinessIntelligenze
 

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

Unblocking Innovation for Digital Transformation
Unblocking Innovation for Digital TransformationUnblocking Innovation for Digital Transformation
Unblocking Innovation for Digital Transformation
 
Serverless computing
Serverless computingServerless computing
Serverless computing
 
Application Migrations at Scale
Application Migrations at ScaleApplication Migrations at Scale
Application Migrations at Scale
 
Cloud Economics and calculating CTO - AWSome Day Zurich 112016
Cloud Economics and calculating CTO - AWSome Day Zurich 112016Cloud Economics and calculating CTO - AWSome Day Zurich 112016
Cloud Economics and calculating CTO - AWSome Day Zurich 112016
 
DevOps in Cloud Environment
DevOps in Cloud EnvironmentDevOps in Cloud Environment
DevOps in Cloud Environment
 
Cloud migration-main
Cloud migration-mainCloud migration-main
Cloud migration-main
 
Cloud migration-main
Cloud migration-mainCloud migration-main
Cloud migration-main
 
Breaking Down the Economics and TCO of Migrating to AWS
Breaking Down the Economics and TCO of Migrating to AWSBreaking Down the Economics and TCO of Migrating to AWS
Breaking Down the Economics and TCO of Migrating to AWS
 
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...
APIdays Paris 2018 - Cloud computing - we went through every steps of the Gar...
 
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
(ISM315) How to Quantify TCO & Increase Business Value Gains Using AWS
 
Cloud Native Apps
Cloud Native AppsCloud Native Apps
Cloud Native Apps
 
AWS Initiate Berlin - Cloud Economics - Berechnung der tatsächlichen Kostene...
AWS Initiate Berlin - Cloud Economics - Berechnung der tatsächlichen Kostene...AWS Initiate Berlin - Cloud Economics - Berechnung der tatsächlichen Kostene...
AWS Initiate Berlin - Cloud Economics - Berechnung der tatsächlichen Kostene...
 
AWS_DevOps
AWS_DevOpsAWS_DevOps
AWS_DevOps
 
Cloud native fundamentals
Cloud native fundamentalsCloud native fundamentals
Cloud native fundamentals
 
Private cloud with z enterprise
Private cloud with z enterprisePrivate cloud with z enterprise
Private cloud with z enterprise
 
Fast, Secure Deployments with Docker on AWS
Fast, Secure Deployments with Docker on AWSFast, Secure Deployments with Docker on AWS
Fast, Secure Deployments with Docker on AWS
 
Reimagine Application Modernization with Serverless Architecture
Reimagine Application Modernization with Serverless ArchitectureReimagine Application Modernization with Serverless Architecture
Reimagine Application Modernization with Serverless Architecture
 
Cloud computing adoption in sap technologies
Cloud computing adoption in sap technologiesCloud computing adoption in sap technologies
Cloud computing adoption in sap technologies
 
7 flavours of devops implementation
7 flavours of devops implementation7 flavours of devops implementation
7 flavours of devops implementation
 
BusinessIntelligenze - On Cloud BI (English)
BusinessIntelligenze - On Cloud BI (English)BusinessIntelligenze - On Cloud BI (English)
BusinessIntelligenze - On Cloud BI (English)
 

Más de Nigel Fernandes

Más de Nigel Fernandes (18)

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

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Último (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.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.

Notas del editor

  1. Audience participation activity. Gauge the level of understanding and experience in the room.
  2. https://www.atlassian.com/devops
  3. 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
  4. 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.
  5. Image license : http://turnoff.us/geek/enterprise-vs-startup-journey-to-cloud/
  6. The smell to watch out for is the copy of the data is the whole data set
  7. 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
  8. https://theburningmonk.com/2018/01/aws-lambda-use-the-invocation-context-to-better-handle-slow-http-responses/
  9. https://www.cloudflare.com/learning/serverless/what-is-serverless/
  10. 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,
  11. I.e when your business picks up, more change is pushed into the system, and more work is performed.
  12. Unleash the savings in non prod
  13. Image license : http://turnoff.us/geek/monolith-retirement/
  14. http://freakonomics.com/podcast/ford/