SlideShare une entreprise Scribd logo
1  sur  74
Télécharger pour lire hors ligne
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?

Contenu connexe

Similaire à Are Multi-Cloud and Serverless Good or Bad?

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)Yan Cui
 
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 2017Amazon Web Services
 
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 solutionsYevgeniy Brikman
 
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 Rundeck
 
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 AlexaAmazon Web Services
 
The Road To Event-Driven Architecture
The Road To Event-Driven ArchitectureThe Road To Event-Driven Architecture
The Road To Event-Driven ArchitectureSheenBrisals
 
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 2014Ines Sombra
 
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 PipelinesAmazon Web Services
 
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...Vadym Kazulkin
 
Serverless is more FinDev than DevOps
Serverless is more FinDev than DevOpsServerless is more FinDev than DevOps
Serverless is more FinDev than DevOpsYan Cui
 
The "Holy Grail" of Dev/Ops
The "Holy Grail" of Dev/OpsThe "Holy Grail" of Dev/Ops
The "Holy Grail" of Dev/OpsErik Osterman
 
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 StartupAmazon Web Services
 
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...Vadim Zendejas
 
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)Yan Cui
 
Microservices, Microfrontends and Feature Teams
Microservices, Microfrontends and Feature TeamsMicroservices, Microfrontends and Feature Teams
Microservices, Microfrontends and Feature TeamsGiulio Roggero
 
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 cloudJulien SIMON
 
Serverless is more findev than devops
Serverless is more findev than devopsServerless is more findev than devops
Serverless is more findev than devopsYan Cui
 
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...Amazon Web Services
 

Similaire à 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...
 

Dernier

Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Dernier (20)

Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

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