SlideShare a Scribd company logo
This is my Architecture to prevent Cloud Bill Shock
Welcome to ServerlessToronto.org
2
Introduce Yourself:
- Where from? Why are you here?
- Looking for, or Offering work?
Fill the survey to win prises!
Apr 5, 2021: “How to use Cloud without
losing Sleep (and $$$$)”
starts at 18:10pm…
Serverless Evolution (since FaaS started)
3
Serverless is New Agile & Mindset
#1 We started as Back-
end FaaS (Serverless)
Developers who enjoyed
“gluing” other people’s
APIs and Managed
Services)
#3 We're obsessed by
creating business value
(meaningful MVPs,
Products), focusing on
Outcomes – NOT
Outputs, and we mesh
well with Product
Managers
#2 We build bridges
between Serverless
Community (“Dev leg”),
and Front-end, Voice-First
& UX folks (“UX leg”)
#4 Achieve agility NOT
by “sprinting” faster
(like in Scrum), but
working smarter (by
using bigger building
blocks and less Ops)
Disconnect between IT & Business needs
4
How to help companies accelerate?
Technology is not the point => We are here to create Value
Adopting Serverless Mindset allowed us to shift the focus from “pimping
up our cars” (infrastructure/code), towards “driving” (the business) forward.
≠
Covid-19 brought uncertainty to IT
5
Let’s Help one another as a Community
Yes, Cloud Computing is more
important than ever, but
1. most of you have to work longer
hours, many had to accept
“temporary” pay cuts, or both!
2. If takes longer to find work, and
3. if you are contractor, your
engagements are getting shorter.
On the flip side, COVID opened
possibilities for remote Cloud jobs
anywhere in the world... so
Community maturing into Consultancy:
6
Let’s Help Businesses propel into Clouds
1. Keep growing our Community of
Cloud Experts… with more relevant
Business-focused topics
2. Start offering Cloud Consulting
services… for free, then for-Fee
3. Start offering “matchmaking”
services… to connect Cloud experts
with Employers
4. Employers will get priority access to
the pool of Cloud Pros, regardless of
how short (or long) they'll need us
for… so
Fill the form to let me know what you
think and win in Manning raffle:
https://forms.gle/BUiHVT3ZCp1dcuoH7
Knowledge Sponsor
(on our path to enlightenment :)
1. Go to www.manning.com
2. Select *any* e-Book, Video course, or liveProject you want!
3. Add it to your shopping cart (no more than 1 item in the cart)
4. Raffle winners will send me the emails (used in Manning portal),
5. So the publisher can move it to your Dashboard – as if purchased.
Fill the survey to win!
Upcoming ServerlessToronto.org Meetups
8
1) Running Business Analytics for a
Serverless Insurance Company –
Joe Emison, ourBranch.com
2) Azure for Bioinformatics: Data
Lake Architecture for genomic-
scale data analysis – Lynn Langit
3) Snowflake lecture is coming…
4) Evening with Lak Lakshmanan,
Head of Data Analytics & AI
Solutions at Google Cloud
YOUR “This is my Architecture” style
topics are welcome! ☺
Please rate us on Meetup &
Tell your peers we’re here to
Help YOU help others
9
This is my Architecture to prevent Cloud
Bill Shock
Sudeep Chauhan
https://announce.today | https://pointaddress.com
https://tomilkieway.com
How to use Cloud without
losing Sleep (and $$$$)
Access via https://bit.ly/39KkFCY
Sudeep Chauhan
- Connect
- Linkedin | Twitter | Personal Blog
- sudcha@tomilkieway.com
- Based in Bay Area, CA
- Currently in Cozumel, MEX
- Founder at Milkie Way, Inc. (umbrella company)
- https://Announce.Today
- https://pointaddress.com
- Past
- Startups | Engineer | Design | Cloud | Operations etc. etc. etc.
- Google for ~7 years in India, Europe and USA
- Google Maps
- Payments and Security
- Gmail and Google Accounts
- Adwords and Business Operations
My team “Burnt $72K testing Firebase + Cloud Run and
almost went Bankrupt”. Blog posts below:
○ Part 1
○ Part 2
Background : What Started This
tl;dr 1
- Experimented with Cloud Run while building Announce
- Comparable to Amazon Elastic Kubernetes Service
- Without a great understand of Cloud
- Fail fast approach to learning Cloud
tl;dr 2
- Triggered infinite recursion on 1000 instances
- Thanks to “Background Processes”
- Caused 116 Billion Firebase Reads
- Thousands of hours of Cloud Run
tl;dr 3
- Instances scaled so rapidly, GCP billing notifications didn’t trigger in time
- Got billed $72K within few hours of service test
- Bill came after 2 days and blocked all our credit cards
- Wrote a lengthy doc for Google engineers, explaining why it’s not just our fault
- After ~10 days, some back and forth GCP let us go.
Relevant Information at the Right Place, at the Right Time
https://announce.today
This is my Architecture to prevent Cloud Bill Shock
How to use Cloud and
Sleep Well
Full Blog Post:
sudcha.com/guide-to-cloud
1. Use multiple forms of payments,
preferably with spend caps
2. Setup Service Quotas
3. Cloud Monitoring
4. Spend good amount of time
understanding and predicting
costs
5. CICD = Operational Efficiency
Time spent in CICD is like time spent in converting cube into sphere.
6. Use Free Projects
To power multiple environments
7. Multi Cloud
8. Protect the keys!
- Code Repositories
- Access Tokens
- Deployment Keys
- Deployment Permissions
9. Read “Best Practices in XYZ
Service” before deploying it
10. Billing Budget Alerts /
Notifications
Join www.ServerlessToronto.org
Home of “Less IT Mess”

More Related Content

PDF
Get started with Dialogflow & Contact Center AI on Google Cloud
PDF
Lunch & Learn BigQuery & Firebase from other Google Cloud customers
PDF
Simpler, faster, cheaper Enterprise Apps using only Spring Boot on GCP
PDF
Running Business Analytics for a Serverless Insurance Company - Joe Emison & ...
PDF
Building a Data Cloud to enable Analytics & AI-Driven Innovation - Lak Lakshm...
PDF
How to Implement Conversational IVR
PPTX
Dukungan IBM Untuk Pengembang Lokal
PDF
"Build AI Compliant Whatsapp-like Chat App Using Qiscus SDK" by Evan Purnama ...
Get started with Dialogflow & Contact Center AI on Google Cloud
Lunch & Learn BigQuery & Firebase from other Google Cloud customers
Simpler, faster, cheaper Enterprise Apps using only Spring Boot on GCP
Running Business Analytics for a Serverless Insurance Company - Joe Emison & ...
Building a Data Cloud to enable Analytics & AI-Driven Innovation - Lak Lakshm...
How to Implement Conversational IVR
Dukungan IBM Untuk Pengembang Lokal
"Build AI Compliant Whatsapp-like Chat App Using Qiscus SDK" by Evan Purnama ...

What's hot (20)

PPTX
Firebase
PDF
Bring IBM Watson to your telephone
PDF
Unleash office 365 with the power of cognitive services and microsoft graph api
PPTX
aws-iot-button-slideshow
PPTX
Global Azure2021 Verona.pptx
PDF
5 Steps To Deliver The Fastest Mobile Shopping Experience This Holiday Season
PPTX
Alternative microservices - one size doesn't fit all
PDF
2018 10-17 J1 3C - Hybrid architectures with Amazon Web Services, Office 365 ...
PPTX
Essentials of cloud dsc skct
PDF
Denver IT Support Company presents What is Cloud Computing? Answering Questio...
PDF
"API Design: From User Need to Finished Spec" by Andrew Jordan, ex-Product @T...
PPTX
Microsoft power platform
PPTX
Windows azure jump start - ppt's - 2-6-2017
PDF
Build & Track Your Mobile App
ODP
LotusLive Overvew
PPTX
Analytics in the Cloud: Getting The Most Out Of Analytics Deployments
PPTX
Event Driven Architecture (Integration Tech Event 2019)
PPTX
Super Secret Salesforce
PDF
Serverless Meetup - 12 gennaio 2017
PDF
Camunda Con 2019 Keynote - I want my process back #microservices #serverless
Firebase
Bring IBM Watson to your telephone
Unleash office 365 with the power of cognitive services and microsoft graph api
aws-iot-button-slideshow
Global Azure2021 Verona.pptx
5 Steps To Deliver The Fastest Mobile Shopping Experience This Holiday Season
Alternative microservices - one size doesn't fit all
2018 10-17 J1 3C - Hybrid architectures with Amazon Web Services, Office 365 ...
Essentials of cloud dsc skct
Denver IT Support Company presents What is Cloud Computing? Answering Questio...
"API Design: From User Need to Finished Spec" by Andrew Jordan, ex-Product @T...
Microsoft power platform
Windows azure jump start - ppt's - 2-6-2017
Build & Track Your Mobile App
LotusLive Overvew
Analytics in the Cloud: Getting The Most Out Of Analytics Deployments
Event Driven Architecture (Integration Tech Event 2019)
Super Secret Salesforce
Serverless Meetup - 12 gennaio 2017
Camunda Con 2019 Keynote - I want my process back #microservices #serverless
Ad

Similar to This is my Architecture to prevent Cloud Bill Shock (20)

PPT
Cloud Computing Webinar
PDF
Cloud Computing's Green potential
PDF
Cloudcomputingathens 111204165209-phpapp01
PPT
Why Should Nonprofits Care About Cloud Computing
PDF
Avg SMB Cloud Computing Guide 2011
PPT
Citihub IDC Event 2009 Cloud Mark Ellis
PPTX
Webinar: Is the Cloud Right for You 2016-10-18
PPT
Cloud Computing Presentation
PPTX
Serverless Toronto helps Startups
PDF
Cloud Computing for SMBs
PPT
Cloud Computing Update 1
PDF
Egypt Cloud Day, May2011--Hello Cloud Computing
PPTX
Cloud Computing: A New Trend in IT
PDF
Cloud Computing for CPAs: What Your Client Will Ask You
PPTX
Your path to the cloud local event presentation
PDF
7 Ways The Cloud Changes IT
PDF
Cloud services deep dive infoworld july 2010
PPT
Robin Daniels Presentation / CloudViews.Org - Cloud Computing Conference 2009
PPTX
Financial and Operational Results by moving to the Cloud!
Cloud Computing Webinar
Cloud Computing's Green potential
Cloudcomputingathens 111204165209-phpapp01
Why Should Nonprofits Care About Cloud Computing
Avg SMB Cloud Computing Guide 2011
Citihub IDC Event 2009 Cloud Mark Ellis
Webinar: Is the Cloud Right for You 2016-10-18
Cloud Computing Presentation
Serverless Toronto helps Startups
Cloud Computing for SMBs
Cloud Computing Update 1
Egypt Cloud Day, May2011--Hello Cloud Computing
Cloud Computing: A New Trend in IT
Cloud Computing for CPAs: What Your Client Will Ask You
Your path to the cloud local event presentation
7 Ways The Cloud Changes IT
Cloud services deep dive infoworld july 2010
Robin Daniels Presentation / CloudViews.Org - Cloud Computing Conference 2009
Financial and Operational Results by moving to the Cloud!
Ad

More from Daniel Zivkovic (20)

PDF
'The Art & Science of LLM Reliability - Building Trustworthy AI Systems' by M...
PDF
AI - Your Startup Sidekick (Leveraging AI to Bootstrap a Lean Startup).pdf
PDF
All in AI: LLM Landscape & RAG in 2024 with Mark Ryan (Google) & Jerry Liu (L...
PDF
Canadian Experts Discuss Modern Data Stacks and Cloud Computing for 5 Years o...
PDF
Opinionated re:Invent recap with AWS Heroes & Builders
PDF
Google Cloud Next '22 Recap: Serverless & Data edition
PDF
Conversational Document Processing AI with Rui Costa
PDF
How to build unified Batch & Streaming Pipelines with Apache Beam and Dataflow
PDF
Gojko's 5 rules for super responsive Serverless applications
PDF
Retail Analytics and BI with Looker, BigQuery, GCP & Leigha Jarett
PDF
What's new in Serverless at AWS?
PDF
Intro to Vertex AI, unified MLOps platform for Data Scientists & ML Engineers
PDF
Empowering Developers to be Healthcare Heroes
PDF
Smart Cities of Italy: Integrating the Cyber World with the IoT
PDF
Azure for AWS & GCP Pros: Which Azure services to use?
PDF
Serverless Evolution during 3 years of Serverless Toronto
PDF
AWS re:Invent 2020 Serverless Recap
PDF
SRE Topics with Charity Majors and Liz Fong-Jones of Honeycomb
PDF
Deliver Business Value Faster with AWS Step Functions
PDF
What’s the big deal with Graph Databases?
'The Art & Science of LLM Reliability - Building Trustworthy AI Systems' by M...
AI - Your Startup Sidekick (Leveraging AI to Bootstrap a Lean Startup).pdf
All in AI: LLM Landscape & RAG in 2024 with Mark Ryan (Google) & Jerry Liu (L...
Canadian Experts Discuss Modern Data Stacks and Cloud Computing for 5 Years o...
Opinionated re:Invent recap with AWS Heroes & Builders
Google Cloud Next '22 Recap: Serverless & Data edition
Conversational Document Processing AI with Rui Costa
How to build unified Batch & Streaming Pipelines with Apache Beam and Dataflow
Gojko's 5 rules for super responsive Serverless applications
Retail Analytics and BI with Looker, BigQuery, GCP & Leigha Jarett
What's new in Serverless at AWS?
Intro to Vertex AI, unified MLOps platform for Data Scientists & ML Engineers
Empowering Developers to be Healthcare Heroes
Smart Cities of Italy: Integrating the Cyber World with the IoT
Azure for AWS & GCP Pros: Which Azure services to use?
Serverless Evolution during 3 years of Serverless Toronto
AWS re:Invent 2020 Serverless Recap
SRE Topics with Charity Majors and Liz Fong-Jones of Honeycomb
Deliver Business Value Faster with AWS Step Functions
What’s the big deal with Graph Databases?

Recently uploaded (20)

PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Nekopoi APK 2025 free lastest update
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
L1 - Introduction to python Backend.pptx
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
Online Work Permit System for Fast Permit Processing
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
Digital Strategies for Manufacturing Companies
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Transform Your Business with a Software ERP System
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
Upgrade and Innovation Strategies for SAP ERP Customers
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Nekopoi APK 2025 free lastest update
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Understanding Forklifts - TECH EHS Solution
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
ISO 45001 Occupational Health and Safety Management System
Navsoft: AI-Powered Business Solutions & Custom Software Development
L1 - Introduction to python Backend.pptx
2025 Textile ERP Trends: SAP, Odoo & Oracle
Online Work Permit System for Fast Permit Processing
Odoo Companies in India – Driving Business Transformation.pdf
ManageIQ - Sprint 268 Review - Slide Deck
Digital Strategies for Manufacturing Companies
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Transform Your Business with a Software ERP System
VVF-Customer-Presentation2025-Ver1.9.pptx

This is my Architecture to prevent Cloud Bill Shock

  • 2. Welcome to ServerlessToronto.org 2 Introduce Yourself: - Where from? Why are you here? - Looking for, or Offering work? Fill the survey to win prises! Apr 5, 2021: “How to use Cloud without losing Sleep (and $$$$)” starts at 18:10pm…
  • 3. Serverless Evolution (since FaaS started) 3 Serverless is New Agile & Mindset #1 We started as Back- end FaaS (Serverless) Developers who enjoyed “gluing” other people’s APIs and Managed Services) #3 We're obsessed by creating business value (meaningful MVPs, Products), focusing on Outcomes – NOT Outputs, and we mesh well with Product Managers #2 We build bridges between Serverless Community (“Dev leg”), and Front-end, Voice-First & UX folks (“UX leg”) #4 Achieve agility NOT by “sprinting” faster (like in Scrum), but working smarter (by using bigger building blocks and less Ops)
  • 4. Disconnect between IT & Business needs 4 How to help companies accelerate? Technology is not the point => We are here to create Value Adopting Serverless Mindset allowed us to shift the focus from “pimping up our cars” (infrastructure/code), towards “driving” (the business) forward. ≠
  • 5. Covid-19 brought uncertainty to IT 5 Let’s Help one another as a Community Yes, Cloud Computing is more important than ever, but 1. most of you have to work longer hours, many had to accept “temporary” pay cuts, or both! 2. If takes longer to find work, and 3. if you are contractor, your engagements are getting shorter. On the flip side, COVID opened possibilities for remote Cloud jobs anywhere in the world... so
  • 6. Community maturing into Consultancy: 6 Let’s Help Businesses propel into Clouds 1. Keep growing our Community of Cloud Experts… with more relevant Business-focused topics 2. Start offering Cloud Consulting services… for free, then for-Fee 3. Start offering “matchmaking” services… to connect Cloud experts with Employers 4. Employers will get priority access to the pool of Cloud Pros, regardless of how short (or long) they'll need us for… so Fill the form to let me know what you think and win in Manning raffle: https://forms.gle/BUiHVT3ZCp1dcuoH7
  • 7. Knowledge Sponsor (on our path to enlightenment :) 1. Go to www.manning.com 2. Select *any* e-Book, Video course, or liveProject you want! 3. Add it to your shopping cart (no more than 1 item in the cart) 4. Raffle winners will send me the emails (used in Manning portal), 5. So the publisher can move it to your Dashboard – as if purchased. Fill the survey to win!
  • 8. Upcoming ServerlessToronto.org Meetups 8 1) Running Business Analytics for a Serverless Insurance Company – Joe Emison, ourBranch.com 2) Azure for Bioinformatics: Data Lake Architecture for genomic- scale data analysis – Lynn Langit 3) Snowflake lecture is coming… 4) Evening with Lak Lakshmanan, Head of Data Analytics & AI Solutions at Google Cloud YOUR “This is my Architecture” style topics are welcome! ☺ Please rate us on Meetup & Tell your peers we’re here to Help YOU help others
  • 9. 9 This is my Architecture to prevent Cloud Bill Shock
  • 10. Sudeep Chauhan https://announce.today | https://pointaddress.com https://tomilkieway.com How to use Cloud without losing Sleep (and $$$$) Access via https://bit.ly/39KkFCY
  • 11. Sudeep Chauhan - Connect - Linkedin | Twitter | Personal Blog - sudcha@tomilkieway.com - Based in Bay Area, CA - Currently in Cozumel, MEX - Founder at Milkie Way, Inc. (umbrella company) - https://Announce.Today - https://pointaddress.com - Past - Startups | Engineer | Design | Cloud | Operations etc. etc. etc. - Google for ~7 years in India, Europe and USA - Google Maps - Payments and Security - Gmail and Google Accounts - Adwords and Business Operations
  • 12. My team “Burnt $72K testing Firebase + Cloud Run and almost went Bankrupt”. Blog posts below: ○ Part 1 ○ Part 2 Background : What Started This
  • 13. tl;dr 1 - Experimented with Cloud Run while building Announce - Comparable to Amazon Elastic Kubernetes Service - Without a great understand of Cloud - Fail fast approach to learning Cloud
  • 14. tl;dr 2 - Triggered infinite recursion on 1000 instances - Thanks to “Background Processes” - Caused 116 Billion Firebase Reads - Thousands of hours of Cloud Run
  • 15. tl;dr 3 - Instances scaled so rapidly, GCP billing notifications didn’t trigger in time - Got billed $72K within few hours of service test - Bill came after 2 days and blocked all our credit cards - Wrote a lengthy doc for Google engineers, explaining why it’s not just our fault - After ~10 days, some back and forth GCP let us go.
  • 16. Relevant Information at the Right Place, at the Right Time https://announce.today
  • 18. How to use Cloud and Sleep Well
  • 20. 1. Use multiple forms of payments, preferably with spend caps
  • 23. 4. Spend good amount of time understanding and predicting costs
  • 24. 5. CICD = Operational Efficiency Time spent in CICD is like time spent in converting cube into sphere.
  • 25. 6. Use Free Projects To power multiple environments
  • 27. 8. Protect the keys!
  • 28. - Code Repositories - Access Tokens - Deployment Keys - Deployment Permissions
  • 29. 9. Read “Best Practices in XYZ Service” before deploying it
  • 30. 10. Billing Budget Alerts / Notifications