GoogleCloudPlatform / GoogleCloudPlatform/pubsec-declarative-toolkit

FinOps tracking: Idle cluster costs increase for GKE autopilot cluster from 3 to 5.5 vCores from 8-12/d and logging project up to $13/d from $10/d after 2 weeks - for core-landing-zone

Open
#492 5 comments 0 reactions 1 assignee Claimed by @fmichaelobrien View on GitHub
FinOps
Dominant language
Shell
Stars
36
Forks
26
PR merge metrics
No merged PRs in 30d

Description

https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/wiki/FinOps

TLDR;
- 4 package LZ runs US $550/month or $400/month with discounts

update 20231014 - see additional random spikes of $5/day for listCluster audit logs - charging storage on the logging project - these are security logs of 61GB and 171GB for other logs
- #561
-
Update: 20231007
- There is a sustained use discount that kicks in after 2 weeks that drops the GKE cost from 17/d (14 under SU credit) to 10/d - amounting to a 24% discount
![image](https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/assets/24765473/b760f1cc-43da-4d6c-abd5-c458e31a56df)

The networking cost is 5.5% of spend (consisting of Network Intelligence Center and the PSC endpoint)
The PSC endpoint (networking) is 2.2% of spend

![image](https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/assets/24765473/b1968ada-60f8-437c-9f47-4a570e2703b8)

Ongoing cost 16.35/day until sustained use kicks in
![image](https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/assets/24765473/511ccb22-be7e-48a7-9f8d-4d4cb128aa20)
13/d under SU credit
![image](https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/assets/24765473/2b285f26-e0b6-4035-8b06-6cd9a568cdd3)

13.65/d
![image](https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/assets/24765473/7811658f-87cd-4b23-a15a-022e4a459e9f)
to 10/d
![image](https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/assets/24765473/4295ef6e-a0d0-4d1c-bc5a-2de789db8db1)

A 2nd KCC cluster only has core-landing-zone deployed (logging and dns projects) - not the other 3 core, client packages yet

Logs are increasing - up to $5/d after 2 weeks - all of a sudden 3 days ago

Screenshot 2023-08-24 at 22 57 21

GKE cluster from 8.60 to 12.25/d after 2 weeks
Screenshot 2023-08-24 at 22 53 59

Todo: fmichaelobrien - get rate of change equation (derivative) - for logs/day increase
determine why the autopilot cluster nodes increased from 3 to 4.5 under no load or deployments

Screenshot 2023-08-24 at 22 58 04
Screenshot 2023-08-24 at 22 59 25
Screenshot 2023-08-24 at 22 59 45

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.