ManageIQ / manageiq

ManageIQ Open-Source Management Platform
https://manageiq.org
Apache License 2.0
1.35k stars 899 forks source link

[RFE] Cloud Provider Cost Usage #22062

Open kTipSSIoYv opened 2 years ago

kTipSSIoYv commented 2 years ago

Why don't we have cloud provider cost usage implemented? It would nice display Cloud provider cost usage through a graph under each cloud provider.

I'm trying to use a button to get the cost right now. But we do need a graph to display usage by service.

image

Fryguy commented 2 years ago

We don't collect cost usage at the moment. We had considered it in the past, but if I recall, the effort was much more complex than we expected, particularly on AWS. I can't recall the details at the moment. @agrare Do you remember?

I think this would be a cool feature to add, but the design would need to be fleshed out a bit. If you have a proposal or some ideas, I'd love to hear them.

agrare commented 2 years ago

Yeah there are two high-level approaches to do this,

  1. You can fetch the pricing charts and use that to estimate the historical and projected costs (this will always be off by a certain amount since not every cost is considered, e.g. we might be able to accurately estimate ec2 usage cost but not able to estimate RDS per-query costs or a load balancer LCU cost)
  2. On some clouds you can fetch the actual bill so you will have the exact price, but breaking down by resource can be harder and thus you can't estimate forward looking costs as easily.

I'm definitely open to looking at this feature again, we would want to start with use-cases and go from there.

miq-bot commented 1 year ago

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.