Sustainable Cloud Practices
Engineers have many practical ways to reduce the emissions of their workloads. This lesson covers carbon-aware placement and scheduling, efficient compute and data practices, and how Software Carbon Intensity and other metrics measure progress.
Learning outcomes
After completing this lesson, you will be able to:
- Explain carbon-aware placement and its constraints.
- Describe time shifting and demand shaping.
- Identify efficient compute, data and software practices.
- Calculate Software Carbon Intensity.
- Identify sustainability KPIs that pair with unit cost.
Carbon-aware placement
The carbon intensity of electricity, measured in grams of CO2 equivalent per kilowatt-hour (gCO2e/kWh), varies widely between grids. A region supplied mainly by hydro, nuclear or wind power can have a small fraction of the intensity of a region supplied mainly by coal. Running the same workload in a lower-intensity region can therefore cut its operational emissions more than any amount of tuning.
Placement must still meet the workload's other requirements: latency to users, data residency rules, service availability in the region, and cost. Workloads with few such constraints, such as batch analytics, model training and development environments, are the best candidates.
Time shifting and demand shaping
Grid intensity also changes through the day and the year, for example falling when solar output is high. Time shifting runs flexible work when intensity is lower, using forecasts of grid intensity from public data services. Demand shaping adjusts how much work is done according to intensity, for example deferring non-urgent jobs or reducing optional processing when the grid is dirty.
Both techniques require work that can wait. A nightly report that must be ready at 07:00 can often run at any time overnight; an interactive request cannot be delayed.
Can it be shifted?
Efficient compute
The most effective sustainable practice is to do the same work with less hardware. The following list describes the main techniques, all of which also reduce cost.
- Rightsizing and autoscaling: capacity follows demand instead of sitting idle.
- High utilization: consolidating workloads, for example with containers, so that fewer servers run busier.
- Efficient processors: current-generation and Arm-based instances, such as AWS Graviton, often deliver more work per watt.
- Managed and serverless services: providers run shared infrastructure at high utilization across many customers.
- Appropriate accelerators: GPUs are efficient for suitable work but wasteful when idle or used for work a CPU does well.
Efficient data and software
Data that is stored, replicated and moved consumes storage hardware, network equipment and energy. Setting retention periods, deleting data that has no further use, moving cold data to archive tiers, compressing data and avoiding unnecessary cross-region replication all reduce emissions. Processing data where it is stored avoids moving it.
Software efficiency matters too. Caching repeated results, writing efficient queries, avoiding polling loops and choosing efficient formats reduce the compute needed per transaction. For AI, using the smallest model that meets quality requirements reduces energy per request substantially.
Software Carbon Intensity
The Green Software Foundation's Software Carbon Intensity (SCI) specification, published as ISO/IEC 21031:2024, defines a rate of emissions per unit of work:
SCI = ((E x I) + M) per R
- E Energy
- The energy consumed by the software system, in kilowatt-hours.
- I Intensity
- The location-based carbon intensity of that energy, in gCO2e per kWh.
- M Embodied emissions
- The share of hardware manufacturing emissions attributed to the software.
- R Functional unit
- The unit of work the rate is expressed in, such as an API call, a user or a transaction.
Because SCI is a rate, it falls only when the software uses less energy, uses cleaner energy or uses less hardware for each unit of work. Buying offsets or renewable energy certificates does not change it. This makes SCI a measure of engineering efficiency, comparable to unit cost in FinOps.
The following diagram builds the SCI score from its parts.

Calculating SCI
Sustainability KPIs
Useful KPIs combine emissions with business output, such as grams of CO2e per order or per thousand API calls, tracked next to cost per unit. Supporting KPIs include average utilization, the share of compute on efficient processor types, idle percentage and data retained beyond its policy. Tracking cost and carbon per unit together shows whether an optimization helped one, the other or both.
Calculating SCI
In a day, an API service uses 120 kWh in a region with an intensity of 300 gCO2e/kWh. Its embodied emissions for the day are estimated at 14,000 gCO2e. It serves 2,000,000 requests. What is its SCI per thousand requests?
Operational emissions are 120 x 300 = 36,000 gCO2e. Adding embodied emissions gives 50,000 gCO2e. Per thousand requests: 50,000 / 2,000 = 25 gCO2e per thousand requests. If the team halves energy use through better caching, operational emissions fall to 18,000 gCO2e and SCI falls to 16 gCO2e per thousand requests; buying offsets would leave SCI unchanged.
Choosing candidates for time shifting
A company runs (a) a customer-facing search API, (b) a weekly model retraining job, (c) nightly backups and (d) a payment authorization service. Which are good candidates for time shifting?
The retraining job and the backups are flexible: they must finish within a window but can start when the grid is cleaner. The search API and payment authorization service serve users in real time and cannot be delayed, so their sustainability improvements must come from efficiency and placement instead.
Why does buying renewable energy certificates not lower Software Carbon Intensity?
Show answer
SCI uses energy, location-based grid intensity and embodied emissions per functional unit. Certificates and offsets do not change any of these, so only efficiency, cleaner placement or less hardware lowers SCI.
Exam Tips
Remember for the exam
- Region choice can change emissions more than workload tuning; it must still meet latency and residency needs.
- Time shifting suits flexible work such as training, batch processing and backups.
- SCI = ((E x I) + M) per R; offsets do not reduce it.
- Track carbon per unit next to cost per unit.