aws-solutions / workload-discovery-on-aws

Workload Discovery on AWS is a solution to visualize AWS Cloud workloads. With it you can build, customize, and share architecture diagrams of your workloads based on live data from AWS. The solution maintains an inventory of the AWS resources across your accounts and regions, mapping their relationships and displaying them in the user interface.
https://aws.amazon.com/solutions/implementations/workload-discovery-on-aws/
Apache License 2.0
719 stars 85 forks source link

Inaccurate cost information #445

Closed luketk05 closed 5 months ago

luketk05 commented 1 year ago

If your issue relates to the Discovery Process, please first follow the steps described in the implementation guide Debugging the Discovery Component


The estimated cost in workload discovery is roughly double the actual billed amount. I have tested this across four different accounts and I am currently on version 2.0.3.

To Reproduce Steps to reproduce the behavior:

  1. Follow the instructions to set up the costing feature and bucket replication
  2. Log into the Workload Discovery console
  3. Go to "Costs"
  4. Select an account ID
  5. In "Cost Data Time Period" enter the timeframe for the entire last month
  6. Note the Estimated Cost (In my case 6699.76)
  7. Login to the corresponding account
  8. In the AWS console navigate to the billing console
  9. Go to "Bills"
  10. In the upper-right corner select the previous month
  11. The returned bill will be very different from the estimated cost (In my case 3365.10)

Expected behavior I expect the estimated value to be closer to the actual billed amount

Screenshots If applicable, add screenshots to help explain your problem.

Browser (please complete the following information):

Additional context Add any other context about the problem here.

svozza commented 1 year ago

Hi there, I have tried reproducing this on the latest version of our code base and have been unable to. The code for the cost feature has changed a bit for the upcoming release (v2.1.0) so it may have been fixed by that. We are aiming to release by the end of Q3 but this date could slip. I will update this ticket when the release has happened to let you know.

svozza commented 9 months ago

We fixed several bugs in the cost feature in v2.1.3 that was released yesterday, I wonder if that might fix this issue.

gitcdb commented 8 months ago

@svozza the costs still look to be quite off. I was hoping maybe it's the Savings Plans or Enterprise Support costs, but subtracted from the account total, the remainder is less than Workload Discovery displays for costs. Any thoughts on what would account for the discrepancy?

Screenshots attached:

Screenshot 2024-01-08 at 07 47 32 Screenshot 2024-01-08 at 07 47 18

svozza commented 8 months ago

Sorry, I didn't see this reply. The solution doesn't take savings plans into account, could that be the cause of the discrepency?

shujacks commented 5 months ago

Hi gitcdb please take a look at the the above question and let us know. If we don't hear from you soon I will close the issue, thanks.