Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compute ddl script #460

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

compute ddl script #460

wants to merge 4 commits into from

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.

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