Can I Create AWS Price Estimates Programmatically?
Asked by
~rotorSlip8
I'm working with a large Excel sheet that contains details about various AWS resources and I need to generate a price estimate using the AWS calculator. Manually doing this is quite tedious, so I'm wondering if there's a way to automate the process with a script or program. Is it even possible to create these estimates programmatically?
Answers
For a more hardcore approach, AWS does have a pricing API that allows you to access the prices of services across regions. The documentation isn't stellar, so be prepared for some trial and error with the API.
Reply to this answer
I've found success using NumPy to create a spreadsheet that aligns with the AWS calculator template, which I then import. However, I havenโt figured out a full automation process just yet.
Reply to this answer
If you have a Technical Account Manager (TAM), they might be able to provide you with tools or guidance specific to your needs.
Reply to this answer
While you can bulk import pricing for EC2 and EBS resources in the AWS calculator, automation for other resources isnโt supported. Manipulating the calculator can be a pain, but there are people out there looking for solutions too!
Reply to this answer
I had some luck using ChatGPT in Agent Mode. You provide your architecture details, and it can automate the clicking process on the AWS Calculator for you!
Reply to this answer
Yes, it's definitely possible! Some developers have reverse-engineered the AWS calculator and created APIs for it. One example is a free API for price calculations that you can explore. Just keep in mind that support for all services may vary, so it's wise to check if your needed configurations are covered.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions