Ask HN: How can I calculate CO2 emission of servers/VPS?
31–35 of 35 posts
Re: Ask HN: How can I calculate CO2 emission of servers/VPS?
#32ThoughtWorks made an app that does this: https://github.com/cloud-carbon-footprint/cloud-carbon-footp... but mainly works with aws, azure, and gcp You might be interested in their methodology page https://cloudcarbonfootprint.org/docs/methodology/ Full disclosure: My company was one of the early testers of the app
Re: Ask HN: How can I calculate CO2 emission of servers/VPS?
#33 150 kgC02/MBtu * 4E-5 MBtu/ft2 = 0.006 kgC02/ft2
You then integrate this over the course of the year. This gets complicated as there are variations in the resolution of carbon emissions from different grids, the grid emission rates, and which grid the building uses.To estimate server carbon emission rate, you just have to swap the building energy use intensity for server energy use, and everything else should be the same.
[1] Grid Emission Rate Sources EPA: https://www.epa.gov/egrid/data-explorer WattTime: https://www.watttime.org/
Re: Ask HN: How can I calculate CO2 emission of servers/VPS?
#34That seems to cover on-prem servers and AWS.
https://boavizta.org/en/blog/boavizta-api-automated-evaluati...
Re: Ask HN: How can I calculate CO2 emission of servers/VPS?
#35We had a hard time finding this data when experimenting with carbon aware scheduling in Nomad. There seem to be a lot of orgs working on this, but it’s all third party as far as I know. I couldn’t find a first party (eg Amazon, Microsoft, Google, etc) that provided this data via an API. Very frustrating. There are a couple resources linked here: https://github.com/hashicorp/nomad/blob/h-carbon-meta/CARBON... The silv…
GCP has https://cloud.google.com/carbon-footprint
Still might fit OP's use case, but it's very frustrating to me that the big cloud's seem to have this data but not make it available for realtime use.