Ask HN: How can I calculate CO2 emission of servers/VPS?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • codecarbon

    Track emissions from Compute and recommend ways to reduce their impact on the environment.

  • scaphandre

    ⚡ Energy consumption metrology agent. Let "scaph" dive and bring back the metrics that will help you make your systems and applications more sustainable !

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • cloud-carbon-footprint

    Cloud Carbon Footprint is a tool to estimate energy use (kilowatt-hours) and carbon emissions (metric tons CO2e) from public cloud usage

  • ThoughtWorks 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 the methodology page cloudcarbonfootprint.org/docs/methodology/

  • ThoughtWorks 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 the methodology page cloudcarbonfootprint.org/docs/methodology/

  • co2.js

    An npm module for accessing the green web API, and estimating the carbon emissions from using digital services

  • I recommend you take a look at co2.js. This was just mentioned in the latest issue of branch magazine (https://branch.climateaction.tech/issues/issue-4/co2js/) and I haven't played with it myself yet. Code is linked from the article but also https://github.com/thegreenwebfoundation/co2.js/

  • co2go

  • I built a tool for benchmarking CO2 emissions for Go programs once. It was done as a joke for a meetup once, but is now more relevant than ever.

    https://github.com/zegl/co2go

  • Nomad

    Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.

  • We 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 silver lining is that the folks who are working in this space are extremely friendly and passionate in my experience. Don’t be scared to “contact sales for an API let.” The few folks I talked to were extremely helpful.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • boaviztapi

    🛠 Giving access to BOAVIZTA reference data and methodologies trough a RESTful API

  • Have a look at the Boavizta API. It features an automated evaluation of environmental impacts of ICT services and equipments.

    That seems to cover on-prem servers and AWS.

    https://boavizta.org/en/blog/boavizta-api-automated-evaluati...

    https://github.com/boavizta/boaviztapi

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts