Upgrade to Pro — share decks privately, control downloads, hide ads and more …

FinOps on Google Cloud Platform

Posedio
January 18, 2024

FinOps on Google Cloud Platform

Posedio

January 18, 2024
Tweet

More Decks by Posedio

Other Decks in Programming

Transcript

  1. HOW TO SAVE MONEY 1. Understanding cloud costs 2. Some

    low-hanging fruits 3. The toolbox 4.FinOps automation
  2. 4 UNDERSTANDING CLOUD COSTS • Usage based - CPU/hour, memory/hour

    • Data based – Bytes processed; Bytes transferred; Bytes stored • API calls • Fixed prices
  3. 5 THE OTHER SIDE • Total cost of ownership •

    Upfront costs • Developer costs vs managed services • Unexpected demand changes
  4. 6 WHAT WE CAN DO TO REDUCE BILLS • Planning

    • Underutilization • Scaling • Committed use discounts • Preemptable workloads • Managed services/pay-as-you go models • Budget alerts
  5. 7 WHAT WE CAN DO TO REDUCE BILLS • Planning

    • Underutilization • Scaling • Committed use discounts • Preemptable workloads • Managed services/pay-as-you go models • Budget alerts
  6. 10 NODE POOLS • Different node pools for different workloads

    • Different machine sizes • Scaled down to 0 and waiting for work
  7. 13 THE TOOLBOX • Google Cloud's pricing calculator • Terraform

    • Infracost • Cloud custodian • FinOps foundation
  8. 14 CLOUD PRICING CALCULATOR • Provides an indication for the

    costs • Might not take into account dynamic scaling • Leads to interesting insights
  9. 15 INFRACOST • Can run in the CI pipeline •

    Provides a cost indication for terraform-managed resources • Can be a part of the MR approval process
  10. 16 CLOUD CUSTODIAN • Enforces policies for cloud resources •

    Filters resources based on type, labels, other properties • Basis for an automated FinOps workflow
  11. 18 AUTOMATION • Self-service platforms • Golden path • Enabling

    engineers to act • Automatically remove unused resources • Cloud scheduler • Cloud functions