bid to make them more energy efficient and eco-friendly. Furthermore, it is envi-
sioned that the awareness about energy consumption and CO
2
footprint can enable the
application designers and developers to better tune their applications e.g. by more
effectively utilizing the available resources or by choosing adequate resources for the
deployment and execution of application.
3 Quantification of Environmental Impact
As the final goal of the ECO
2
Clouds project is to reduce the environmental impact of
applications running on a federated cloud infrastructure, it is crucial to properly quan-
tify and monitor such an impact.
The energy consumed by an application is usually taken as a primary metric: the
more the application consumes, the more impact the application has on the environ-
ment 2. Although calculating the energy consumption is important, this captures only
a fraction of the real impact. Indeed, it is also important to evaluate which are the
sources that provide such energy: Nuclear plants? Coal plants? Renewable sources?
As a consequence, CO
2
emissions are usually taken as a good metric for evaluating
the real impact, so that, an application that consumes an amount of energy coming
from a renewable source is preferable to an application that consumes the same
amount of energy coming from a coal plant.
It is worth noting that, although considering the CO
2
emissions during the execu-
tion is reasonable, the computation of CO
2
emission could be tricky. For instance,
renewable sources are correctly considered as zero-emission sources. This is true if
we consider the emission during the energy provisioning. On the contrary, if we con-
sider the complete life cycle of renewable sources as hydro-power plants or wind
farms, the CO
2
emission cannot be considered zero as some energy coming from CO
2
emitting sources is required to build, and it will be required to dismiss, the plants.
This issue becomes more important when considering nuclear plants. Indeed, CO
2
emissions of this kind of plants are almost zero, by contrast the energy required to
build for the decommission of a nuclear plant is incredibly high 3. As at this stage it is
very difficult to really compute this holistic CO
2
emission, the ECO
2
Clouds approach
quantifies only the CO
2
emitted when producing the required energy. Anyway, infor-
mation about the energy sources are considered in order to increase the awareness of
the user about the kinds of energy sources involved when the application required are
used.
On this basis, the ECO
2
Clouds project proposes a layered approach to monitor the
environmental impact of the applications, the virtual machines, and the sites as shown
in Fig.
3. For each of the layers, a set of metrics to be monitored has been identified 1.
Each of these sets of metrics captures not only aspects about the environmental im-
pact, but also the performances of the system. This allows our solution to mediate
between improvements with respect the environmental sustainability and the perfor-
mances.
More specifically, starting from the bottom, the infrastructure layer includes met-
rics that measure the behavior of the single physical machines and the entire site.
Especially for the energy metrics, this layer is fundamental, as it is the place in which
the power can be physically measured using PDU (Power Distribution Units). Along
64