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

[EPIC] Roll out a cost attribution system in all AWS clusters #4872

Closed
21 tasks done
Tracked by #4384
consideRatio opened this issue Sep 24, 2024 · 6 comments
Closed
21 tasks done
Tracked by #4384

[EPIC] Roll out a cost attribution system in all AWS clusters #4872

consideRatio opened this issue Sep 24, 2024 · 6 comments
Assignees

Comments

@consideRatio
Copy link
Member

consideRatio commented Sep 24, 2024

This EPIC captures the AWS part of #4384:

Quick intro

The AWS cost attribution system is a simple Python webserver accessing AWS Cost Explorer API to summarize information about an AWS accounts billing data. This summarized billing data is then exposed via a k8s Service, making a Grafana instance able to access it as a datasource. There is a datasource plugin used for this in Grafana called Infinity, as it helps parse the JSON response provided by the webserver. The openscapes grafana instance currently has this system deployed, and the Grafana instance has a Dashboard defined within it that we can re-use.

Kinds of work involved

Most of the AWS specific parts have been done, so now working this epic will mostly involve less cloud specific parts, such as:

  • terraform / eksctl
  • grafana dashboard development like in jupyterhub/grafana-dashboards
  • interaction and communication with openscapes and nasa-cryo community
  • the deployer script (Python) and GitHub workflows
  • public communication via a blog post

As seen in openscapes

You can inspect the dashboard live at https://grafana.openscapes.2i2c.cloud/d/b4dbba938e548f10/cloud-cost-attribution?orgId=1

openscapes-cost-attribution-is-up

Tasks

  1. 51 of 54
  2. consideRatio
  3. consideRatio sgibson91
  4. GeorgianaElena
  5. consideRatio
  6. sgibson91
  7. consideRatio
  8. consideRatio
  9. consideRatio
  10. consideRatio
  11. consideRatio
  12. GeorgianaElena
  13. GeorgianaElena consideRatio
  14. GeorgianaElena
  15. 0 of 3
    GeorgianaElena
  16. jnywong
  17. consideRatio
  18. consideRatio
@GeorgianaElena
Copy link
Member

Also, we still didn't get an answer from communities

@jnywong and @jmunroe, are you ok with me leaving the keeping an eye on those support tickets task on you and not open a separate tracking issue for that? I figure we can open its own tracking issue if they require additional assistance.

@jnywong
Copy link
Member

jnywong commented Nov 13, 2024

Hey @GeorgianaElena ! We are both keeping an eye on the FreshDesk so there's no need to open another GH issue for that.

Also, we still didn't get an answer from communities

There will be another couple of touchpoints to share docs with them and gather feedback in #4879 and https://github.com/2i2c-org/meta/issues/1569, so hopefully that stimulates engagement. Ultimately we can't force them to engage, but we can keep track and improve that over time.

@consideRatio consideRatio removed their assignment Nov 13, 2024
@consideRatio
Copy link
Member Author

I've unassigned myself from this effort, and want to highlight @GeorgianaElena's decisive leadership this recent sprint and is a natural candidate to be asked to pick it up officially!

@consideRatio
Copy link
Member Author

Feature request not yet tracked: to have one or more of the panels in the dashboard convey costs from different node instance types, in practice breaking down the "compute component" further. It can be broken down based on node group name and/or instance type.

@GeorgianaElena
Copy link
Member

I've re-assgined you again @consideRatio for posterity to this one since you were the one that led this effort.
I extracted the remaining two remaining bits of it (the openscapes feedback on Nov 19 and the blog post) into the big initiative tracking this! So closing this issue 🎉

I will also try to capture #4872 (comment) somewhere once I get more context about it.

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

3 participants