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
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”

This is my Architecture to prevent Cloud Bill Shock

  • 2.
    Welcome to ServerlessToronto.org 2 IntroduceYourself: - 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 (sinceFaaS 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 uncertaintyto 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 intoConsultancy: 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 ourpath 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 myArchitecture 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 - Experimentedwith 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 - Triggeredinfinite recursion on 1000 instances - Thanks to “Background Processes” - Caused 116 Billion Firebase Reads - Thousands of hours of Cloud Run
  • 15.
    tl;dr 3 - Instancesscaled 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 atthe Right Place, at the Right Time https://announce.today
  • 18.
    How to useCloud and Sleep Well
  • 19.
  • 20.
    1. Use multipleforms of payments, preferably with spend caps
  • 21.
  • 22.
  • 23.
    4. Spend goodamount 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 FreeProjects To power multiple environments
  • 26.
  • 27.
  • 28.
    - Code Repositories -Access Tokens - Deployment Keys - Deployment Permissions
  • 29.
    9. Read “BestPractices in XYZ Service” before deploying it
  • 30.
    10. Billing BudgetAlerts / Notifications
  • 31.