-
Notifications
You must be signed in to change notification settings - Fork 263
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
Adding filter for only running non-spot instances and more price stats #127
Conversation
I'm having trouble with the currently configured service (ec2-price.com) not returning data very often, but I figured I should paste an example of the new output anyway:
and the desired output:
|
Any thoughts about switching to the official price list API? ( http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html ) |
Are you saying the current API for pricing ec2-price.com is sometimes down or not reliable? The current pricing API was chosen as a temporary (but accurate) one indeed before getting more into serious pricing: infrastructure pricing, templates pricing, etc ... The idea is indeed, as you say, to have the official AWS pricing data fetch dynamically and cached locally for more diverse uses. |
As per your PR I am not clear on what you are trying to achieve for a pricing output (although a more complete might be useful indeed). I can see filtering on the running instances could be useful, but it also a specific use case. We might need to pass params down to the inspector to have more control on the output maybe. |
Yes, most of the time when I try running the pricing inspector, it returns the output I pasted in the comment above.
That seems like it would be fun. Can't make any promises, but I'd be happy to try helping out here and there.
So when I run the current pricing inspector and look at the results, it gives a monthly price that is vastly larger than the amount we actually pay. The reason for that is because we have several instances that are spot prices, and many instances that are currently stopped. I thought the idea of this inspector was to give you a quick and dirty estimate of how much you might expect to pay for the resources you are currently being charged for. That is why I removed things you wouldn't pay the on-demand fee on (stopped and spot) as well as a per day price. |
Ok. Thanks for the clarification. So is the new pricer (expect the issue of the intermittent ec2-price.com) giving you valid estimates that reconcile with your monthly bill ? Looking at your new columns output it also makes sense in term of reporting. Do any last corrections if needed. I will run through it, test it locally and will merge it accordingly in the next few days. Thanks. |
Yes, it aligns with the line items for EC2 run hours minus EBS charges. |
I have run it locally. Here a a few remarks.
|
No description provided.