SlideShare a Scribd company logo
1 of 74
Download to read offline
Slides
👍
👍
👍
👍
Agenda
1. Context: R E P
2. Serverless: S3, Shape, S3, S3
3. Multi-Cloud: The Good, the Bad & the Ugly
4. Recap: Actionable Takeaways
MATTIAS
ANDERSSON
‣ SFU Computing Science grad, 2001
‣ Dev on Microsoft Office Shared
Services
‣ Many hats in software development:
architecture, security, leadership, etc.
‣ Taught hundreds of thousands to
architect, build, & run cloud systems
‣ AWS Community Builder, Serverless
Agenda
1. Context: R E P
2. Serverless: S3, Shape, S3, S3
3. Multi-Cloud: The Good, the Bad & the Ugly
4. Recap: Actionable Takeaways
This is…
The
Control-Responsibility Spectrum
Control Responsibility
This is…
The
Control-Responsibility Spectrum
Control Responsibility
NOT
This is…
The actual
Control-Responsibility Spectrum
Control
Responsibility
Control-Responsibility Spectrum
Control
Responsibility Not My Problem
It Just Works
“Managed”
We hope
trust
to fix problems
Control-Responsibility Spectrum
Manual Work
Control Managed
Time-Efficient
Possibly
resource-efficient
(maybe)
(certainly not certain)
Control-Responsibility Spectrum
Manual Work
Control Managed
Time-Efficient
YOU’LL NEVER BELIEVE
THIS ONE SIMPLE TRICK!!!
Control-Responsibility Spectrum
Manual Work
Error-prone Expert-Managed
Time-Efficient
https://en.wikipedia.org/wiki/Donald_Knuth
https://en.wikipedia.org/wiki/Travelling_salesperson_problem
Travelling Salesman Problem Efficiency
https://xkcd.com/399/
Super-easy, barely
an inconvenience
0h, really?
premature optimization is the root of all evil
— Donald Knuth
“Programmers waste enormous amounts of time
thinking about, or worrying about,
the speed of noncritical parts of their programs, and
these attempts at efficiency
actually have a strong negative impact
when debugging and maintenance are considered.
We should forget about small efficiencies,
say about 97% of the time:
premature optimization is the root of all evil.
Yet we should not pass up our opportunities in that critical 3%.”
— Donald Knuth
Responsibility
Efficiency
Programmers
Programmers?
Java
C++
C
Assembly
Machine Language
Transistors
Javascript
R
Python Scratch
Spreadsheet
Mail Client
“I decided data processors ought to be able to write
their programs in English,
and the computers would translate them
into machine code.
That was the beginning of COBOL…
I could say 'Subtract income tax from pay'
instead of trying to write that in octal code”
— Grace Hopper
The most damaging phrase in
the language is
“We’ve always done it this
way!”
— Rear Admiral Grace Murray Hopper
in an interview in
Information Week, March 9, 1987, p. 52
I think many developers
look down on configuration as
“not real programming”.
There’s an idolatry of coding today.
We’ve been told that
“software is eating the world”,
and we’ve inaccurately translated that to
“coding is eating the world”
…
Configuration is your friend.
Days of programming can save
hours of configuration.
— Ben Kehoe
Effort ≠ Value
Work Smarter,
Not Harder
Responsibility:
Now, for everything you are outsourcing, you are still
accountable. Your users don’t care if their bad experience is
caused by a third
party you’re using, it’s still your problem…
Accept the discomfort of not owning your own destiny
Efficiency:
The business value that your organization
is trying to create is the point…
You should go serverless because
you want to focus on creating value
Programming:
Configuration is your friend.
Days of programming can save
hours of configuration.
— Ben Kehoe
You should go serverless
Agenda
1. Context: R E P
2. Serverless: S3, Shape, S3, S3
3. Multi-Cloud: The Good, the Bad & the Ugly
4. Recap: Actionable Takeaways
S3 Time!
Surprising
Serverless
Stories!
Serverless Story 1: How Many Australians Can You Fit on a Website?
‣ “Austin Wilshire and Bernd Hartzer received world-wide attention in August [2016]
when they built an alternative Australian Bureau of Statistics Census website for $10
million less than the Australian government.”
‣ “The kicker? The official ABS site crashed almost immediately after launching.
Whereas, the site created by Austin and Bernd at a weekend hack-a-thon remained
stable because it was built using serverless architecture. It also cost less than $500
compared to the government’s $10 million price tag.”
‣ Said Austin: “[T]o set up the actual architecture, it took me
most of Saturday because I’d never touched AWS in my life.”
Serverless Story 2: Serverless Startup Shoots for the Stars
‣ Sam Kroonenburg took 4 weeks off work (as a Dev Manager at Microsoft)
‣ With the goal to build a Learning Management System
w/ Video Lessons, Quiz Engine, Online Store, Sign Up / Login, etc.
‣ And asked himself what he could reuse instead of rebuilding
‣ AWS: S3, Lambda, CloudFront, Elastic Transcoder, etc.
‣ Other services: Auth0, Webtask, Firebase DB, Stripe
True
cloud-native
is simpler,
not
more complex.
https://turnoff.us/geek/enterprise-vs-startup-journey-to-cloud/
Serverless Story 3: Wait, What?!?
‣ Enterprise setting, traditional system project of 20 people
‣ 7 months into a 9-month timeline; overrun guaranteed
‣ 2 people built it over the weekend, using Serverless
‣ Took them 1 month to convince team;
whole project finished 1 month early
!!!
Another Enterprise: Capital One
‣ “It’s been nearly a decade since Capital One made
the decision to transition to the cloud…
‣ “In 2021, we closed our last remaining data center…
‣ “Much of our success goes to technologies like AWS
Serverless Application Model (SAM), which
enables our talented developers to do in minutes
what previously took months to do.”
Another Enterprise: Capital One
Serverless… enables… talented developers to
do in minutes
what previously took months to do.
— Capital One,
Fortune 150 Company
What is Serverless?
To truly spell it out, the term “serverless”
is a bit of a misnomer.
The servers are still there
— they’re physically in Amazon’s data centers
— SAM simply removes any infrastructure concerns.
— Capital One,
Fortune 150 Company
What is Serverless?
Scales:
1. Automatically
2. Linearly (or less)
3. Continuously
4. From zero
5. Based on usage
6. Infinitely
7. Transparently (i.e. expertly-managed)
Value
Cost
What is Serverless?
Scales:
1. Automatically
2. Linearly (or less)
3. Continuously
4. From zero
5. Based on usage
6. Infinitely
7. Transparently (i.e. expertly-managed)
Value
Cost
What is Serverless?
Scales:
1. Automatically
2. Linearly (or less)
3. Continuously
4. From zero
5. Based on usage
6. Infinitely
7. Transparently (i.e. expertly-managed)
Value
Cost
What is Serverless?
Scales:
1. Automatically
2. Linearly (or less)
3. Continuously
4. From zero
5. Based on usage
6. Infinitely
7. Transparently (i.e. expertly-managed)
Value
Cost
What is Serverless?
Scales:
1. Automatically
2. Linearly (or less)
3. Continuously
4. From zero
5. Based on usage
6. Infinitely
7. Transparently (i.e. expertly-managed)
Value
Cost
What is Serverless?
Scales:
1. Automatically
2. Linearly (or less)
3. Continuously
4. From zero
5. Based on usage
6. Infinitely
7. Transparently (i.e. expertly-managed)
The Shape of Serverless
Scales:
1. Automatically
2. Linearly (or less)
3. Continuously
4. From zero
5. Based on usage
6. Infinitely
7. Transparently (i.e. expertly-managed)
Value
Cost
My Favourite Serverless Service
‣ S3 (or Google Cloud Storage, or Azure Blob Storage)
‣ Core to virtually every system
‣ Storage durability is a…
‣ Early serverless service (truly cloud-native)
‣ Non-compute
(enlightening some who assume
Serverless = Lambda/Functions)
MAJOR PAIN IN THE BUTT
Sample Serverless Services (AWS)
‣ S3
‣ DynamoDB
‣ Lambda
‣ API Gateway
‣ CloudFront
‣ Certificate Manager
‣ EventBridge
‣ StepFunctions
‣ Cognito
‣ SQS
‣ SNS
‣ Rekognition
‣ Transcribe
‣ Comprehend
‣ Translate
‣ Polly
‣ Lex
‣ Elastic Transcoder
‣ Kinesis Firehose
‣ Glue
‣ Athena
‣ SageMaker Serverless
Inference
‣ KMS
‣ IAM
‣ CloudWatch
‣ CloudFormation
‣ …
Sample Serverless Services (GCP)
‣ Google Cloud
Storage
‣ BigQuery
‣ Firestore
‣ Cloud Functions
‣ Cloud Run
‣ Pub/Sub
‣ Workflows
‣ Eventarc
‣ Cloud Translation
‣ Cloud Vision
‣ Text-to-Speech
‣ Speech-to-Text
‣ Document AI
‣ Vertex AI
Recommendations
Predictions
‣ Vertex AI Generative
AI
‣ Cloud CDN
‣ Cloud Build
‣ Artifact Registry
‣ Cloud Shell
‣ Cloud Monitoring
‣ Cloud Logging
‣ Cloud Trace
‣ Error Reporting
‣ …
Sample Serverless Services (Azure)
‣ Azure Blob Storage
‣ Azure Functions
‣ Durable Functions
‣ Azure CDN
‣ Queue Storage
‣ Application Insights
‣ App Service Platform
‣ Azure Container Apps
‣ Azure Cosmos DB
Serverless APIs
‣ Azure Repos
‣ Azure Artifacts
‣ Azure AI Speech
‣ Azure AI Language
‣ Azure AI Translator
‣ Azure AI Vision
‣ Azure AI Content Safety
‣ Azure AI Document
Intelligence
‣ Azure OpenAI Service
‣ Azure Front Door Classic
‣ API Management v1
Consumption
‣ Azure Active Directory
External Identities
‣ …
How to Architect and Develop Serverlessly
1. Think Event-Driven
2. Build Statelessly
3. Embrace Managed
Agenda
1. Context: R E P
2. Serverless: S3, Shape, S3, S3
3. Multi-Cloud: The Good, the Bad & the Ugly
4. Recap: Actionable Takeaways
Buying Decisions
Buying Decisions
Cheaper Insurance — Half Price!
Ugly: LCD Multi-cloud
Lowest Common
Denominator
(Everything you build should be able to run on any cloud)
i.e. Don’t use any new technology
i.e. Only use commodity old stuff
i.e. Very little serverless
i.e. Super-inefficient
1/3
3/4
-6/61
5/99
8/25
“Avoid Vendor
Lock-In!”
Ugly: LCD Multi-cloud
59 minutes
59 minutes
≈ 1h
Serverless… enables… talented developers to
do in minutes what previously took months to do.
1.1 months
1.1 months
* 25 days / month
* 8h / day
= 220h
1h vs 220h?
>220x longer to stick with the old way and avoid lock-in? Yikes!
Ugly: FUD
Fear
Uncertainty
Doubt
Good: Combo Cloud
Remember S3-2?
A Cloud Guru
Good: Combo Cloud
‣ AWS: S3, Lambda, CloudFront,
Elastic Transcoder, etc.
‣ Other services: Auth0, Webtask,
Firebase DB, Stripe
‣ Combo Cloud
‣ “Best in Class” Multi-cloud
Bad: Complexity
Beware overconfidence
Don’t assume
Be careful with security!
Multi-Cloud
The Good The Bad The Ugly
Combo Cloud! Complexity LCD / FUD
Agenda
1. Context: R E P
2. Serverless: S3, Shape, S3, S3
3. Multi-Cloud: The Good, the Bad & the Ugly
4. Recap: Actionable Takeaways
Recap of
Actionable
Takeaways
Manual Work
Error-prone DIY Expert-Managed
Time-Efficient
Try to Live Here
Limit to 3%
1. Mind the Control-Responsibility Spectrum
Serverless is the New Black (and the True Cloud-Native)
2. Build solutions, not programs/systems
(No one cares about your code, only how you can help them.) So…
3. Seek out and use
expertly-managed services/apps
(You’re probably not as good as you think at the details.)
4. Architect systems to be
stateless and event-based
(This helps align your system costs to value achieved.)
Serverless is the New Black (and the True Cloud-Native)
Value
Cost
5. Remember that
Serverless comes
in many forms,
not just functions
6. Always look at the
pricing page early
7. Recognize the shape
of serverless:
Navigating Multi-Cloud
8. Decline the overpriced insurance offered by
Lowest Common Denominator Multi-Cloud
(People will happily take your gorilla-protection money.)
9. Don’t buy the FUD; Multi-Cloud can work
(Ignore the haters; do what works for you.)
10.Embrace Combo-Cloud when its ROI is high
enough to outweigh the complexity cost
(And only then.)
More Resources
11.Read “Serverless is a State of Mind”
(And Ben’s other articles.)
https://ben11kehoe.medium.com/serverless-is-a-state-of-mind-717ef2088b42
12.Read “Multi-Cloud is the Worst Practice”
(By the always-snarky Corey Quinn.)
https://www.lastweekinaws.com/blog/multi-cloud-is-the-worst-practice/
13.Do the Cloud Resume Challenge
(It’s not just for finding a job,
it’s about realizing the potential of today’s tech.)
MATTIAS
ANDERSSON
https://www.linkedin.com/in/mattias-andersson
14. Reach out!
One more thing…
All the QR codes in this talk
point to a serverless link-redirecting system
that I bootstrapped in a day
with no functions; just config
L
i
k
e
t
h
i
s
o
n
e
Wrap-Up
Questions?
Feedback?
MATTIAS
ANDERSSON
https://www.linkedin.com/in/mattias-andersson
Reach out!
Slides
Are Multi-Cloud and Serverless Good or Bad?

More Related Content

Similar to Are Multi-Cloud and Serverless Good or Bad?

Similar to Are Multi-Cloud and Serverless Good or Bad? (20)

Serverless in production, an experience report (IWOMM)
Serverless in production, an experience report (IWOMM)Serverless in production, an experience report (IWOMM)
Serverless in production, an experience report (IWOMM)
 
DevOps Tooling - Pop-up Loft TLV 2017
DevOps Tooling - Pop-up Loft TLV 2017DevOps Tooling - Pop-up Loft TLV 2017
DevOps Tooling - Pop-up Loft TLV 2017
 
Cloud adoption fails - 5 ways deployments go wrong and 5 solutions
Cloud adoption fails - 5 ways deployments go wrong and 5 solutionsCloud adoption fails - 5 ways deployments go wrong and 5 solutions
Cloud adoption fails - 5 ways deployments go wrong and 5 solutions
 
Incident Management in the Age of DevOps and SRE
Incident Management in the Age of DevOps and SRE Incident Management in the Age of DevOps and SRE
Incident Management in the Age of DevOps and SRE
 
SID302_Force Multiply Your Security Team with Automation and Alexa
SID302_Force Multiply Your Security Team with Automation and AlexaSID302_Force Multiply Your Security Team with Automation and Alexa
SID302_Force Multiply Your Security Team with Automation and Alexa
 
The Road To Event-Driven Architecture
The Road To Event-Driven ArchitectureThe Road To Event-Driven Architecture
The Road To Event-Driven Architecture
 
Computational Patterns of the Cloud - QCon NYC 2014
Computational Patterns of the Cloud - QCon NYC 2014Computational Patterns of the Cloud - QCon NYC 2014
Computational Patterns of the Cloud - QCon NYC 2014
 
Adding the Sec to Your DevOps Pipelines
Adding the Sec to Your DevOps PipelinesAdding the Sec to Your DevOps Pipelines
Adding the Sec to Your DevOps Pipelines
 
Convince your boss to go Serverless at AWS User Group Tirupathi and Serverles...
Convince your boss to go Serverless at AWS User Group Tirupathi and Serverles...Convince your boss to go Serverless at AWS User Group Tirupathi and Serverles...
Convince your boss to go Serverless at AWS User Group Tirupathi and Serverles...
 
Serverless is more FinDev than DevOps
Serverless is more FinDev than DevOpsServerless is more FinDev than DevOps
Serverless is more FinDev than DevOps
 
The "Holy Grail" of Dev/Ops
The "Holy Grail" of Dev/OpsThe "Holy Grail" of Dev/Ops
The "Holy Grail" of Dev/Ops
 
Born in the Cloud, Built like a Startup
Born in the Cloud, Built like a StartupBorn in the Cloud, Built like a Startup
Born in the Cloud, Built like a Startup
 
CuriousMinds and Siemens in Brasov 2015 - Building and Developing for the Clo...
CuriousMinds and Siemens in Brasov 2015 - Building and Developing for the Clo...CuriousMinds and Siemens in Brasov 2015 - Building and Developing for the Clo...
CuriousMinds and Siemens in Brasov 2015 - Building and Developing for the Clo...
 
Serverless in production, an experience report (Going Serverless)
Serverless in production, an experience report (Going Serverless)Serverless in production, an experience report (Going Serverless)
Serverless in production, an experience report (Going Serverless)
 
Microservices, Microfrontends and Feature Teams
Microservices, Microfrontends and Feature TeamsMicroservices, Microfrontends and Feature Teams
Microservices, Microfrontends and Feature Teams
 
Scaling Fast & Running Lean
Scaling Fast & Running LeanScaling Fast & Running Lean
Scaling Fast & Running Lean
 
Dev Ops without the Ops
Dev Ops without the OpsDev Ops without the Ops
Dev Ops without the Ops
 
A real-life account of moving 100% to a public cloud
A real-life account of moving 100% to a public cloudA real-life account of moving 100% to a public cloud
A real-life account of moving 100% to a public cloud
 
Serverless is more findev than devops
Serverless is more findev than devopsServerless is more findev than devops
Serverless is more findev than devops
 
DEV325_Application Deployment Techniques for Amazon EC2 Workloads with AWS Co...
DEV325_Application Deployment Techniques for Amazon EC2 Workloads with AWS Co...DEV325_Application Deployment Techniques for Amazon EC2 Workloads with AWS Co...
DEV325_Application Deployment Techniques for Amazon EC2 Workloads with AWS Co...
 

Recently uploaded

Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc
 

Recently uploaded (20)

Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 

Are Multi-Cloud and Serverless Good or Bad?

  • 4. Agenda 1. Context: R E P 2. Serverless: S3, Shape, S3, S3 3. Multi-Cloud: The Good, the Bad & the Ugly 4. Recap: Actionable Takeaways
  • 5. MATTIAS ANDERSSON ‣ SFU Computing Science grad, 2001 ‣ Dev on Microsoft Office Shared Services ‣ Many hats in software development: architecture, security, leadership, etc. ‣ Taught hundreds of thousands to architect, build, & run cloud systems ‣ AWS Community Builder, Serverless
  • 6. Agenda 1. Context: R E P 2. Serverless: S3, Shape, S3, S3 3. Multi-Cloud: The Good, the Bad & the Ugly 4. Recap: Actionable Takeaways
  • 9. This is… The actual Control-Responsibility Spectrum Control Responsibility
  • 10. Control-Responsibility Spectrum Control Responsibility Not My Problem It Just Works “Managed” We hope trust to fix problems
  • 11. Control-Responsibility Spectrum Manual Work Control Managed Time-Efficient Possibly resource-efficient (maybe) (certainly not certain)
  • 12. Control-Responsibility Spectrum Manual Work Control Managed Time-Efficient YOU’LL NEVER BELIEVE THIS ONE SIMPLE TRICK!!!
  • 15.
  • 17. Travelling Salesman Problem Efficiency https://xkcd.com/399/ Super-easy, barely an inconvenience 0h, really?
  • 18. premature optimization is the root of all evil — Donald Knuth
  • 19. “Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.” — Donald Knuth
  • 22.
  • 23. “I decided data processors ought to be able to write their programs in English, and the computers would translate them into machine code. That was the beginning of COBOL… I could say 'Subtract income tax from pay' instead of trying to write that in octal code” — Grace Hopper
  • 24. The most damaging phrase in the language is “We’ve always done it this way!” — Rear Admiral Grace Murray Hopper in an interview in Information Week, March 9, 1987, p. 52
  • 25. I think many developers look down on configuration as “not real programming”. There’s an idolatry of coding today. We’ve been told that “software is eating the world”, and we’ve inaccurately translated that to “coding is eating the world” … Configuration is your friend. Days of programming can save hours of configuration. — Ben Kehoe
  • 28. Responsibility: Now, for everything you are outsourcing, you are still accountable. Your users don’t care if their bad experience is caused by a third party you’re using, it’s still your problem… Accept the discomfort of not owning your own destiny Efficiency: The business value that your organization is trying to create is the point… You should go serverless because you want to focus on creating value Programming: Configuration is your friend. Days of programming can save hours of configuration. — Ben Kehoe
  • 29. You should go serverless
  • 30. Agenda 1. Context: R E P 2. Serverless: S3, Shape, S3, S3 3. Multi-Cloud: The Good, the Bad & the Ugly 4. Recap: Actionable Takeaways
  • 32. Serverless Story 1: How Many Australians Can You Fit on a Website? ‣ “Austin Wilshire and Bernd Hartzer received world-wide attention in August [2016] when they built an alternative Australian Bureau of Statistics Census website for $10 million less than the Australian government.” ‣ “The kicker? The official ABS site crashed almost immediately after launching. Whereas, the site created by Austin and Bernd at a weekend hack-a-thon remained stable because it was built using serverless architecture. It also cost less than $500 compared to the government’s $10 million price tag.” ‣ Said Austin: “[T]o set up the actual architecture, it took me most of Saturday because I’d never touched AWS in my life.”
  • 33. Serverless Story 2: Serverless Startup Shoots for the Stars ‣ Sam Kroonenburg took 4 weeks off work (as a Dev Manager at Microsoft) ‣ With the goal to build a Learning Management System w/ Video Lessons, Quiz Engine, Online Store, Sign Up / Login, etc. ‣ And asked himself what he could reuse instead of rebuilding ‣ AWS: S3, Lambda, CloudFront, Elastic Transcoder, etc. ‣ Other services: Auth0, Webtask, Firebase DB, Stripe
  • 35. Serverless Story 3: Wait, What?!? ‣ Enterprise setting, traditional system project of 20 people ‣ 7 months into a 9-month timeline; overrun guaranteed ‣ 2 people built it over the weekend, using Serverless ‣ Took them 1 month to convince team; whole project finished 1 month early !!!
  • 36. Another Enterprise: Capital One ‣ “It’s been nearly a decade since Capital One made the decision to transition to the cloud… ‣ “In 2021, we closed our last remaining data center… ‣ “Much of our success goes to technologies like AWS Serverless Application Model (SAM), which enables our talented developers to do in minutes what previously took months to do.”
  • 37. Another Enterprise: Capital One Serverless… enables… talented developers to do in minutes what previously took months to do. — Capital One, Fortune 150 Company
  • 38. What is Serverless? To truly spell it out, the term “serverless” is a bit of a misnomer. The servers are still there — they’re physically in Amazon’s data centers — SAM simply removes any infrastructure concerns. — Capital One, Fortune 150 Company
  • 39. What is Serverless? Scales: 1. Automatically 2. Linearly (or less) 3. Continuously 4. From zero 5. Based on usage 6. Infinitely 7. Transparently (i.e. expertly-managed)
  • 40. Value Cost What is Serverless? Scales: 1. Automatically 2. Linearly (or less) 3. Continuously 4. From zero 5. Based on usage 6. Infinitely 7. Transparently (i.e. expertly-managed)
  • 41. Value Cost What is Serverless? Scales: 1. Automatically 2. Linearly (or less) 3. Continuously 4. From zero 5. Based on usage 6. Infinitely 7. Transparently (i.e. expertly-managed)
  • 42. Value Cost What is Serverless? Scales: 1. Automatically 2. Linearly (or less) 3. Continuously 4. From zero 5. Based on usage 6. Infinitely 7. Transparently (i.e. expertly-managed)
  • 43. Value Cost What is Serverless? Scales: 1. Automatically 2. Linearly (or less) 3. Continuously 4. From zero 5. Based on usage 6. Infinitely 7. Transparently (i.e. expertly-managed)
  • 44. Value Cost What is Serverless? Scales: 1. Automatically 2. Linearly (or less) 3. Continuously 4. From zero 5. Based on usage 6. Infinitely 7. Transparently (i.e. expertly-managed)
  • 45. The Shape of Serverless Scales: 1. Automatically 2. Linearly (or less) 3. Continuously 4. From zero 5. Based on usage 6. Infinitely 7. Transparently (i.e. expertly-managed) Value Cost
  • 46. My Favourite Serverless Service ‣ S3 (or Google Cloud Storage, or Azure Blob Storage) ‣ Core to virtually every system ‣ Storage durability is a… ‣ Early serverless service (truly cloud-native) ‣ Non-compute (enlightening some who assume Serverless = Lambda/Functions) MAJOR PAIN IN THE BUTT
  • 47. Sample Serverless Services (AWS) ‣ S3 ‣ DynamoDB ‣ Lambda ‣ API Gateway ‣ CloudFront ‣ Certificate Manager ‣ EventBridge ‣ StepFunctions ‣ Cognito ‣ SQS ‣ SNS ‣ Rekognition ‣ Transcribe ‣ Comprehend ‣ Translate ‣ Polly ‣ Lex ‣ Elastic Transcoder ‣ Kinesis Firehose ‣ Glue ‣ Athena ‣ SageMaker Serverless Inference ‣ KMS ‣ IAM ‣ CloudWatch ‣ CloudFormation ‣ …
  • 48. Sample Serverless Services (GCP) ‣ Google Cloud Storage ‣ BigQuery ‣ Firestore ‣ Cloud Functions ‣ Cloud Run ‣ Pub/Sub ‣ Workflows ‣ Eventarc ‣ Cloud Translation ‣ Cloud Vision ‣ Text-to-Speech ‣ Speech-to-Text ‣ Document AI ‣ Vertex AI Recommendations Predictions ‣ Vertex AI Generative AI ‣ Cloud CDN ‣ Cloud Build ‣ Artifact Registry ‣ Cloud Shell ‣ Cloud Monitoring ‣ Cloud Logging ‣ Cloud Trace ‣ Error Reporting ‣ …
  • 49. Sample Serverless Services (Azure) ‣ Azure Blob Storage ‣ Azure Functions ‣ Durable Functions ‣ Azure CDN ‣ Queue Storage ‣ Application Insights ‣ App Service Platform ‣ Azure Container Apps ‣ Azure Cosmos DB Serverless APIs ‣ Azure Repos ‣ Azure Artifacts ‣ Azure AI Speech ‣ Azure AI Language ‣ Azure AI Translator ‣ Azure AI Vision ‣ Azure AI Content Safety ‣ Azure AI Document Intelligence ‣ Azure OpenAI Service ‣ Azure Front Door Classic ‣ API Management v1 Consumption ‣ Azure Active Directory External Identities ‣ …
  • 50. How to Architect and Develop Serverlessly 1. Think Event-Driven 2. Build Statelessly 3. Embrace Managed
  • 51.
  • 52. Agenda 1. Context: R E P 2. Serverless: S3, Shape, S3, S3 3. Multi-Cloud: The Good, the Bad & the Ugly 4. Recap: Actionable Takeaways
  • 55. Cheaper Insurance — Half Price!
  • 56. Ugly: LCD Multi-cloud Lowest Common Denominator (Everything you build should be able to run on any cloud) i.e. Don’t use any new technology i.e. Only use commodity old stuff i.e. Very little serverless i.e. Super-inefficient 1/3 3/4 -6/61 5/99 8/25 “Avoid Vendor Lock-In!”
  • 57. Ugly: LCD Multi-cloud 59 minutes 59 minutes ≈ 1h Serverless… enables… talented developers to do in minutes what previously took months to do. 1.1 months 1.1 months * 25 days / month * 8h / day = 220h 1h vs 220h? >220x longer to stick with the old way and avoid lock-in? Yikes!
  • 59. Good: Combo Cloud Remember S3-2? A Cloud Guru
  • 60. Good: Combo Cloud ‣ AWS: S3, Lambda, CloudFront, Elastic Transcoder, etc. ‣ Other services: Auth0, Webtask, Firebase DB, Stripe ‣ Combo Cloud ‣ “Best in Class” Multi-cloud
  • 61. Bad: Complexity Beware overconfidence Don’t assume Be careful with security!
  • 62. Multi-Cloud The Good The Bad The Ugly Combo Cloud! Complexity LCD / FUD
  • 63. Agenda 1. Context: R E P 2. Serverless: S3, Shape, S3, S3 3. Multi-Cloud: The Good, the Bad & the Ugly 4. Recap: Actionable Takeaways
  • 65. Manual Work Error-prone DIY Expert-Managed Time-Efficient Try to Live Here Limit to 3% 1. Mind the Control-Responsibility Spectrum
  • 66. Serverless is the New Black (and the True Cloud-Native) 2. Build solutions, not programs/systems (No one cares about your code, only how you can help them.) So… 3. Seek out and use expertly-managed services/apps (You’re probably not as good as you think at the details.) 4. Architect systems to be stateless and event-based (This helps align your system costs to value achieved.)
  • 67. Serverless is the New Black (and the True Cloud-Native) Value Cost 5. Remember that Serverless comes in many forms, not just functions 6. Always look at the pricing page early 7. Recognize the shape of serverless:
  • 68. Navigating Multi-Cloud 8. Decline the overpriced insurance offered by Lowest Common Denominator Multi-Cloud (People will happily take your gorilla-protection money.) 9. Don’t buy the FUD; Multi-Cloud can work (Ignore the haters; do what works for you.) 10.Embrace Combo-Cloud when its ROI is high enough to outweigh the complexity cost (And only then.)
  • 69. More Resources 11.Read “Serverless is a State of Mind” (And Ben’s other articles.) https://ben11kehoe.medium.com/serverless-is-a-state-of-mind-717ef2088b42 12.Read “Multi-Cloud is the Worst Practice” (By the always-snarky Corey Quinn.) https://www.lastweekinaws.com/blog/multi-cloud-is-the-worst-practice/ 13.Do the Cloud Resume Challenge (It’s not just for finding a job, it’s about realizing the potential of today’s tech.)
  • 71. One more thing… All the QR codes in this talk point to a serverless link-redirecting system that I bootstrapped in a day with no functions; just config L i k e t h i s o n e