Skip to content

compute ddl script#460

Open
afleisc wants to merge 4 commits intomasterfrom
compute_ddl
Open

compute ddl script#460
afleisc wants to merge 4 commits intomasterfrom
compute_ddl

Conversation

@afleisc
Copy link
Collaborator

@afleisc afleisc commented Oct 2, 2024

closes #459

It can be more cost efficient to use either the on-demand or the reservation compute billing model depending on query patterns. This script aims to identify projects that obviously save cost by switching billing models and to provide template DDL to adjust accordingly.

The logic is essentially:

1.) on-demand -> reservations

Compare the on-demand cost to the worst case cost in reservations (all autoscaling). If autoscaling is less expensive, move to reservations.

2.) reservations -> on-demand

Compare the best case scenario for reservations (all baseline) to on-demand cost. If on-demand is less expensive, move to on-demand.

@afleisc afleisc requested a review from danieldeleo October 2, 2024 20:29
@afleisc afleisc requested a review from danieldeleo October 21, 2024 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Script for On Demand vs. Reservation Analysis

2 participants

Comments