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 per-hub compute cost #4523

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 per-hub compute cost #4523

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
  • hub_name
  • cost

The hub name should count EC2 costs tagged with 2i2c:hub-name

What goes into this query should be guided by item 2 of definition of done below.

Definition of done

  1. SQL query when executed provides information for all 3 hubs on the openscapes cluster
  2. If you add the cost values for all the hubs, they must add up to what shows up under 'EC2' in 'Cost Explorer' under 'Billing' in the AWS console, minus EC2 costs for core nodes (determined by filtering out tags 2i2c:node-purpose core).

Resources

@consideRatio consideRatio changed the title Write an Athena Query to split out per-hub compute cost [Blocked] Write an Athena Query to split out per-hub 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