Appliscale / perun

A command-line validation tool for AWS Cloud Formation that allows to conquer the cloud faster!
https://perun-for-aws.appliscale.io
Apache License 2.0
92 stars 8 forks source link

Price Calculation - Improvements #8

Open afronski opened 7 years ago

afronski commented 7 years ago

Currently AWS API when asked for a price estimation for a CloudFormation template returns link to the AWS Calculator which is not exactly we want. 😉

We would like to have following functionality:

morfeush22 commented 6 years ago

@afronski Unfortunately, the site pointed by Amazon is dynamically loaded and can't be easily parsed just by issuing GET. My idea was to run web page via headless browser; for Go two projects tended to be considerable:

surf does not cope with this site (with JavaScript particularly).

webloop has dependencies on WebKitGTK+ (=> pkg-config and so). From my perspective, this will unduly complicate compilation/packaging process.

afronski commented 6 years ago

@morfeush22 Thanks! :smile: Indeed - it sounds cumbersome, however - I will not ditch this feature completely, because there is Price List API - it won't be exact quote, but rough estimate: https://aws.amazon.com/blogs/aws/new-aws-price-list-api.

maxiwoj commented 6 years ago

Investigate AWS cost estimation API