3 ms·
Pages 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 tha
by Rezo 11y ago
Pages 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!