SlideShare a Scribd company logo
Serverless is the future.
(Or is it?)
Paul Johnston @PaulDJohnston Medium/Twitter
Paul Johnston
Twitter and Medium: @PaulDJohnston

Discuss Serverless / Being a CTO /
Climate Change

Interim CTO/Consultant (currently
available)

Ex-AWS Senior Developer Advocate for
Serverless 

Co-founder JeffConf and ServerlessDays

Former CTO of Movivo - one of the
world’s first Serverless startups
Cloud, Data Centres and
Energy
Future of Cloud and Climate
Data Centres currently 2% of Global Carbon Emissions (at least)

Growth of Cloud/Data Centres likely to grow by at least 5x in next 7 years

Efficiency is irrelevant due to Jevons Paradox - increased efficiency leads to
increased demand)

Not just climate, but energy security - energy price rises

Whitepaper written by Anne Currie and myself (to be released soon)
ETHICS WHITEPAPER - THE STATE OF DATA
CENTRE ENERGY USE IN 2018
bit.ly/2024wp
https://www.change.org/p/sustainable-servers-by-2024
Please sign the pledge
(and move to sustainable cloud/DCs)
Movivo
Became CTO in 2015

Android App + AWS Lambda

By early 2017 was in 20+ countries with
over 500,000 MAU

AWS bill was around $300/month (half
was data backup)

Team of 2 serverless and 2 android
developers in total
Movivo
Heavily used Terraform

Lots of managed services

☹ 1 instance for fixed IP proxy to
Lambda 

100+ functions deployed

No RDBMS - Primarily DynamoDB and
Athena

Dev envy + Staging + Prod + CI +
GitHub
So why didn’t I use
Containers?
(it was 2015 after all)
Lazy Pragmatism
Serverless
What is Serverless?
It’s the NEXT BIG THING!!!
THE SECOND COMING OF
CLOUD
Let’s get beyond the
hype and FUD*
*I was CTO of a serverless startup for 2 years
NOT the “Serverless
Framework”
NOT PaaS *
* Just because you don’t manage the server doesn’t make it serverless
PaaS v Serverless
NOT FaaS *
* not just FaaS
NOT -insert favourite open
source FaaS solution here- *
* again not just FaaS
My point?
It’s not about the technology
(and the word Serverless is VERY unhelpful)
Event Driven Architectures?
On Demand compute?
No Maintenance?
Micro/Nano functionality?
A definition…
…ok ok *my* definition
– Paul Johnston (2017)
“A Serverless solution costs you nothing to run
if nobody is using it (excluding data storage)”
Economic not Technological
Why does it matter that the
definition is economic not
technological?
Economic makes it about
business
How we used to do it
Physical Servers

Virtual Servers

Instances

Managed Instances

… and Containers
How we used to do it
Physical Servers

Virtual Servers

Instances

Managed Instances

… and Containers
All the same underlying
paradigm
Services and APIs
Sockets

Interfaces

Web Services

APIs

SDKs

REST
Services and APIs
Sockets

Interfaces

Web Services

APIs

SDKs

REST
Avoid the complexity of “how”
Evolution in tech always tends
towards Complexity Reduction
Make things easier
Evolution
Physical Servers

Virtual Servers

Instances

Managed Instances

… and Containers
Remove Hardware Management

Programmatic Management

Auto scaling/Orchestration

Application Portability
And Serverless?
My Opinion?
Serverless = evolutionary leap
* More than FaaS
So… let’s talk about containers
This talk could have been
called…
Serverless v Containers
Containers
cgroups (resource isolation) - 2007

Docker - 2013

Kubernetes - 2014
Why Containers?
https://cloud.google.com/containers/

Containerisation allows … development teams to:

• Move fast

• Deploy software efficiently

• Operate at unprecedented scale
Is this true?
well… not exactly
…it depends what you’re
comparing against
I asked a friend what tech you
needed to run Kubernetes
This next slide is all off the top of my friend’s
head…
Caveat: may well not fit your use case
Containers and…
What does it all do?
• Service mesh

• Service discovery

• Key/Value store

• Monitoring

• Logging

• Secure storage

• Package management

• etc…
Batteries not included
• Web servers

• Proxies

• Database servers

• Caching

• Application stack

• Analytics

• … and a whole lot more
And you have to manage it all!
https://gravitational.com/blog/kubernetes-release-cycle/
Lazy Pragmatism
Remember, I’m all about…
Compare to Serverless
(Economic not Technological)
(I’ll use AWS as an analogue)
AWS Serverless
AWS Lambda API Gateway DynamoDB S3
SQS Kinesis Step Functions IAM
CloudWatch
Cognito
Serverless basics v k8s basics
AWS Lambda
IAM
CloudWatchS3
Uptime and maintenance is
somebody else’s problems
So… does this allow you to
“Move Fast”
Serverless beats Containers
• Similar CI/CD patterns

• Easier deployment with serverless (debatable but fewer moving parts)

• Easier management with serverless

• Harder architecture with serverless (unless you know distributed systems)
… what about
“Deploy software efficiently”
In one sense…
• Deployment of containers FTW

• Deployment is independent of environment

• Except…
http://turnoff.us/geek/before-devops-after-devops/
Serverless beats Containers
• You don’t have to maintain the containers as well as the code (feature
velocity increases)

• Providers manage maintenance (security win)

• Efficiency is increased when you only have to manage one aspect
… and what about
“Operate at unprecedented
scale”
So here’s the thing…
Who does that?
No Seriously…
Who does that?
(apart from Netflix and Apple and Amazon etc)
Well architected serverless
solutions scale out of the box
For the 99% Serverless Wins
• Serverless scales for most scenarios really well

• If you’re that big (the 1%) then you can probably build a big team so do
containers

• Even then why would you?
Oh! One thing…
• Serverless is built on Containers

• Containers are still important

• Managed Services will negate Containers

• We will always need Containers… for the 1%
Serverless Wins
• Increased Automation

• High Availability by Default

• Reduced Management Burden

• Decreased Complexity

• Increased Feature Velocity (no management headaches)

• Increased Security

• Increased Resilience
BUT…!
Serverless isn’t necessarily
easier
Serverless Thinking
• Use a service whenever possible (because services are cheaper than people) 

• Local development is much less important (or useful)

• Constraints are not bad (e.g. FaaS python version, memory and cores)

• It’s easier with Greenfield but can have real value in replacing elements of legacy
applications

• Aim is to avoid running your own servers as much as possible

• Vendors mostly have better engineers than you do

• It’s an infrastructure solution not an application solution
Lock In? PICK A VENDOR
Don’t tell me legacy is hard with
serverless because it’s hard with
EVERYTHING ELSE TOO
So Serverless…
Is Serverless the Future?
Is Serverless the Future?
Yes
Is Serverless the Future?
Yes (imho)
Cloud, Data Centres and
Energy
Fixing Climate Change is the
hill I will die on
(and with climate change, we’re all going to die on hills)
– Paul Johnston (2018)
Serverless is what I do for work
https://www.change.org/p/sustainable-servers-by-2024
Paul Johnston
Thank you!

Serverless Best Practices: bit.ly/
serverlessbestpractices 

Sustainable Servers by 2024: https://
www.change.org/p/sustainable-servers-
by-2024 (or google it)

Interim CTO/Consultant (currently
available)

Twitter and Medium: @PaulDJohnston

paul@roundaboutlabs.com

More Related Content

PDF
Cloud Native (Bert Ertman)
PPTX
Why Enterprises Are Embracing the Cloud
PPTX
Microservices Design and Best Practices on AWS
PPTX
Chris Wells Magento Imagine 2015 Breakout - Leveraging the Cloud for Ecommerce
PPTX
Site reliability in the serverless age - Serverless Boston Meetup
PPTX
DevOpsDays Silicon Valley 2014 - The Game of Operations
PPTX
The Evolution of Hosting and What's Next in Cloud Architecture - EE Conf 2018
PDF
Scaling on DigitalOcean
Cloud Native (Bert Ertman)
Why Enterprises Are Embracing the Cloud
Microservices Design and Best Practices on AWS
Chris Wells Magento Imagine 2015 Breakout - Leveraging the Cloud for Ecommerce
Site reliability in the serverless age - Serverless Boston Meetup
DevOpsDays Silicon Valley 2014 - The Game of Operations
The Evolution of Hosting and What's Next in Cloud Architecture - EE Conf 2018
Scaling on DigitalOcean

What's hot (17)

PPTX
Ansible meetup - Service-Now Integration
PPT
Jerry Horgan - Understanding Cloud Computing
PPTX
The challenges of live events scalability
PPTX
Microservices in Azure
PDF
devops, platforms and devops platforms
PDF
Site reliability in the Serverless age - Serverless Boston 2019
PPTX
Virtual Desktops on AWS by Mike Burke, Farm Credit Canada
PPTX
Scaling Cloud Networking at DigitalOcean from ThousandEyes Connect
PDF
Itlc hanoi lesson learned-open-stack - pham tung duong
PPTX
The Effectiveness, Efficiency and Legitimacy of Outsourcing Your Data
PPTX
Introduction to cloud computing - za garage talks
PDF
Microservice Memoirs - Lachlan Evanson
PDF
Introduction to the Typesafe Reactive Platform
PDF
Cloud Lessons Learned: 3 Cloud Case Studies
PDF
Cloud Migration and Portability (with and without Containers)
PPTX
Asgard and the aws cloud
PPTX
CloudConnect 2012: The cloud application stack
Ansible meetup - Service-Now Integration
Jerry Horgan - Understanding Cloud Computing
The challenges of live events scalability
Microservices in Azure
devops, platforms and devops platforms
Site reliability in the Serverless age - Serverless Boston 2019
Virtual Desktops on AWS by Mike Burke, Farm Credit Canada
Scaling Cloud Networking at DigitalOcean from ThousandEyes Connect
Itlc hanoi lesson learned-open-stack - pham tung duong
The Effectiveness, Efficiency and Legitimacy of Outsourcing Your Data
Introduction to cloud computing - za garage talks
Microservice Memoirs - Lachlan Evanson
Introduction to the Typesafe Reactive Platform
Cloud Lessons Learned: 3 Cloud Case Studies
Cloud Migration and Portability (with and without Containers)
Asgard and the aws cloud
CloudConnect 2012: The cloud application stack
Ad

Similar to Serverless is the future... or is it? (20)

PDF
Who needs containers in a serverless world
PPTX
Serverless Toronto helps Startups
PDF
Stop calling everything serverless!
PDF
Dhaval Nagar - ServerlessDays Bengaluru 2023
PDF
Montréal AWS Users United: Let's go Serverless!
PDF
The Future of Serverless
PDF
Journey to the cloud, the why and how of serverless
PPTX
Building the Serverless Container Experience: Kevin McGrath, Spotinst, Server...
PDF
Serverless Toronto User Group - Let's go Serverless!
PPTX
Serverless-Computing-The-Future-of-Backend-Development
PDF
Serverless computing
PDF
It's a Serverless World
PPTX
Serverless: The next major shift in cloud computing
PPTX
The Serverless Native Mindset
PDF
How Serverless Changes the IT Department - November 2018 - Serverless Computi...
PDF
The Next Big Thing: Serverless
PDF
The future will be Serverless (FrontConf Munich 2017)
PDF
Reimagine Application Modernization with Serverless Architecture
PDF
Serverless brewbox
PDF
Serhat Can- 4 keytakeaways from running serverless on production for 4 years
Who needs containers in a serverless world
Serverless Toronto helps Startups
Stop calling everything serverless!
Dhaval Nagar - ServerlessDays Bengaluru 2023
Montréal AWS Users United: Let's go Serverless!
The Future of Serverless
Journey to the cloud, the why and how of serverless
Building the Serverless Container Experience: Kevin McGrath, Spotinst, Server...
Serverless Toronto User Group - Let's go Serverless!
Serverless-Computing-The-Future-of-Backend-Development
Serverless computing
It's a Serverless World
Serverless: The next major shift in cloud computing
The Serverless Native Mindset
How Serverless Changes the IT Department - November 2018 - Serverless Computi...
The Next Big Thing: Serverless
The future will be Serverless (FrontConf Munich 2017)
Reimagine Application Modernization with Serverless Architecture
Serverless brewbox
Serhat Can- 4 keytakeaways from running serverless on production for 4 years
Ad

More from Paul Johnston (6)

PDF
Cloud 2.0: "Code" is no longer king - Serverless has dethroned it
PDF
Serverless Best Practices - Serverless Computing London
PDF
What is Blockchain and why should we care?
PDF
Future of Serverless from ServerlessConf London October 2016
ODP
Transient v Persistent data on Twitter
ODP
How to break the internet
Cloud 2.0: "Code" is no longer king - Serverless has dethroned it
Serverless Best Practices - Serverless Computing London
What is Blockchain and why should we care?
Future of Serverless from ServerlessConf London October 2016
Transient v Persistent data on Twitter
How to break the internet

Recently uploaded (20)

PPTX
artificial intelligence overview of it and more
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PPTX
SAP Ariba Sourcing PPT for learning material
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PPTX
Funds Management Learning Material for Beg
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PPTX
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
PDF
Sims 4 Historia para lo sims 4 para jugar
PDF
Triggering QUIC, presented by Geoff Huston at IETF 123
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PPTX
Internet___Basics___Styled_ presentation
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PDF
The Internet -By the Numbers, Sri Lanka Edition
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
PDF
Unit-1 introduction to cyber security discuss about how to secure a system
artificial intelligence overview of it and more
WebRTC in SignalWire - troubleshooting media negotiation
SAP Ariba Sourcing PPT for learning material
Introuction about ICD -10 and ICD-11 PPT.pptx
Funds Management Learning Material for Beg
The New Creative Director: How AI Tools for Social Media Content Creation Are...
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
Slides PPTX World Game (s) Eco Economic Epochs.pptx
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
Sims 4 Historia para lo sims 4 para jugar
Triggering QUIC, presented by Geoff Huston at IETF 123
An introduction to the IFRS (ISSB) Stndards.pdf
Internet___Basics___Styled_ presentation
522797556-Unit-2-Temperature-measurement-1-1.pptx
The Internet -By the Numbers, Sri Lanka Edition
SASE Traffic Flow - ZTNA Connector-1.pdf
Slides PDF The World Game (s) Eco Economic Epochs.pdf
Module 1 - Cyber Law and Ethics 101.pptx
RPKI Status Update, presented by Makito Lay at IDNOG 10
Unit-1 introduction to cyber security discuss about how to secure a system

Serverless is the future... or is it?