Infracost makes it easier for all developers, DevOps, SREs and platform teams to understand how their code changes will impact cloud costs. They're now launching their VSCode extension, so you can see how much your terraform code will cost as you type.
Amazing team and the product! Super excited to see what comes next :)
Btw can you share more about how you calculate the costs? What is the expected precision?
@matijash hey! Sure, so as people type out Terraform code (more IaC's coming in the future), we pull out the bits of code that we know will have an impact on costs (e.g. instance type, region, OS), and get the prices of those from our database of 3.8M prices, those are sent back, and then we calculate the total cost.
When you put Infracost in CI/CD, then it also shows you the diff - as in you have changed x, the difference in cost from pre-x to post-x is $y.
For our open source free product, the prices are on-demand pricing. In our paid product, you can put in enterprise discounts and discount mechanics that you get from the cloud providers, so the accuracy increases :)
Hi PH, we’re Infracost 🎉
Infracost shows engineers the cost of each Terraform change in CI/CD before launching resources. When something changes, it posts a comment with the cloud cost impact. e.g. you’ve added two instances and volumes and have changed an instance type from medium to large; this will increase your bill by 25% next month from $1000 to $1250 per month.
We’ve just released a new VSCode extension, which now shows cloud costs directly in the editor as you change Terraform code. There are three main use-cases:
- Compare configs, instance types, regions etc: copy/paste a code block, make changes and compare them.
- Quick cost estimate: write a code block and get a cost estimate without having to use AWS, Google or Azure cost calculators, or read the long/complicated pricing web pages.
- Catch costly typos: if you accidentally type 22 instead of 2 as the instance count, or 1000GB volume size instead of 100, the cost estimate will immediately pick that up and let you know.
We’d love to get your feedback on this extension, mainly what you think it’s missing and would help your workflow. Head over to the GitHub repo (https://github.com/infracost/vsc...) for more information and installation instructions.
Open SaaS
Infracost VSCode Extension
Infracost VSCode Extension
MagicBell
Spokn