Title: Hi, we’re Ali, Hassan and Alistair, co-founders of Infracost (<a href="https:&#x2F;&#x2F;www.infracost.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.infracost.io&#x2F;</a>). Infracost shows engineers the cost of each Terraform change in CI&#x2F;CD before resources are launched. When something changes, it posts a comment with the cloud cost impact. e.g. you’ve added 2 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.<p>We launched the first version of Infracost just under a year ago (<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26064588" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26064588</a>). As we said in our first release ‘the people who are purchasing cloud resources are not shown costs upfront, so they don’t know how much the resources will cost before launching them’. Our assumption was that because we are open source and engineers are flying blind, they (the engineers) would pull us into their workflow. Actually, something different is happening:<p>The engineers are not pulling us in - it turns out to be the senior DevOps, SREs and platform teams. One of their challenges is figuring out how their small team of 7 people can fulfill the infrastructure requirements of hundreds of engineers. To solve this, they have created and put in place processes for engineers to provision infrastructure when they need. Now they want to implement cost policies and guardrails so that these hundreds of engineers don’t blow past all budgets. For example, if a change will result in a higher than 15% increase, leave a warning. If a change results in a &gt;25% increase in costs, block the change till a team lead has reviewed it.<p>This has two implications for us. First, we need to create an output that isn’t only used by humans but is also digested into other systems to make further decisions. The second is the people we have been speaking to are not our end users. We need to figure out how we can get introduced to our end users, and create a different set of questions for each persona.<p>We’d really love your feedback around the cost policies use-case. We&#x27;ve created examples with standard policy tools like Open Policy Agent (OPA), HashiCorp Sentinel and Conftest.  Check out the repo for GitHub Actions at <a href="https:&#x2F;&#x2F;github.com&#x2F;infracost&#x2F;infracost" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;infracost&#x2F;infracost</a>. Our other CI&#x2F;CD integrations are listed here: <a href="https:&#x2F;&#x2F;www.infracost.io&#x2F;docs&#x2F;#4-add-to-cicd" rel="nofollow">https:&#x2F;&#x2F;www.infracost.io&#x2F;docs&#x2F;#4-add-to-cicd</a>.<p>We&#x27;d love to hear how you think about policies and guardrails for containing cloud costs!
Upvote: