4 ms·
How are you getting accurate pricing for AWS components? I know Amazon's Simple Calculator uses an undocumented pricing endpoint, but that endpoint could change
by chr15 11y ago
How are you getting accurate pricing for AWS components? I know Amazon's Simple Calculator uses an undocumented pricing endpoint, but that endpoint could change and become inaccurate.
- praetorian84 11y agoCheck out https://aws.amazon.com/blogs/aws/new-aws-price-list-api/ https://aws.amazon.com/blogs/aws/new-aws-price-list-api/
- Rezo 11y agoPages like https://aws.amazon.com/ec2/pricing https://aws.amazon.com/ec2/pricing use a JSONP request to get a big messy chunk of pricing data. I have parsed that, and serve it with a custom API that does the calculations from the Cloudcraft backend to the React-based frontend. However, AWS just announced a proper pricing API! Check out https://aws.amazon.com/blogs/aws/new-aws-price-list-api https://aws.amazon.com/blogs/aws/new-aws-price-list-api This will make life much easier, it does however not yet cover all services, for example ElastiCache is still missing while Cloudcraft already serves pricing for it.
- chr15 11y agoYup, that JSON is the response from the endpoint I'm referring to. Congrats on shipping!