Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

2 HI • Damjan Gjurovski • Platform engineering with focus on GCP

Slide 3

Slide 3 text

HOW TO SAVE MONEY 1. Understanding cloud costs 2. Some low-hanging fruits 3. The toolbox 4.FinOps automation

Slide 4

Slide 4 text

4 UNDERSTANDING CLOUD COSTS • Usage based - CPU/hour, memory/hour • Data based – Bytes processed; Bytes transferred; Bytes stored • API calls • Fixed prices

Slide 5

Slide 5 text

5 THE OTHER SIDE • Total cost of ownership • Upfront costs • Developer costs vs managed services • Unexpected demand changes

Slide 6

Slide 6 text

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

Slide 7

Slide 7 text

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

Slide 8

Slide 8 text

8 PLANNING • Labels and cost centers • Committed use • Cost estimates

Slide 9

Slide 9 text

9 PREEMPTABLE WORKLOADS • Workloads that can handle restarts • Workloads that are not time sensitive

Slide 10

Slide 10 text

10 NODE POOLS • Different node pools for different workloads • Different machine sizes • Scaled down to 0 and waiting for work

Slide 11

Slide 11 text

11 AUTOSCALERS • Horizontal pod autoscaler • Vertical pod autoscaler • Recommendation mode

Slide 12

Slide 12 text

12 GKE AUTOPILOT • Pay-per-pod • ”Fixed” service cost

Slide 13

Slide 13 text

13 THE TOOLBOX • Google Cloud's pricing calculator • Terraform • Infracost • Cloud custodian • FinOps foundation

Slide 14

Slide 14 text

14 CLOUD PRICING CALCULATOR • Provides an indication for the costs • Might not take into account dynamic scaling • Leads to interesting insights

Slide 15

Slide 15 text

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

Slide 16

Slide 16 text

16 CLOUD CUSTODIAN • Enforces policies for cloud resources • Filters resources based on type, labels, other properties • Basis for an automated FinOps workflow

Slide 17

Slide 17 text

17 FINOPS FOUNDATION • FinOps framework • Maturity model • Certifications

Slide 18

Slide 18 text

18 AUTOMATION • Self-service platforms • Golden path • Enabling engineers to act • Automatically remove unused resources • Cloud scheduler • Cloud functions

Slide 19

Slide 19 text

19 WANT TO KEEP THE DISCUSSION GOING? MESSAGE ME ON LINKEDIN!