SlideShare a Scribd company logo
THE NEXT BIG THING:
SERVERLESS
Doug Vanderweide
@dougvdotcom
linkedin.com/in/dougvdotcom
doug@linuxacademy.com
Before we
start …
■ If you need to step out, please do so. Please return if
you can! Just do so as inconspicuously as possible,
thank you
■ Help yourself to drinks in the cooler to your right
■ Bathrooms: To the left of the room
■ Emergency exits: Just past the bathroom; also, same
way you entered
■ Need to take a call/text/email/Slack? Please step
out to the lobby
About me
■ Microsoft Certified Solutions Developer: Azure Solutions Architect
■ Microsoft Certified Solutions Expert: Cloud Platform and Infrastructure
■ CompTIA CTT+ Certified Technical Trainer
■ 20+ years in Web development (LAMP/.NET) and DevOps
■ Built real-world serverless solutions
■ Azure instructor / SME for Linux Academy
■ I know next to nothing about Linux
BUT ENOUGH ABOUT ME …
Let's talk about you. Or, more specifically, your DevOps.
Call for
volunteers
■ Artistic at all?
■ Good with your hands?
■ Have young children at home?
A BRIEF HISTORY OF
(CLOUD) TIME
In the beginning
■ Cloud-based virtual machines appear ~2006 (EC2, AWS)
■ and they're AWESOME
■ Significant savings over on-prem bare metal
■ Provision what you need, discard it when done
■ Quick provisioning (hours, not weeks)
■ Theoretically bulletproof
– One breaks? Make another from same image
– Better yet, make 2; they're cheap
And then everything is terrible again
■ "Lift-and-shift" workloads have all their old problems, with
all-new security and connectivity problems added in
■ We wind up replicating on-prem solutions to cloud-based
issues, such as routing, ACLs, gateways, etc.
■ You're still administering servers and networks and it's still
awful, terrible work
■ Same orchestration/DevOps experience as on-prem
The dawn of 'Platform as a Service'
■ Google App Engine (2007), Elastic Beanstalk (AWS, 2011) ,
Cloud Services (~2010, Micosoft Azure)
■ Mostly Web-based workloads
■ Abstracts underlying OS and runtime configurations with
pre-defined offerings
■ Easier to scale to demand (scale in-out)/failover than IaaS
machines
■ Faster deployment times
Cloud matures with supporting services
■ Databases as a Service (SimpleDB/RDS/DynamoDB, AWS; Azure SQL
Database/CosmosDB, Azure)
■ Message queues (SQS/SNS, AWS; Service Bus/Notification Hubs,
Azure)
■ DNS-based solutions (Route 53, AWS; Traffic Manager, Azure)
■ Content delivery networks (CloudFront, AWS; Azure CDN)
■ These tools enable simpler balancing of workloads and the
emergence of microservices architecture
A WILD ARCHITECTURE
APPEARED!
Containers find their niche in microservices
Microservices: A new pattern
■ Break tasks into smaller workloads
■ Build these workloads as HTTP-based APIs
– or event/message listeners
■ Communicate status via queues and triggers/webhooks
■ Recycle common workloads among solutions
Typical n-tier web application
Typical n-tier app as microservices
Benefits of each approach
N-tier Microservices
CONTAINERS
COME OF AGE
Containers are perfect for
microservices ... but why?
Containers make microservices work
■ Build container to meet a workload
– Create as needed
– Destroy when done
■ Deploy multiple containers to a single host
– Scale container to meet workload
■ Move containers among hosts seamlessly
■ Repeatable results
■ Automation, automation, automation!
Containers are great!
right?
What the
world needs
now …
■ Lightning-fast deployment
■ Maximum automation
– build
– deployment
– monitoring
– resilience
■ Predicatable, repeatable
results
■ Built-in high availability /
disaster recovery /
business continuity
SERVERLESS
The technology that will transform cloud computing
server·less
ˈsərvərləs (adj)
via Wikipedia
a cloud computing code execution model
in which the cloud provider
fully manages starting and stopping of
a function's container platform as a service (PaaS)
as necessary to serve requests,
and requests are billed by an abstract measure
of the resources required to satisfy the request,
rather than per virtual machine, per hour.
Serverless features
■ You write code that runs on the platform; the provider does
the rest
■ Anonymous, generalized virtual machine instances
■ Completely managed by the cloud provider
■ Provisioned when you need them, deprovisioned when
you're done
■ Billed by executions and resource consumption, not an
hourly rate
Let's check in on our artists
This probably would have helped
Serverless is a medium;
your architecture is the mold
Serverless function features
■ Base OS (Linux, Windows) with a generalized config
■ Supports any code written in a given language: Node.js,
Python, .NET Core, Java, etc.
■ Provider can quickly provision these instances because
they're all the same
■ Instance started > code retrieved > code executed >
instance deprovisioned
HTTP function workflow
Serverless features
■ Instances started as needed, stopped when inactive
– Less sprawl
– Truly pay for what you use
■ Open architecture supports service reuse
■ No server management = less operations
■ Allows you to focus on the code, not infrastructure
SERVERLESS:
LOWEST TC0
Cheaper to run, easier to create, simpler to operate
Pricing models
■ VMs: Pay per CPU core, memory use, disk storage, software
fees
■ Containers: Also pay for VM use, but pack more work into
the same VM
■ Serverless: Pay for the resources you actually use
VM vs serverless pricing
Azure VM D2v2 AWS VM t2.large Azure Function AWS Lambda
$104.16 $69.94 $25.60 $26.67
Assumption:
• 500,000 executions per month
• 4 GB-secs for each execution
VM vs serverless pricing
Azure VM
A4m v2
AWS VM
t2.2xlarge
Azure Function AWS Lambda
$220.97 $279.74 $121.80 $129.86
Assumption:
• 2 million executions per month
• 4 GB-secs for each execution
VM vs serverless pricing
Azure VM A1v2 AWS VM t2.small Azure Function AWS Lambda
$31.99 $17.12 FREE FREE
Assumption:
• 20,000 executions per month
• 512 MB-secs for each execution
The serverless 'long tail'
■ Everything the same = dirt cheap to provide
■ Each new instance is effectively profitable
■ Only a small number of users need to exceed the free
threshold periodically to turn a major profit
■ Long-tail pricing model
Serverless vs VMs
(and to a lesser degree, containers)
■ Similar workloads cost
less to run
■ You don't pay for unused
capacity
■ No more sprawl
■ No "Detroit dilemmas"
NOT QUITE 'NO OPS'
But drastically reduced lead times and staffing requirements
'No Ops'
■ Automation, abstraction and cloud vendor services
eliminate several DevOps tasks (and positions)
– build and deployment
■ Sprint develop, build, test and deploy
■ Focus is shifted to rapid development
■ Continuous integration / deployment
■ Extensive monitoring and metrics
Highly available, easily scaled
■ Bad code downtime limited by microservices
■ Functions scale automatically and quickly
■ High availability is built in
■ Regional outage is the only real threat
– Use standard cloud business continuity strategies
■ e.g., multi-region presence, DNS-based switchover
Serverless recap
■ Lower real infrastructure costs
■ Easier SDLC via modular workloads/microservices
■ No servers to manage
■ Faster deployment via CI/CD/automation
■ HA/DR built in
■ Usual cloud-based business continuity strategies
EVANGELISTS GALORE
With AWS Lambda, we eliminate the need
to worry about operations.
We just write code, deploy it, and it scales infinitely;
no one really has to deal with
infrastructure management.
The size of our team is half of what is normally needed
to build and operate a site of this scale.
-- Tyler Love, CTO, Bustle
In 5 years, every modern business will have
a substantial portion of their systems
running the cloud.
But that’s only the first step.
The next step comes when you
free your developers from the tedious work
of configuring and deploying
even virtual cloud-based servers.
-- Greg DeMichillie, Head of Developer Platform and Infrastructure, Adobe
Workflows for the masses
■ What if everyone could program?
■ Microservices are the building blocks of workflows
■ AI/big data are already tacking semantics
■ Orchestrate your vision, yourself
The combination of multi-device,
AI everywhere
and serverless computing
is driving this new era of intelligent cloud and
intelligent edge.
-- Microsoft
SERVERLESS
LIMITATIONS
It's not for everything.
Starting over is expensive
■ Microservices mean
rebuilding workloads
■ Huge up-front costs
■ Requires revisiting
existing partnerships
■ N-tier ports well to
containers
When containers/VMs
are a better choice
■ Small, non-scaling workloads
■ Solutions that depend on the environment/many services
■ Massive, constant computing power requirements
Serverless weaknesses
■ Laggy startups for cold code
■ Lag/drops in microservice communication
■ Immature technology
■ Somewhat wedded to the vendor
■ Restrictions in code you can run
■ Somewhat limited library access
■ Event-input-output model might not work
In summary ■ Serverless is the next wave in
cloud computing
■ Huge time and cost savings,
low TCO
■ Significant benefits to cloud
vendors
■ Built-in HA/DR, business
continuity is simple
■ Fast deployment and sensible
architecture
■ But it's not for every workload
Your turn:
Questions? Insights? Let's talk!
@dougvdotcom
linkedin.com/in/dougvdotcom
doug@linuxacademy.com
Thanks to Linux Academy for the space,
food and swag!
https://linuxacademy.com
This deck:
Our Meetup group:
https://www.meetup.com/Keller-Cloud-
Computing-Group/

More Related Content

What's hot

Dockerizing CS50: From Cluster to Cloud to Appliance to Container by David Ma...
Dockerizing CS50: From Cluster to Cloud to Appliance to Container by David Ma...Dockerizing CS50: From Cluster to Cloud to Appliance to Container by David Ma...
Dockerizing CS50: From Cluster to Cloud to Appliance to Container by David Ma...
Docker, Inc.
 
Intro Docker october 2013
Intro Docker october 2013Intro Docker october 2013
Intro Docker october 2013dotCloud
 
What is Docker Architecture | Edureka
What is Docker Architecture | EdurekaWhat is Docker Architecture | Edureka
What is Docker Architecture | Edureka
Edureka!
 
Using Packer to Migrate XenServer Infrastructure to CloudStack
Using Packer to Migrate XenServer Infrastructure to CloudStackUsing Packer to Migrate XenServer Infrastructure to CloudStack
Using Packer to Migrate XenServer Infrastructure to CloudStack
Tim Mackey
 
introduction to micro services
introduction to micro servicesintroduction to micro services
introduction to micro services
Spyros Lambrinidis
 
OpenStack for VMware Administrators
OpenStack for VMware AdministratorsOpenStack for VMware Administrators
OpenStack for VMware Administrators
Trevor Roberts Jr.
 
DCSF19 Transforming a 15+ Year Old Semiconductor Manufacturing Environment
DCSF19 Transforming a 15+ Year Old Semiconductor Manufacturing EnvironmentDCSF19 Transforming a 15+ Year Old Semiconductor Manufacturing Environment
DCSF19 Transforming a 15+ Year Old Semiconductor Manufacturing Environment
Docker, Inc.
 
The Pivotal Engineering Dojo: Earning Your Black Belt in Cloud Foundry Engine...
The Pivotal Engineering Dojo: Earning Your Black Belt in Cloud Foundry Engine...The Pivotal Engineering Dojo: Earning Your Black Belt in Cloud Foundry Engine...
The Pivotal Engineering Dojo: Earning Your Black Belt in Cloud Foundry Engine...
VMware Tanzu
 
(SCALE 12x) OpenStack vs. VMware - A System Administrator Perspective
(SCALE 12x) OpenStack vs. VMware - A System Administrator Perspective(SCALE 12x) OpenStack vs. VMware - A System Administrator Perspective
(SCALE 12x) OpenStack vs. VMware - A System Administrator Perspective
StackStorm
 
User Transparent Service Migration to the Cloud
User Transparent Service Migration to the CloudUser Transparent Service Migration to the Cloud
User Transparent Service Migration to the Cloud
Tim Mackey
 
New stuff in CloudStack!
New stuff in CloudStack!New stuff in CloudStack!
New stuff in CloudStack!
ShapeBlue
 
Netflix Open Source Meetup Season 4 Episode 3
Netflix Open Source Meetup Season 4 Episode 3Netflix Open Source Meetup Season 4 Episode 3
Netflix Open Source Meetup Season 4 Episode 3
aspyker
 
Cloud Foundry Summit 2015: Managing Hybrid Deployments Using Cloud Foundry on...
Cloud Foundry Summit 2015: Managing Hybrid Deployments Using Cloud Foundry on...Cloud Foundry Summit 2015: Managing Hybrid Deployments Using Cloud Foundry on...
Cloud Foundry Summit 2015: Managing Hybrid Deployments Using Cloud Foundry on...
VMware Tanzu
 
Introduction to Apache CloudStack by David Nalley
Introduction to Apache CloudStack by David NalleyIntroduction to Apache CloudStack by David Nalley
Introduction to Apache CloudStack by David Nalley
buildacloud
 
Cloud stack for_beginners
Cloud stack for_beginnersCloud stack for_beginners
Cloud stack for_beginners
Radhika Puthiyetath
 
Cloud stack design camp on jun 15
Cloud stack design camp on jun 15Cloud stack design camp on jun 15
Cloud stack design camp on jun 15Isaac Chiang
 
Containers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aciContainers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aci
Rajesh Kolla
 
Docker
DockerDocker
Docker
Swapnil Jain
 
DCSF 19 Modern Orchestrated IT for Enterprise CMS
DCSF 19  Modern Orchestrated IT for Enterprise CMSDCSF 19  Modern Orchestrated IT for Enterprise CMS
DCSF 19 Modern Orchestrated IT for Enterprise CMS
Docker, Inc.
 
Introduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes TrainingIntroduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes Training
Shailendra Chauhan
 

What's hot (20)

Dockerizing CS50: From Cluster to Cloud to Appliance to Container by David Ma...
Dockerizing CS50: From Cluster to Cloud to Appliance to Container by David Ma...Dockerizing CS50: From Cluster to Cloud to Appliance to Container by David Ma...
Dockerizing CS50: From Cluster to Cloud to Appliance to Container by David Ma...
 
Intro Docker october 2013
Intro Docker october 2013Intro Docker october 2013
Intro Docker october 2013
 
What is Docker Architecture | Edureka
What is Docker Architecture | EdurekaWhat is Docker Architecture | Edureka
What is Docker Architecture | Edureka
 
Using Packer to Migrate XenServer Infrastructure to CloudStack
Using Packer to Migrate XenServer Infrastructure to CloudStackUsing Packer to Migrate XenServer Infrastructure to CloudStack
Using Packer to Migrate XenServer Infrastructure to CloudStack
 
introduction to micro services
introduction to micro servicesintroduction to micro services
introduction to micro services
 
OpenStack for VMware Administrators
OpenStack for VMware AdministratorsOpenStack for VMware Administrators
OpenStack for VMware Administrators
 
DCSF19 Transforming a 15+ Year Old Semiconductor Manufacturing Environment
DCSF19 Transforming a 15+ Year Old Semiconductor Manufacturing EnvironmentDCSF19 Transforming a 15+ Year Old Semiconductor Manufacturing Environment
DCSF19 Transforming a 15+ Year Old Semiconductor Manufacturing Environment
 
The Pivotal Engineering Dojo: Earning Your Black Belt in Cloud Foundry Engine...
The Pivotal Engineering Dojo: Earning Your Black Belt in Cloud Foundry Engine...The Pivotal Engineering Dojo: Earning Your Black Belt in Cloud Foundry Engine...
The Pivotal Engineering Dojo: Earning Your Black Belt in Cloud Foundry Engine...
 
(SCALE 12x) OpenStack vs. VMware - A System Administrator Perspective
(SCALE 12x) OpenStack vs. VMware - A System Administrator Perspective(SCALE 12x) OpenStack vs. VMware - A System Administrator Perspective
(SCALE 12x) OpenStack vs. VMware - A System Administrator Perspective
 
User Transparent Service Migration to the Cloud
User Transparent Service Migration to the CloudUser Transparent Service Migration to the Cloud
User Transparent Service Migration to the Cloud
 
New stuff in CloudStack!
New stuff in CloudStack!New stuff in CloudStack!
New stuff in CloudStack!
 
Netflix Open Source Meetup Season 4 Episode 3
Netflix Open Source Meetup Season 4 Episode 3Netflix Open Source Meetup Season 4 Episode 3
Netflix Open Source Meetup Season 4 Episode 3
 
Cloud Foundry Summit 2015: Managing Hybrid Deployments Using Cloud Foundry on...
Cloud Foundry Summit 2015: Managing Hybrid Deployments Using Cloud Foundry on...Cloud Foundry Summit 2015: Managing Hybrid Deployments Using Cloud Foundry on...
Cloud Foundry Summit 2015: Managing Hybrid Deployments Using Cloud Foundry on...
 
Introduction to Apache CloudStack by David Nalley
Introduction to Apache CloudStack by David NalleyIntroduction to Apache CloudStack by David Nalley
Introduction to Apache CloudStack by David Nalley
 
Cloud stack for_beginners
Cloud stack for_beginnersCloud stack for_beginners
Cloud stack for_beginners
 
Cloud stack design camp on jun 15
Cloud stack design camp on jun 15Cloud stack design camp on jun 15
Cloud stack design camp on jun 15
 
Containers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aciContainers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aci
 
Docker
DockerDocker
Docker
 
DCSF 19 Modern Orchestrated IT for Enterprise CMS
DCSF 19  Modern Orchestrated IT for Enterprise CMSDCSF 19  Modern Orchestrated IT for Enterprise CMS
DCSF 19 Modern Orchestrated IT for Enterprise CMS
 
Introduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes TrainingIntroduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes Training
 

Similar to The Next Big Thing: Serverless

Serverless: The next major shift in cloud computing
Serverless: The next major shift in cloud computingServerless: The next major shift in cloud computing
Serverless: The next major shift in cloud computing
Doug Vanderweide
 
Introduction To Serverless Architecture
Introduction To Serverless ArchitectureIntroduction To Serverless Architecture
Introduction To Serverless Architecture
Ben Sherman
 
Serverless Toronto User Group - Let's go Serverless!
Serverless Toronto User Group - Let's go Serverless!Serverless Toronto User Group - Let's go Serverless!
Serverless Toronto User Group - Let's go Serverless!
Daniel Zivkovic
 
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
Ludovic Piot
 
An introduction to Serverless
An introduction to ServerlessAn introduction to Serverless
An introduction to Serverless
Adrien Blind
 
Windows Azure introduction
Windows Azure introductionWindows Azure introduction
Windows Azure introduction
Microsoft Iceland
 
Best of re:Invent 2016 meetup presentation
Best of re:Invent 2016 meetup presentationBest of re:Invent 2016 meetup presentation
Best of re:Invent 2016 meetup presentation
Lahav Savir
 
(RivieraDev 2018) #serverless - 2 ans de retourS d'expérience
(RivieraDev 2018) #serverless - 2 ans de retourS d'expérience(RivieraDev 2018) #serverless - 2 ans de retourS d'expérience
(RivieraDev 2018) #serverless - 2 ans de retourS d'expérience
Ludovic Piot
 
Understanding serverless architecture
Understanding serverless architectureUnderstanding serverless architecture
Understanding serverless architecture
Seokchan Yoon
 
20180111 we bde-bs - serverless url shortener
20180111   we bde-bs - serverless url shortener20180111   we bde-bs - serverless url shortener
20180111 we bde-bs - serverless url shortener
Luca Bianchi
 
Stop calling everything serverless!
Stop calling everything serverless!Stop calling everything serverless!
Stop calling everything serverless!
Jeremy Daly
 
.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles
VMware Tanzu
 
AWS Serverless Community Day Keynote and Vendia Launch 6-26-2020
AWS Serverless Community Day Keynote and Vendia Launch 6-26-2020AWS Serverless Community Day Keynote and Vendia Launch 6-26-2020
AWS Serverless Community Day Keynote and Vendia Launch 6-26-2020
Tim Wagner
 
Introduction to amazon web services for developers
Introduction to amazon web services for developersIntroduction to amazon web services for developers
Introduction to amazon web services for developers
Ciklum Ukraine
 
Serverless at Lifestage
Serverless at LifestageServerless at Lifestage
Serverless at Lifestage
BATbern
 
Cloudy in Indonesia: Java and Cloud
Cloudy in Indonesia: Java and CloudCloudy in Indonesia: Java and Cloud
Cloudy in Indonesia: Java and Cloud
Eberhard Wolff
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
Biswajit Pratihari
 
Class 7: Introduction to web technology entrepreneurship
Class 7: Introduction to web technology entrepreneurshipClass 7: Introduction to web technology entrepreneurship
Class 7: Introduction to web technology entrepreneurshipallanchao
 
Serverless Apps on Google Cloud: more dev, less ops
Serverless Apps on Google Cloud:  more dev, less opsServerless Apps on Google Cloud:  more dev, less ops
Serverless Apps on Google Cloud: more dev, less ops
Joseph Lust
 
Serverless Apps on Google Cloud: more dev, less ops
Serverless Apps on Google Cloud: more dev, less opsServerless Apps on Google Cloud: more dev, less ops
Serverless Apps on Google Cloud: more dev, less ops
mabl
 

Similar to The Next Big Thing: Serverless (20)

Serverless: The next major shift in cloud computing
Serverless: The next major shift in cloud computingServerless: The next major shift in cloud computing
Serverless: The next major shift in cloud computing
 
Introduction To Serverless Architecture
Introduction To Serverless ArchitectureIntroduction To Serverless Architecture
Introduction To Serverless Architecture
 
Serverless Toronto User Group - Let's go Serverless!
Serverless Toronto User Group - Let's go Serverless!Serverless Toronto User Group - Let's go Serverless!
Serverless Toronto User Group - Let's go Serverless!
 
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
[Capitole du Libre] #serverless -  mettez-le en oeuvre dans votre entreprise...
 
An introduction to Serverless
An introduction to ServerlessAn introduction to Serverless
An introduction to Serverless
 
Windows Azure introduction
Windows Azure introductionWindows Azure introduction
Windows Azure introduction
 
Best of re:Invent 2016 meetup presentation
Best of re:Invent 2016 meetup presentationBest of re:Invent 2016 meetup presentation
Best of re:Invent 2016 meetup presentation
 
(RivieraDev 2018) #serverless - 2 ans de retourS d'expérience
(RivieraDev 2018) #serverless - 2 ans de retourS d'expérience(RivieraDev 2018) #serverless - 2 ans de retourS d'expérience
(RivieraDev 2018) #serverless - 2 ans de retourS d'expérience
 
Understanding serverless architecture
Understanding serverless architectureUnderstanding serverless architecture
Understanding serverless architecture
 
20180111 we bde-bs - serverless url shortener
20180111   we bde-bs - serverless url shortener20180111   we bde-bs - serverless url shortener
20180111 we bde-bs - serverless url shortener
 
Stop calling everything serverless!
Stop calling everything serverless!Stop calling everything serverless!
Stop calling everything serverless!
 
.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles.NET Cloud-Native Bootcamp- Los Angeles
.NET Cloud-Native Bootcamp- Los Angeles
 
AWS Serverless Community Day Keynote and Vendia Launch 6-26-2020
AWS Serverless Community Day Keynote and Vendia Launch 6-26-2020AWS Serverless Community Day Keynote and Vendia Launch 6-26-2020
AWS Serverless Community Day Keynote and Vendia Launch 6-26-2020
 
Introduction to amazon web services for developers
Introduction to amazon web services for developersIntroduction to amazon web services for developers
Introduction to amazon web services for developers
 
Serverless at Lifestage
Serverless at LifestageServerless at Lifestage
Serverless at Lifestage
 
Cloudy in Indonesia: Java and Cloud
Cloudy in Indonesia: Java and CloudCloudy in Indonesia: Java and Cloud
Cloudy in Indonesia: Java and Cloud
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Class 7: Introduction to web technology entrepreneurship
Class 7: Introduction to web technology entrepreneurshipClass 7: Introduction to web technology entrepreneurship
Class 7: Introduction to web technology entrepreneurship
 
Serverless Apps on Google Cloud: more dev, less ops
Serverless Apps on Google Cloud:  more dev, less opsServerless Apps on Google Cloud:  more dev, less ops
Serverless Apps on Google Cloud: more dev, less ops
 
Serverless Apps on Google Cloud: more dev, less ops
Serverless Apps on Google Cloud: more dev, less opsServerless Apps on Google Cloud: more dev, less ops
Serverless Apps on Google Cloud: more dev, less ops
 

Recently uploaded

UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 

The Next Big Thing: Serverless

  • 1. THE NEXT BIG THING: SERVERLESS Doug Vanderweide @dougvdotcom linkedin.com/in/dougvdotcom doug@linuxacademy.com
  • 2. Before we start … ■ If you need to step out, please do so. Please return if you can! Just do so as inconspicuously as possible, thank you ■ Help yourself to drinks in the cooler to your right ■ Bathrooms: To the left of the room ■ Emergency exits: Just past the bathroom; also, same way you entered ■ Need to take a call/text/email/Slack? Please step out to the lobby
  • 3. About me ■ Microsoft Certified Solutions Developer: Azure Solutions Architect ■ Microsoft Certified Solutions Expert: Cloud Platform and Infrastructure ■ CompTIA CTT+ Certified Technical Trainer ■ 20+ years in Web development (LAMP/.NET) and DevOps ■ Built real-world serverless solutions ■ Azure instructor / SME for Linux Academy ■ I know next to nothing about Linux
  • 4. BUT ENOUGH ABOUT ME … Let's talk about you. Or, more specifically, your DevOps.
  • 5. Call for volunteers ■ Artistic at all? ■ Good with your hands? ■ Have young children at home?
  • 6. A BRIEF HISTORY OF (CLOUD) TIME
  • 7. In the beginning ■ Cloud-based virtual machines appear ~2006 (EC2, AWS) ■ and they're AWESOME ■ Significant savings over on-prem bare metal ■ Provision what you need, discard it when done ■ Quick provisioning (hours, not weeks) ■ Theoretically bulletproof – One breaks? Make another from same image – Better yet, make 2; they're cheap
  • 8. And then everything is terrible again ■ "Lift-and-shift" workloads have all their old problems, with all-new security and connectivity problems added in ■ We wind up replicating on-prem solutions to cloud-based issues, such as routing, ACLs, gateways, etc. ■ You're still administering servers and networks and it's still awful, terrible work ■ Same orchestration/DevOps experience as on-prem
  • 9. The dawn of 'Platform as a Service' ■ Google App Engine (2007), Elastic Beanstalk (AWS, 2011) , Cloud Services (~2010, Micosoft Azure) ■ Mostly Web-based workloads ■ Abstracts underlying OS and runtime configurations with pre-defined offerings ■ Easier to scale to demand (scale in-out)/failover than IaaS machines ■ Faster deployment times
  • 10. Cloud matures with supporting services ■ Databases as a Service (SimpleDB/RDS/DynamoDB, AWS; Azure SQL Database/CosmosDB, Azure) ■ Message queues (SQS/SNS, AWS; Service Bus/Notification Hubs, Azure) ■ DNS-based solutions (Route 53, AWS; Traffic Manager, Azure) ■ Content delivery networks (CloudFront, AWS; Azure CDN) ■ These tools enable simpler balancing of workloads and the emergence of microservices architecture
  • 11. A WILD ARCHITECTURE APPEARED! Containers find their niche in microservices
  • 12. Microservices: A new pattern ■ Break tasks into smaller workloads ■ Build these workloads as HTTP-based APIs – or event/message listeners ■ Communicate status via queues and triggers/webhooks ■ Recycle common workloads among solutions
  • 13. Typical n-tier web application
  • 14. Typical n-tier app as microservices
  • 15. Benefits of each approach N-tier Microservices
  • 17. Containers are perfect for microservices ... but why?
  • 18. Containers make microservices work ■ Build container to meet a workload – Create as needed – Destroy when done ■ Deploy multiple containers to a single host – Scale container to meet workload ■ Move containers among hosts seamlessly ■ Repeatable results ■ Automation, automation, automation!
  • 20. What the world needs now … ■ Lightning-fast deployment ■ Maximum automation – build – deployment – monitoring – resilience ■ Predicatable, repeatable results ■ Built-in high availability / disaster recovery / business continuity
  • 21. SERVERLESS The technology that will transform cloud computing
  • 22. server·less ˈsərvərləs (adj) via Wikipedia a cloud computing code execution model in which the cloud provider fully manages starting and stopping of a function's container platform as a service (PaaS) as necessary to serve requests, and requests are billed by an abstract measure of the resources required to satisfy the request, rather than per virtual machine, per hour.
  • 23. Serverless features ■ You write code that runs on the platform; the provider does the rest ■ Anonymous, generalized virtual machine instances ■ Completely managed by the cloud provider ■ Provisioned when you need them, deprovisioned when you're done ■ Billed by executions and resource consumption, not an hourly rate
  • 24. Let's check in on our artists
  • 25. This probably would have helped
  • 26. Serverless is a medium; your architecture is the mold
  • 27. Serverless function features ■ Base OS (Linux, Windows) with a generalized config ■ Supports any code written in a given language: Node.js, Python, .NET Core, Java, etc. ■ Provider can quickly provision these instances because they're all the same ■ Instance started > code retrieved > code executed > instance deprovisioned
  • 29. Serverless features ■ Instances started as needed, stopped when inactive – Less sprawl – Truly pay for what you use ■ Open architecture supports service reuse ■ No server management = less operations ■ Allows you to focus on the code, not infrastructure
  • 30. SERVERLESS: LOWEST TC0 Cheaper to run, easier to create, simpler to operate
  • 31. Pricing models ■ VMs: Pay per CPU core, memory use, disk storage, software fees ■ Containers: Also pay for VM use, but pack more work into the same VM ■ Serverless: Pay for the resources you actually use
  • 32. VM vs serverless pricing Azure VM D2v2 AWS VM t2.large Azure Function AWS Lambda $104.16 $69.94 $25.60 $26.67 Assumption: • 500,000 executions per month • 4 GB-secs for each execution
  • 33. VM vs serverless pricing Azure VM A4m v2 AWS VM t2.2xlarge Azure Function AWS Lambda $220.97 $279.74 $121.80 $129.86 Assumption: • 2 million executions per month • 4 GB-secs for each execution
  • 34. VM vs serverless pricing Azure VM A1v2 AWS VM t2.small Azure Function AWS Lambda $31.99 $17.12 FREE FREE Assumption: • 20,000 executions per month • 512 MB-secs for each execution
  • 35. The serverless 'long tail' ■ Everything the same = dirt cheap to provide ■ Each new instance is effectively profitable ■ Only a small number of users need to exceed the free threshold periodically to turn a major profit ■ Long-tail pricing model
  • 36. Serverless vs VMs (and to a lesser degree, containers) ■ Similar workloads cost less to run ■ You don't pay for unused capacity ■ No more sprawl ■ No "Detroit dilemmas"
  • 37. NOT QUITE 'NO OPS' But drastically reduced lead times and staffing requirements
  • 38. 'No Ops' ■ Automation, abstraction and cloud vendor services eliminate several DevOps tasks (and positions) – build and deployment ■ Sprint develop, build, test and deploy ■ Focus is shifted to rapid development ■ Continuous integration / deployment ■ Extensive monitoring and metrics
  • 39. Highly available, easily scaled ■ Bad code downtime limited by microservices ■ Functions scale automatically and quickly ■ High availability is built in ■ Regional outage is the only real threat – Use standard cloud business continuity strategies ■ e.g., multi-region presence, DNS-based switchover
  • 40. Serverless recap ■ Lower real infrastructure costs ■ Easier SDLC via modular workloads/microservices ■ No servers to manage ■ Faster deployment via CI/CD/automation ■ HA/DR built in ■ Usual cloud-based business continuity strategies
  • 42. With AWS Lambda, we eliminate the need to worry about operations. We just write code, deploy it, and it scales infinitely; no one really has to deal with infrastructure management. The size of our team is half of what is normally needed to build and operate a site of this scale. -- Tyler Love, CTO, Bustle
  • 43. In 5 years, every modern business will have a substantial portion of their systems running the cloud. But that’s only the first step. The next step comes when you free your developers from the tedious work of configuring and deploying even virtual cloud-based servers. -- Greg DeMichillie, Head of Developer Platform and Infrastructure, Adobe
  • 44. Workflows for the masses ■ What if everyone could program? ■ Microservices are the building blocks of workflows ■ AI/big data are already tacking semantics ■ Orchestrate your vision, yourself
  • 45.
  • 46. The combination of multi-device, AI everywhere and serverless computing is driving this new era of intelligent cloud and intelligent edge. -- Microsoft
  • 48. Starting over is expensive ■ Microservices mean rebuilding workloads ■ Huge up-front costs ■ Requires revisiting existing partnerships ■ N-tier ports well to containers
  • 49. When containers/VMs are a better choice ■ Small, non-scaling workloads ■ Solutions that depend on the environment/many services ■ Massive, constant computing power requirements
  • 50. Serverless weaknesses ■ Laggy startups for cold code ■ Lag/drops in microservice communication ■ Immature technology ■ Somewhat wedded to the vendor ■ Restrictions in code you can run ■ Somewhat limited library access ■ Event-input-output model might not work
  • 51. In summary ■ Serverless is the next wave in cloud computing ■ Huge time and cost savings, low TCO ■ Significant benefits to cloud vendors ■ Built-in HA/DR, business continuity is simple ■ Fast deployment and sensible architecture ■ But it's not for every workload
  • 52. Your turn: Questions? Insights? Let's talk! @dougvdotcom linkedin.com/in/dougvdotcom doug@linuxacademy.com Thanks to Linux Academy for the space, food and swag! https://linuxacademy.com This deck: Our Meetup group: https://www.meetup.com/Keller-Cloud- Computing-Group/