Measuring Environmental Footprint of The Cloud

Measuring Environmental Footprint of The Cloud

Moving to the cloud potentially offloads multiple energy-intensive processes onto businesses (cloud providers) built to deal with large scale/scalable jobs efficiently. In doing so, the sources of carbon emissions are also handed off. The way cloud providers choose to handle their emissions will affect your carbon footprint.

Cloud providers (aka hyper-scalers) typically have enormous data centres hosting thousands of servers. The electricity consumption of servers within a data centre will vary, for example, upon the processor chip set and the load (or lack of) on the processor, memory, disk, and network. Cooling can also account for 1-10% additional energy consumption (in keeping everything from overheating).

Data centres built for efficiency and with top quality equipment have lower PUE ratings (closer to the ideal value of 1.0) than on-site systems generally will (perhaps 1.1 or higher).

As well as the “operational carbon” associated with the running of the data centre, there is “embodied carbon” due to manufacturing, transporting, housing, and disposing of the servers and equipment. 

Tools and Frameworks 

Currently, there is no clear guidance on accurately tracking and evaluating these emissions. The key cloud providers are Amazon Web Services (AWS), Microsoft Azure and Google Cloud Platform (GCP). Using thedata provided by these cloud providers, alongside their own Carbon Calculators, we can arrive at an estimate of emissions. 

In the book Building Green Software (Currie et al, 2024) say that these cloud companies have 66% of the market share. Currie et al also compare the data from these cloud providers' carbon footprint tools, as reproduced in Table 1 below. 

Table 1 (Curie et al., 2024)

 

Cloud Carbon Footprint(n.d.) has put together an open-source tool allowing companies to monitor and reduce their cloud carbon emissions. The calculators that AWS, MS Azure and GCP offer, which focus on emphasising emissions prevented by using their systems. In contrast, Cloud Carbon Footprint’s goal is to provide comparable data to help companies wanting to make a difference.  The Cloud Carbon Footprint team have come up with the following formulas that are being used to calculate the emissions caused by the cloud. 

Total CO₂e = operational emissions + embodied emissions

operational emissions = (cloud provider service usage) × (cloud energy conversion factors [kWh]) × (cloud provider power usage effectiveness (PUE)) × (grid emissions factors [metric tons CO₂e])

embodied emissions = estimated metric tons CO₂e emissions from the manufacturing of datacenter servers, for compute usage

(Currie et al., 2024)

Table 2 (Curie et al., 2024)

After following Etsy’s move to the cloud, their first accomplishment was lowering the PUE (Power Usage Effectiveness). With the PUE measuring factors like the building and air conditioning, the move from an on-site server to Google's data centres created a massive jump in efficient energy usage. 

Etsy has come up with an idea to use the data which is provided to them from Google, to estimate how much energy (they use units of watt-hours) they use for various elements of the infrastructure. They nickname these the "Cloud Jewels" and they are based on the CPU, storage (HDD and SSD) and networking. According to (Sommer et al., 2020) their estimations are as follows:

2.10 Wh per vCPUh [Server, Computing Jewel]
0.89 Wh/TBh for HDD storage [Storage Jewel]
1.52 Wh/TBh for SSD storage [Storage Jewel]

These values are over-estimations, which would help eliminate the lost carbon footprint information which could be caused by wrong estimations. This could be a real problem where most of the data centres are falsely reporting their carbon footprint of their data centres as lower, according to the Guardian article by Isabel O'Brien. (2024)

According to (Young, 2020) etsy has increased their in energy carbon footprint, they have achieved 33% reduction of kWh per square foot of the data center from 2016 baseline. 

According to their GitHub repository (Etsy, 2020), where more information can be found abound their estimations, and how they have come up with them. They have mentioned that currently they do not have a reliable way of estimating the RAM usage or network. Especially for network, as a big part of the internal networking bandwidth is allocated for “free” and it at currently 2Gbps. And the estimate value they have come up for external networking traffic appears to be far too high. 

References :

Cloud Carbon Footprint (n.d.) Cloud Carbon Footprint - An open source tool to measure and analyze cloud carbon emissions. www.cloudcarbonfootprint.org. [Online] [Accessed on 1st October 2024] https://www.cloudcarbonfootprint.org/.

Currie, A., Hsu, S. and Bergman, S. (2024) Building green software : a sustainable approach to software development and operations. Sebastopol, CA: O’Reilly Media, Inc. Available at: https://www.oreilly.com/library/view/-/9781098150617/ (Accessed: October 1, 2024).

etsy (2020) cloud-jewels/methodology.md at master · etsy/cloud-jewels. GitHub. Available at: https://github.com/etsy/cloud-jewels/blob/master/methodology.md.  [Accessed on 23rd September 2024]

Masanet, E. et al. (2020) "Recalibrating global data center energy-use estimates." Science, 367(6481), pp. 984–986. 
Available at: https://doi.org/10.1126/science.aba3758 [Accessed on 20th September 2024]

Shehabi, A. et al. (2016) "United States Data Center energy usage report." Lawrence Berkeley National Laboratory. 
Available at: https://eta-publications.lbl.gov/sites/default/files/lbnl-1005775_v2.pdf [Accessed on 20th September 2024]
Shehabi2016 05j_-_LBNL_-_US_Data_Centres_Energy_USe.pdf [Accessed on 20th September 2024]

Sommer, E., Adler, M., Perkins, J., Thiel, J., Young, H., Mozen, C., Daya, D. and Sundstrom, K. (2020) Etsy Engineering | Cloud Jewels: Estimating kWh in the Cloud. Ets. Available at: https://www.etsy.com/codeascraft/cloud-jewels-estimating-kwh-in-the-cloud.   [Accessed on 23rd September 2024] 

Young, H. and Etsy (2020) Etsy Unveils Innovative Tool to Track Energy Usage in the Cloud. Etsy.com. Available at: https://www.etsy.com/news/etsy-unveils-innovative-tool-to-track-energy-usage-in-the-cloud. [Accessed on 25th September 2024]