frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: See the carbon impact of your cloud as you code

https://dashboard.infracost.io/
33•hkh•4h ago
Hey folks, I’m Hassan, one of the co-founders of Infracost (https://www.infracost.io). Infracost helps engineers see and reduce the cloud cost of each infrastructure change before they merge their code. The way Infracost works is we gather pricing data from Amazon Web Services, Microsoft Azure and Google Cloud. What we call a ‘Pricing Service’, which now holds around 9 million live price points (!!). Then we map these prices to infrastructure code. Once the mapping is done, it enables us to show the cost impact of a code change before it is merged, directly in GitHub, GitLab etc. Kind of like a checkout-screen for cloud infrastructure.

We’ve been building since 2020 (we were part of YC W21 batch), and iterating on the product, building out a team etc. However, back in 2020 one of our users asked if we can also show the carbon impact alongside costs.

It has been itching my brain since then. The biggest challenge has always been the carbon data. The mapping of carbon data to infrastructure is time consuming, but it is possible since we’ve done it with cloud costs. But we need the raw carbon data first. The discussions that have happened in the last few years finally led me to a company called Greenpixie in the UK. A few of our existing customers were using them already, so I immediately connected with the founder, John.

Greenpixie said they have the data (AHA!!) And their data is verified (ISO-14064 & aligned with the Greenhouse Gas Protocol). As soon as I talked to a few of their customers, I asked my team to see if we can actually finally do this, and build it.

My thinking is this: some engineers will care, and some will not (or maybe some will love it and some will hate it!). For those who care, cost and carbon are actually linked; meaning if you reduce the carbon, you usually reduce the cost of the cloud too. It can act as another motivation factor.

And now, it is here, and I’d love your feedback. Try it out by going to https://dashboard.infracost.io/, create an account, set up with the GitHub app or GitLab app, and send a pull request with Terraform changes (you can use our example terraform file). It will then show you the cost impact alongside the carbon impact, and how you can optimize it.

I’d especially love to hear your feedback on if you think carbon is a big driver for engineers within your teams, or if carbon is a big driver for your company (i.e. is there anything top-down about carbon).

AMA - I’ll be monitoring the thread :)

Thanks

Comments

tenacious_tuna•1h ago
This is really exciting! Discussions of our resource impact have come up a lot in my org's informal spaces, it's really exciting to see someone making a concerted effort to raise visibility into how much we spend in money or energy in what seem like benign actions.

I really like the emphasis you place that reducing environmental impact is reducing cost as well. Tying civic mindedness to pragmatism is essential in dollar-hungry spaces.

hkh•49m ago
I appreciate the love. Yea, that was the cool thing during the research - if we reduce from a large to a medium, it both saves money and reduces carbon. Win - Win! Company can save money at the same time as reducing the environmental impact.
Lerc•1h ago
>*Greenpixie said they have the data (AHA!!) And their data is verified (ISO-14064 & aligned with the Greenhouse Gas Protocol)."

What does this say about accuracy, and I guess ultimately the impact of the emissions?

Whenever I have tried to find a meaningful measurement of environmental impact of power use I have gotten into a quagmire of statistics taking past each other, with arbitrary mixing of units and definitions. (Like energy/power/electricity being defined differently but used interchangeably. Similarly water usage being blended regardless of whether it is potable or from an area of scarcity)

The end result has to be what harm is caused, because harmless use of something at any magnitude is still harmless.

How do you figure out what that level is with any degree of accuracy. It's a difficult problem, but it seems that easier answers are not likely to be useful if they are not accurate.

janderland•55m ago
This reminds of me calorie tracking: you cannot perfectly capture the number of calories or macronutrients, but measuring does seem to help people loose weight. There are probably many loop holes where eating large amounts of certain food, with a certain margin of error, can leads to wildly incorrect estimates.

I wonder how much this analogy applies to carbon tracking? Does using a wide variety of foods help make the tracking more accurate because no single bad estimate becomes overrepresented? Can a similar approach be taken via a wide variety of cloud technologies being used?

hkh•51m ago
Yea, I actually saw something similar in the early days of Infracost, when we didn't track that many price points. The % change and the directionality was really helpful for engineers. Then we iterated on the prices, added more coverage etc, and the accuracy increased to a point where people trust the output of Infracost more than the AWS pricing calculator. That was a cool learning moment for me.
Lerc•48m ago
>This reminds of me calorie tracking: you cannot perfectly capture the number of calories or macronutrients, but measuring does seem to help people loose weight.

This probably would explain the success of many fad diets if it were the increased awareness of the eating having an effect beyond the decision making about what to eat.

hkh•40m ago
Totally - something I've been thinking a lot about... I got pulled into these diets at one point in my life - I remember doing atkins, then went full vegas for a while, then went only meat lol

The diets were meh. But the cool thing was that I learnt so much about food in general! I honestly didn't know much about food growing up. I feel like I still don't know that much, but I know the basics, and i'm not afraid of digging into some of the details.

hkh•55m ago
That's a great question - it is a hard thing to build for sure. We started talking to the CTO office of Google about it, and exactly as you say, it gets into the details. The folks at Greenpixie have been doing a lot of research on this, so when we spoke to a few of their big customers (Like Mastercard), they told us about the process they went through to evaluate the data, and trusted it from their ESG initiatives too.

Let me ask one of the Greenpixie folks to jump in here, maybe they can explain how they do it!

hkh•34m ago
Lerc - they are in the UK, so some of them are offline, but I text their CEO :)

Check this out: https://greenpixie.com/gpx-data Thoughts?

Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)

https://github.com/ChartGPU/ChartGPU
332•huntergemmer•4h ago•109 comments

Show HN: Rails UI

https://railsui.com/
31•justalever•1h ago•25 comments

Show HN: Company hiring trends and insights from job postings

https://jobswithgpt.com/company-profiles/
10•sp1982•1h ago•1 comments

Show HN: See the carbon impact of your cloud as you code

https://dashboard.infracost.io/
33•hkh•4h ago•9 comments

Show HN: yolo-cage – AI coding agents that can't exfiltrate secrets

https://github.com/borenstein/yolo-cage
32•borenstein•4h ago•51 comments

Show HN: What I learned building a local-only password manager (PassForgePro)

https://github.com/can-deliktas/PassForgePro
5•can-deliktas•41m ago•0 comments

Show HN: I built a chess explorer that explains strategy instead of just stats

https://www.atlaschess.me/
8•Ahmad_shuja•3h ago•3 comments

Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs

https://github.com/mastra-ai/mastra
204•calcsam•1d ago•68 comments

Show HN: Rowboat – Open-Source Claude Cowork with an Obsidian Vault

https://www.rowboatlabs.com/
5•segmenta•2h ago•0 comments

Show HN: Mirage – Experimental Java obf using reflection to break direct calls

https://github.com/DedInc/mirage
2•DedInc•2h ago•0 comments

Show HN: iOS app I made to track my anxiety

https://mudoapp.com
3•adictonator•3h ago•0 comments

Show HN: Agent Skills Leaderboard

https://skills.sh
121•andrewqu•22h ago•39 comments

Show HN: I made a roguelike game playable over SSH

https://dev-dungeon.com
6•viiralvx•4h ago•1 comments

Show HN: TopicRadar – Track trending topics across HN, GitHub, ArXiv, and more

https://apify.com/mick-johnson/topic-radar
33•MickolasJae•1d ago•9 comments

Show HN: Abuse URL shorteners to host throwaway webpages

3•fainpul•5h ago•0 comments

Show HN: Generate animated solar system timelapse videos for any date range

https://github.com/simondorfman/solar_system_live/
7•SimonDorfman•14h ago•0 comments

Show HN: Oauth2-forwarder – web oauth2 for dev containers

https://github.com/sam-mfb/oauth2-forwarder
3•sam256•6h ago•0 comments

Show HN: I built a narrative game about running a thrift shop

https://store.steampowered.com/app/2961120/Shop_Crush/
7•hollowlimb•5h ago•0 comments

Show HN: Ocrbase – pdf → .md/.json document OCR and structured extraction API

https://github.com/majcheradam/ocrbase
94•adammajcher•1d ago•34 comments

Show HN: Should I kill my side project?

https://naeemnur.com/should-i-kill-my-side-project/
2•naeemnur•6h ago•0 comments

Show HN: I figured out how to get consistent UI from Claude Code

https://interface-design.dev/
24•Dammyjay93•19h ago•8 comments

Show HN: Fence – Sandbox CLI commands with network/filesystem restrictions

https://github.com/Use-Tusk/fence
25•jy-tan•1d ago•4 comments

Show HN: On-device browser agent (Qwen) running locally in Chrome

https://github.com/RunanywhereAI/on-device-browser-agent
19•sanchitmonga•22h ago•3 comments

Show HN: Citizen Water Signal – A tool to make tap water issues visible (India)

https://www.citizensignal.site
2•eskimo87•8h ago•0 comments

Show HN: An interactive physics simulator with 1000’s of balls, in your terminal

https://github.com/minimaxir/ballin
71•minimaxir•2d ago•15 comments

Show HN: Subth.ink – write something and see how many others wrote the same

https://subth.ink/
86•sonnig•2d ago•48 comments

Show HN: Artificial Ivy in the Browser

https://da.nmcardle.com/grow
96•dnmc•1d ago•16 comments

Show HN: Pipenet – A Modern Alternative to Localtunnel

https://pipenet.dev/
114•punkpeye•2d ago•19 comments

Show HN: Parallel Agentic Search on the Twitter Algorithm

https://www.morphllm.com/playground/na/warpgrep?repo=xai-org%2Fx-algorithm
12•bhaktatejas922•20h ago•0 comments

Show HN: RobyGraph – A graph strategy game to program AI agents in the browser

https://www.yfiles.com/robygraph
4•buesra•10h ago•1 comments