|
| 1 | +--- |
| 2 | +meta: |
| 3 | + title: Instances footprint calculation |
| 4 | + description: This page explains how Scaleway calculates the environmental footprint of its Instances in detail. |
| 5 | +content: |
| 6 | + h1: Instances footprint calculation |
| 7 | + paragraph: This page explains how Scaleway calculates the environmental footprint of its Instances in detail. |
| 8 | +tags: instances environmental-footprint impact cloud-computing |
| 9 | +dates: |
| 10 | + validation: 2025-05-27 |
| 11 | + posted: 2025-05-27 |
| 12 | +categories: |
| 13 | +- environmental-footprint |
| 14 | +- instances |
| 15 | +--- |
| 16 | + |
| 17 | +For Virtual Instances, the calculation of the environmental footprint takes into consideration all the elements described on the [Environmental Footprint calculation breakdown](/environmental-footprint/additional-content/environmental-footprint-calculator/) documentation page. |
| 18 | + |
| 19 | +## Calculation aspects |
| 20 | + |
| 21 | +The following elements are considered in the Instance footprint calculation: |
| 22 | + - **Hypervisor resources** - the resources (CPU, RAM, and disk, for example) used in the physical hypervisor servers that create and run the virtual Instances. |
| 23 | + - **Instance offer resources** - the vCPU, RAM, and disk resources used when you use an Instance. |
| 24 | + |
| 25 | +The calculation using the elements above can be broken down into: |
| 26 | + |
| 27 | +### Manufacturing Impact |
| 28 | + - Manufacturing of the underlying physical servers (hypervisors) necessary to run the Instances. |
| 29 | + - Distribution of the manufacturing impact according to the resources consumed by the Instance (vCPU, RAM, storage). |
| 30 | + |
| 31 | +### Operational Impact |
| 32 | + - Energy consumption of the hypervisors during Instance usage. |
| 33 | + - [Power Usage Effectiveness (PUE)](/environmental-footprint/concepts#pue-power-usage-effectiveness) specific to the data center where the Instance is hosted. |
| 34 | + - Energy mix of the country that provides the electricity. |
| 35 | + |
| 36 | +### Usage Impact |
| 37 | + - Resources consumed by the Instance, calculated based on the material specifications of the hypervisors. |
| 38 | + |
| 39 | +### Indirect Emissions |
| 40 | + - Impact related to cross-functional services necessary to guarantee the operation of the Instance, such as network and shared storage. |
| 41 | + |
| 42 | +## Instance consumption ratio |
| 43 | + |
| 44 | +When calculating an Instance's footprint, we consider the resources based on their relative usage on the hypervisor to ensure an accurate distribution of their proportional consumption. |
| 45 | + |
| 46 | +- **CPU** - Consider the share of vCPUs reserved compared to the total number of physical cores available. |
| 47 | +- **RAM** - Consider the share of allocated RAM compared to the total RAM of the hypervisor. |
| 48 | +- **Storage** - Consider the use of allocated storage compared to the total capacity of the hypervisor. |
| 49 | + |
| 50 | +<Lightbox src="scaleway-allocation-rules-instances.webp" alt="" /> |
| 51 | + |
| 52 | +The value derived from this calculation will be used in every step of the calculation of the Instance's footprint. The variable is represented as `Resources_Used_VM` in the image above. |
| 53 | + |
| 54 | +Refer to the table below to understand how the `Resources_Used_VM` is integrated into the calculation of each aspect of the total footprint calculation. |
| 55 | + |
| 56 | +To obtain an accurate calculation of the Instance's footprint, we multiply the results in each step of the [basis calculation](/environmental-footprint/additional-content/environmental-footprint-calculator/), bar the Cross-IT equipment & stock calculations step, by the `Resources_Used_VM` ratio. |
| 57 | + |
| 58 | +## Cross-IT equipment calculation for Instances |
| 59 | + |
| 60 | +The only part of the calculation that will differ from the basis is the [Customer Servers](/environmental-footprint/additional-content/environmental-footprint-calculator/#customer-servers) section. |
| 61 | + |
| 62 | +To calculate the electrical consumption of Instances, instead of using an exact measure of the power consumption, we use a proxy, e.g. CPU usage. The relationship between CPU usage and the power consumption of the underlying machine is non-linear, and characterised by a consumption profile. |
| 63 | + |
| 64 | +A consumption profile is a formula that takes in a given workload (e.g. % CPU usage), and returns the estimated power consumption of the machine. |
| 65 | + |
| 66 | +We use the [consumption profiles defined by Boavizta](https://doc.api.boavizta.org/Reference/routes/#consumption-profile-routes) for the CPUs used on Scaleway Instances. |
| 67 | + |
| 68 | +For the [Environmental Footprint Estimation](/environmental-footprint/additional-content/environmental-footprint-calculator-estimation/), we base the calculation on a theoretical value of 30% CPU usage. On your [monthly report](/environmental-footprint/how-to/track-monthly-footprint/), we use your real CPU consumption to provide you with the most reliable data possible. |
| 69 | + |
| 70 | +### Calculation example |
| 71 | + |
| 72 | +In the example below we will calculate the manufacturing impact allocated to an Instance for an 100 hour usage period. |
| 73 | + |
| 74 | +Consider the following characteristics: |
| 75 | + |
| 76 | +| Resource | Instance | Hypervisor | |
| 77 | +| --- | --- | --- | |
| 78 | +| vCPU | 4 | 16 CPU cores | |
| 79 | +| RAM | 8 GB | 64 GB | |
| 80 | +| Storage | 50 GB | 1 TB (1000 GB) | |
| 81 | +| Lifespan (in years) | | 6 years = 52560h | |
| 82 | +| Manufacturing impact | | 100 kgCo2e | |
| 83 | + |
| 84 | +The allocation of the hypervisor resources for this particular Instance is calculated in the following manner: |
| 85 | + |
| 86 | +| Resource | Allocation | |
| 87 | +| --- | --- | |
| 88 | +| CPU | 4/16 = 0.25 | |
| 89 | +| RAM | 8/64 = 0.125 | |
| 90 | +| Storage | 50/1000 = 0.05 | |
| 91 | +| Total Instance Share | 0.25 + 0.125 + 0.05 = 0.425 | |
| 92 | + |
| 93 | +We multiply the resource allocation by the Instance's lifespan ratio and the hypervisor's manufacturing impact to obtain the manufacturing impact allocated to the Instance: |
| 94 | + |
| 95 | +``` |
| 96 | +(100 hours / 52,680 hours) × 100 kgCO2e × 0.425 = 0.080 kgCO2eq |
| 97 | +``` |
| 98 | + |
| 99 | + |
0 commit comments