manageiq icon indicating copy to clipboard operation
manageiq copied to clipboard

[RFE] Cloud Provider Cost Usage

Open kTipSSIoYv opened this issue 2 years ago • 2 comments

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

kTipSSIoYv avatar Aug 18 '22 11:08 kTipSSIoYv

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.

Fryguy avatar Aug 18 '22 14:08 Fryguy

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.

agrare avatar Aug 18 '22 15:08 agrare

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.

miq-bot avatar Feb 27 '23 00:02 miq-bot