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

[Blocked] Write an Athena Query to split out 'fixed' compute cost #4524

Closed
Tracked by #4453
yuvipanda opened this issue Jul 30, 2024 · 1 comment
Closed
Tracked by #4453

[Blocked] Write an Athena Query to split out 'fixed' compute cost #4524

yuvipanda opened this issue Jul 30, 2024 · 1 comment

Comments

@yuvipanda
Copy link
Member

yuvipanda commented Jul 30, 2024

Based on #4465, we're going to be using AWS Athena to query billing data

For this task, we need to write an SQL query that provides these 4 columns as output

  • start_time
  • end_time
  • cost

This should count:

  • EC2 costs with 2i2c:node-purpose set to core
  • EKS master server costs (filtered by EKS cluster name)
  • Disks in our support namespace (tagged by kubernetes.io/created-for/pvc/namespace (support) and kubernetes.io/cluster/openscapeshub set to owned)

Definition of done

  1. SQL query when executed provides information for all 3 hubs on the openscapes cluster
  2. The total cost is reasonably flat through time

Resources

@consideRatio consideRatio changed the title Write an Athena Query to split out 'fixed' compute cost [Blocked] Write an Athena Query to split out 'fixed' compute cost Aug 21, 2024
@consideRatio
Copy link
Contributor

Preliminary closed, but can be reopened if Athena becomes relevant.

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

No branches or pull requests

2 participants