SlideShare a Scribd company logo
The What, Why and How of Serverless in the Real World
Serverless 101
Aaron Williams
Co-Founder, CEO
Funcatron
@_arw_
/williamsaaron
/in/aaronwilliams/
aaron@funcatron.com
Follow Along or
Follow-up:
/williamsaaron/serverless101-YUL
Agenda
1. What the heck is ā€œServerless?ā€
2. Why is it gaining momentum? (Why should I care?)
3. How is it being used? (What are the categories of good use cases?)
4. How can I use it?
5. DEMO
6. What’s next?
7. Q&A
1. What the heck is
ā€œServerless?ā€
M A G I C ?!
Serverless History
It comes down to what you have to care about.
Hardware
OS
Platform
Extensions
Your App
ERA #1
Pre-Cloud
(the DARK AGES)
Serverless History
Hardware
OS
Platform
Extensions
Your App
ERA #2
Cloud
+
Containers OS
Hardware
It comes down to what you have to care about.
IaaS
A Quick Sidebar on ā€œDevOpsā€
We’ve traded more power for more responsibility (by which I mean scripting … ugh)
Developers and managers are starting to feel the pain of this at scale
Devs don’t want to learn ops; they just want better interfaces to be better devs
OR ?
Serverless History
Hardware
OS
Platform
Extensions
Your App
ERA #3
Serverless
OS
Hardware
Platform
Extensions
f() f() f() f()f()f()
It comes down to what you have to care about.
PaaS
IaaS
ā€œFaaSā€
ANTZ!
Ants are:
ā— Excellent communicators and hard workers
ā— Abundant (the total weight of ants on earth equals the total
weight of humans)
ā— Almost all female
Anatomy of a Function
Think events! The message queue is becoming the source of truth
Functions are deployed independently, as each dev cycle requires
They’re also run and scaled independently, as the event queue demands
Trigger Event
- Event Queue
- DB Update
- Doc Update
- External Call
f()f()
Result(s)
- Event Queue
- DB Update
- Doc Update
- External Call
Serverless is a Philosophy
1. Microservices architecture
2. Event-driven (ā€œstatelessā€)
3. Agile teams development
Functions-as-a-Service (FaaS) is an offering, and every cloud has one
ā€œServicefulā€ is probably a better term … but the ā€œServerlessā€ ship has sailed
What is Serverless?
https://www.youtube.com/channel/UCqlcVgk8SkUmve4Kw4xSlgw
2. Why is it gaining
momentum?
ā€œEvery business will
become a software
business, build applications,
use advanced analytics and
provide SaaS services.ā€
- Smart CEO Guy
has
Serverless 101 in Montreal
Software
Automation
Microservice
Architecture
Hardware
Abstraction
Business Trends
ā€œCloud Nativeā€
37%
of IT decision makers have already
adopted serverless technologies
from Sept 2016
451 Research: Voice of the Enterprise
Serverless 101 in Montreal
The Cost of Serverless
What it means:
ā— No unused capacity (datacenters build for 95% of
peak usage; are lucky to reach 25% mean utilization)
ā— No scale-fails (the 5%!)
ā— Easier to optimize costs when they are tied directly
to the activity of your app
ā— BUT: it is not automatically cheaper
So … serverless
doesn’t mean free?
Are you sure?
The principle: you’re only billed for function execution (consumed vs. provisioned)
https://headmelted.com/serverless-showdown-4a771ca561d2
SHOWDOWN!
http://serverlesscalc.com/
3. How is it being
used?
Top Use Cases
Functions that are event-driven
file updates and notifications; bots; IoT
Functions that need to scale
payroll-related tasks; ETL / data pipeline tasks
Functions that you want abstracted from another service
image manipulations; credit checks
Functions that are not sensitive to latency (so, not whole web sites, generally)
backups; generating reports; other housekeeping
https://read.acloud.guru/serverless-event-sourcing-at-nordstrom-ea69bd8fb7cc
4. How can I use it?
The Dreaded
Mudball
The Cloud Native Transformation
Low-risk
Digital
(Cloud Native)
Transformation
http://blog.spotinst.com/2017/06/07/state-serverless-ecosystem/
5. DEMO TIME!
Serverless 101 in Montreal
Setup
Create a BlueMix account : https://console.ng.bluemix.net/registration/
Download the OpenWhisk CLI: https://console.ng.bluemix.net/openwhisk/
** Make sure you set your namespace and auth key.
Clone the sample code: https://github.com/williamsaaron/serverless101-YUL
First, let’s write some Hello World code just to familiarize ourselves with the CLI ...
A Weather Bot for Slack
Take aways:
ā— Getting started requires no config (zero ops)
ā— Almost all of the code we write will be specific for our app
ā— All clouds offer a free tier
Sequence:
slack_from_location
Weather Bot Flow
Two scripts, one sequence, and some simple Slack config
Let’s do it!
Action:
latlong_from_location
Action:
forecast_from_latlong
Command:
forecast montreal
Action:
post_to_slack
Quick Recap
I know ... bots are lame, but they’re a good 101-level intro. Review
the use cases for better, more complete examples.
We did ~0% ops, and ~100% of our code was specific to our app.
OpenWhisk is not unique, Lambda from AWS, Cloud Functions from Google and
Azure Functions from Microsoft all have the same basic interface (CLI and GUI)
(If you have suggestions to improve the demo, things you’d like to see more of,
please reach out!)
6. What’s next?
Some Predictions
Latency will become a non-issue
Cost savings will be the primary driver through 2018,
but developer agility will be the long term value
Team work will be a limiting factor
Habs win the cup in 2018?!
7. Any questions?
THANK YOU!
Aaron Williams
@_arw_
/williamsaaron
/in/aaronwilliams/
aaron@funcatron.com

More Related Content

PDF
Top 8 mistakes developer teams make in their first serverless project
Paul Swail
Ā 
PDF
How to be Successful in the DevOps Business
Atlassian
Ā 
PDF
Monitoring the #DevOps way
Theo Schlossnagle
Ā 
PDF
Lessons Learned from Migrating Legacy Enterprise Applications to Microservices
VMware Tanzu
Ā 
PDF
Serverless architectures
Hyderabad Scalability Meetup
Ā 
PDF
DevOps, Common use cases, Architectures, Best Practices
Shiva Narayanaswamy
Ā 
PDF
5 Essential Techniques for Building Fault-tolerant Systems
Atlassian
Ā 
PDF
The Journey from Monolith to Microservices: a Guided Adventure
VMware Tanzu
Ā 
Top 8 mistakes developer teams make in their first serverless project
Paul Swail
Ā 
How to be Successful in the DevOps Business
Atlassian
Ā 
Monitoring the #DevOps way
Theo Schlossnagle
Ā 
Lessons Learned from Migrating Legacy Enterprise Applications to Microservices
VMware Tanzu
Ā 
Serverless architectures
Hyderabad Scalability Meetup
Ā 
DevOps, Common use cases, Architectures, Best Practices
Shiva Narayanaswamy
Ā 
5 Essential Techniques for Building Fault-tolerant Systems
Atlassian
Ā 
The Journey from Monolith to Microservices: a Guided Adventure
VMware Tanzu
Ā 

What's hot (20)

PDF
Innovation dank DevOps (DevOpsCon Berlin 2015)
Wooga
Ā 
PDF
How to Adopt Serverless and Get to Production Faster
Eoin Shanaghy
Ā 
PPTX
DevOps Days Toronto: From 6 Months Waterfall to 1 hour Code Deploys
Andreas Grabner
Ā 
PPTX
AWS Summit - Trends in Advanced Monitoring for AWS environments
Andreas Grabner
Ā 
PPTX
Infrastructure as Code (BBWorld/DevCon13)
Mike McGarr
Ā 
PPTX
Dev/Test in the Cloud - A Business Case
Chris Riley ☁
Ā 
PPTX
Understand Immutable infrastructure - at Build Stuff Kiev 2016
Quentin Adam
Ā 
PPTX
Top 5 Nagios Replacement Must Haves
CopperEgg
Ā 
PPT
Cloud Computing Webinar
TechSoup
Ā 
PPTX
Terraform for Azure Quickstart
Giulio Vian
Ā 
PDF
DevOps goes Mobile (daho.am)
Wooga
Ā 
PDF
Monitoring As Code: How to Integrate App Monitoring Into Your Developer Cycle
Atlassian
Ā 
PPT
Building An Automated Infrastructure
elliando dias
Ā 
PPT
Building Automated Infrastructures
elliando dias
Ā 
PPTX
Introduction to Puppet Enterprise 2016.4
Puppet
Ā 
PPTX
Controlled Evolution with Puppet and AWS
Puppet
Ā 
PDF
Boris Devouge (Microsoft) - DevOps on Azure
Outlyer
Ā 
PDF
Rapid Development with Azure Spring Cloud
VMware Tanzu
Ā 
PDF
Build, run, and scale your Java applications end to end
OtƔvio Santana
Ā 
PPTX
Metrics Driven DevOps - Automate Scalability and Performance Into your Pipeline
Andreas Grabner
Ā 
Innovation dank DevOps (DevOpsCon Berlin 2015)
Wooga
Ā 
How to Adopt Serverless and Get to Production Faster
Eoin Shanaghy
Ā 
DevOps Days Toronto: From 6 Months Waterfall to 1 hour Code Deploys
Andreas Grabner
Ā 
AWS Summit - Trends in Advanced Monitoring for AWS environments
Andreas Grabner
Ā 
Infrastructure as Code (BBWorld/DevCon13)
Mike McGarr
Ā 
Dev/Test in the Cloud - A Business Case
Chris Riley ☁
Ā 
Understand Immutable infrastructure - at Build Stuff Kiev 2016
Quentin Adam
Ā 
Top 5 Nagios Replacement Must Haves
CopperEgg
Ā 
Cloud Computing Webinar
TechSoup
Ā 
Terraform for Azure Quickstart
Giulio Vian
Ā 
DevOps goes Mobile (daho.am)
Wooga
Ā 
Monitoring As Code: How to Integrate App Monitoring Into Your Developer Cycle
Atlassian
Ā 
Building An Automated Infrastructure
elliando dias
Ā 
Building Automated Infrastructures
elliando dias
Ā 
Introduction to Puppet Enterprise 2016.4
Puppet
Ā 
Controlled Evolution with Puppet and AWS
Puppet
Ā 
Boris Devouge (Microsoft) - DevOps on Azure
Outlyer
Ā 
Rapid Development with Azure Spring Cloud
VMware Tanzu
Ā 
Build, run, and scale your Java applications end to end
OtƔvio Santana
Ā 
Metrics Driven DevOps - Automate Scalability and Performance Into your Pipeline
Andreas Grabner
Ā 
Ad

Similar to Serverless 101 in Montreal (20)

PDF
apidays LIVE Paris - Serverless security: how to protect what you don't see? ...
apidays
Ā 
PDF
Serverless security - how to protect what you don't see?
Sqreen
Ā 
PPTX
Data Driven DevOps: from Culture to Gamification
Brian McCallion
Ā 
PDF
Spring Boot - Microservice Metrics Monitoring
DonghuKIM2
Ā 
PDF
Spring boot microservice metrics monitoring
Oracle Korea
Ā 
PPTX
Jumpstart Azure
Brian Blanchard
Ā 
PPTX
Why Cloud Management Makes Sense
RightScale
Ā 
PPTX
DevOps and the cloud: all hail the (developer) king - Daniel Bryant, Steve Poole
JAXLondon_Conference
Ā 
PPTX
JAXLondon 2015 "DevOps and the Cloud: All Hail the (Developer) King"
Daniel Bryant
Ā 
PPTX
FLUX - Crash Course in Cloud 2.0
Mark Hinkle
Ā 
PDF
The Future of Cloud Innovation, featuring Adrian Cockcroft
Dun & Bradstreet Cloud Innovation Center
Ā 
PPTX
DevOps and Microservice
Inho Kang
Ā 
PDF
How to build streaming data pipelines with Akka Streams, Flink, and Spark usi...
Lightbend
Ā 
PPTX
From Duke of DevOps to Queen of Chaos - Api days 2018
Christophe Rochefolle
Ā 
PPTX
DevOps On AWS - Deep Dive on Continuous Delivery
Mikhail Prudnikov
Ā 
PDF
Automated Serverless Pipelines with #GitOps on Codefresh
Codefresh
Ā 
PDF
Sukumar Nayak-Agile-DevOps-Cloud Management
Sukumar Nayak
Ā 
PPTX
KCD Munich - Cloud Native Platform Dilemma - Turning it into an Opportunity
Andreas Grabner
Ā 
PPTX
Putting the DOT in .NET - Dev/Ops/Test
Robert MacLean
Ā 
PDF
Migrating_to_Cloud-Native_App_Architectures_Pivotal
Estevan McCalley
Ā 
apidays LIVE Paris - Serverless security: how to protect what you don't see? ...
apidays
Ā 
Serverless security - how to protect what you don't see?
Sqreen
Ā 
Data Driven DevOps: from Culture to Gamification
Brian McCallion
Ā 
Spring Boot - Microservice Metrics Monitoring
DonghuKIM2
Ā 
Spring boot microservice metrics monitoring
Oracle Korea
Ā 
Jumpstart Azure
Brian Blanchard
Ā 
Why Cloud Management Makes Sense
RightScale
Ā 
DevOps and the cloud: all hail the (developer) king - Daniel Bryant, Steve Poole
JAXLondon_Conference
Ā 
JAXLondon 2015 "DevOps and the Cloud: All Hail the (Developer) King"
Daniel Bryant
Ā 
FLUX - Crash Course in Cloud 2.0
Mark Hinkle
Ā 
The Future of Cloud Innovation, featuring Adrian Cockcroft
Dun & Bradstreet Cloud Innovation Center
Ā 
DevOps and Microservice
Inho Kang
Ā 
How to build streaming data pipelines with Akka Streams, Flink, and Spark usi...
Lightbend
Ā 
From Duke of DevOps to Queen of Chaos - Api days 2018
Christophe Rochefolle
Ā 
DevOps On AWS - Deep Dive on Continuous Delivery
Mikhail Prudnikov
Ā 
Automated Serverless Pipelines with #GitOps on Codefresh
Codefresh
Ā 
Sukumar Nayak-Agile-DevOps-Cloud Management
Sukumar Nayak
Ā 
KCD Munich - Cloud Native Platform Dilemma - Turning it into an Opportunity
Andreas Grabner
Ā 
Putting the DOT in .NET - Dev/Ops/Test
Robert MacLean
Ā 
Migrating_to_Cloud-Native_App_Architectures_Pivotal
Estevan McCalley
Ā 
Ad

Recently uploaded (20)

PDF
Software Development Methodologies in 2025
KodekX
Ā 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
Ā 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
Ā 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
Ā 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
Ā 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
Ā 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
Ā 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
Ā 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
Ā 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
Ā 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
Ā 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
Ā 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
Ā 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
Ā 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
Ā 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
Ā 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
Ā 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
Ā 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
Ā 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
Ā 
Software Development Methodologies in 2025
KodekX
Ā 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
Ā 
Simple and concise overview about Quantum computing..pptx
mughal641
Ā 
Presentation about Hardware and Software in Computer
snehamodhawadiya
Ā 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
Ā 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
Ā 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
Ā 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
Ā 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
Ā 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
Ā 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
Ā 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
Ā 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
Ā 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
Ā 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
Ā 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
Ā 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
Ā 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
Ā 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
Ā 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
Ā 

Serverless 101 in Montreal