A method and a device for determining carbon footprint of a to-be-deployed cloud application
The method and device analyze cloud application topologies to determine electrical consumption and carbon footprint in real-time, addressing the limitations of post-deployment assessments by optimizing IaC scripts for efficient and cost-effective cloud deployment.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- THALES DIS FRANCE SA
- Filing Date
- 2025-12-01
- Publication Date
- 2026-06-11
AI Technical Summary
Existing methods for determining the carbon footprint of cloud applications are limited to post-deployment assessments, lacking a simple and efficient way to predict and optimize energy consumption and infrastructure efficiency before deployment, especially across different cloud regions with varying energy mixes and weather conditions.
A method and device that analyze the topology of a to-be-deployed cloud application through Infrastructure as Code (IaC) scripts to determine electrical consumption and carbon footprint in real-time, providing an eco-score ranking and optimizing the IaC script based on efficiency ratings and carbon emissions.
Enables pre-deployment assessment of cloud applications' energy efficiency and carbon footprint, allowing for informed decisions and optimization, thereby reducing operational costs and environmental impact.
Smart Images

Figure EP2025084979_11062026_PF_FP_ABST
Abstract
Description
[0001] A METHOD AND A DEVICE FOR DETERMINING CARBON FOOTPRINT OF A TO-BE -DEPLOYED CLOUD APPLICATION
[0002] Field of the invention
[0003] The present disclosure relates to cloud computing . More particularly, the embodiments of the present disclosure relate to a method and a device for determining carbon footprint of a cloud application .
[0004] Background of the invention
[0005] Amongst other factors , electricity consumption by electrical / electric appliances has become a maj or concern which eventually contributes to global warming of our planet , Earth . To handle the situation of the global warming, several companies have taken various initiatives to reduce the carbon footprint of these electrical / electric appliances .
[0006] One such initiative is the green cloud computing which focuses on reducing the energy consumption and infrastructure footprint by cloud applications deployed in a cloud infrastructure . Recently, the cloud industry has developed a discipline to optimi ze the carbon footprint of the cloud applications . This generally evolves on par with financial cost , as there is a cost link for the cloud vendors . In order words , higher the carbon footprint of a cloud application, higher is the financial cost for operating such cloud application .
[0007] However, with the existing green cloud computing, the calculation for carbon footprint of the cloud application is only available once the cloud application is already deployed in the cloud infrastructure . Further, an owner of the cloud application doesn ' t have a simple way to deduct ef ficiency of its future deployment , as multiple layers of calculations and variables are at stake . Deploying the cloud infrastructure within two di f ferent cloud regions ( of the same cloud provider ) provide various results depending on energy mix from selected regions and even from the weather season of that region .
[0008] Moreover, the problem for a public cloud application owner is that it is cumbersome to guess the ef ficiency of its cloud infrastructure , as it is observed once deployed or too complex, thus carbon footprint optimi zation is complex .
[0009] Therefore , there is a need for an improved solution which of fers determination of carbon footprint of a cloud application before deployment . There is also a need for an improved and easy solution for calculating electrical consumption of an intended cloud infrastructure needed for a to-be-deployed cloud application .
[0010] Summary of the Invention
[0011] In some exemplary embodiments , a method is provided for determining electrical consumption of a to-be- deployed cloud application . The method comprises the steps of extracting a topology of an intended cloud infrastructure required by the to-be-deployed cloud application and determining one or more elements in realtime from the topology of the to-be-deployed cloud application . The method also comprises the step of . The method also comprises the steps of determining electrical consumption for each of the one or more elements of the to-be-deployed cloud application and determining a total electrical consumption of the to-be-deployed cloud application based on the electrical consumption of each of the one or more elements . The method further comprises the step of determining an electrical consumption ef ficiency rating of the to-be-deployed cloud application based on the total electrical consumption .
[0012] In some exemplary embodiments , the infrastructure as a code ( laC ) script is optimi zed in real-time based on the total electrical consumption of the to-be-deployed cloud application .
[0013] In some exemplary embodiments , an eco-score ranking is determined for at least one of the one or more elements and the to-be-deployed cloud application .
[0014] In some exemplary embodiments , the eco-score ranking compri ses a first rank A, a second rank B , a third rank C, a fourth rank D, a fi fth rank E and a sixth rank F .
[0015] In some exemplary embodiments , carbon footprint or CO2 emission is determined based on at least one of the electrical consumption for each of the one or more elements of the to-be-deployed application and the total electrical consumption of the to-be-deployed cloud application .
[0016] In some exemplary embodiments , at least one of the eco-score ranking, the electrical consumption for each of the one or more elements and the total electrical consumption of the to-be-deployed cloud application is displayed on a user interface . In some exemplary embodiments , the total electrical consumption of the to-be-deployed cloud application is determined for a time-period .
[0017] In some exemplary embodiments , the electrical consumption ef ficiency rating corresponds to an ef ficiency of the one or more elements in regard to electricity usage versus calculation power .
[0018] In some exemplary embodiments , a device for determining electrical consumption of a to-be-deployed cloud application . The device comprises a processor and a memory communicatively coupled to the processor . The memory stores processor instructions , which when executed by the processor cause the processor to extract a topology of an intended cloud infrastructure required by the to- be-deployed cloud application; determine one or more elements in real-time from the topology of the to-be- deployed cloud application; determine electrical consumption for each of the one or more elements of the to-be-deployed cloud application ; determine a total electrical consumption of the to-be-deployed cloud application based on the electrical consumption of each of the one or more elements ; and determine an electrical consumption ef ficiency rating of the to-be-deployed cloud application based on the total electrical consumption .
[0019] In some exemplary embodiments , the processor is configured to optimi ze the infrastructure as a code ( laC ) script in real-time based on the total electrical consumption of the to-be-deployed cloud application .
[0020] In some exemplary embodiments , the processor is configured to determine an eco-score ranking for at least one of the one or more elements and the to-be-deployed cloud application .
[0021] In some exemplary embodiments , the processor is configured to determine carbon footprint or CO2 emission based on at least one of the electrical consumption for each of the one or more elements of the to-be-deployed application and the total electrical consumption of the to-be-deployed cloud application .
[0022] In some exemplary embodiments , the processor is configured to display at least one of the eco-score ranking, the electrical consumption for each of the one or more elements and the total electrical consumption of the to-be-deployed cloud application on a user interface .
[0023] In some exemplary embodiments , a non-transitory computer-readable medium storing computer-executable instructions for determining electrical consumption of a to-be-deployed cloud application . The computerexecutable instructions configured for extracting a topology of an intended cloud infrastructure required by the to-be-deployed cloud application . The computerexecutable instructions configured for determining one or more elements in real-time from the topology of the to- be-deployed cloud application . The computer-executable instructions configured for determining electrical consumption for each of the one or more elements of the to-be-deployed cloud application . The computerexecutable instructions configured for determining a total electrical consumption of the to-be-deployed cloud application based on the electrical consumption of each of the one or more elements . The computer-executable instructions configured for determining an electrical consumption ef ficiency rating of the to-be-deployed cloud application based on the total electrical consumption .
[0024] Brief description of the drawings
[0025] Figure 1 illustrates an exemplary system architecture for determining carbon footprint of a to- be-deployed cloud application, in accordance with an exemplary embodiment of the present disclosure ,
[0026] Figure 2 illustrates an exemplary method flow diagram for determining carbon footprint of a to-be- deployed cloud application, in accordance with an exemplary embodiment of the present disclosure , and
[0027] Figure 3 depicts a block diagram of a server and / or a device , in accordance with an exemplary embodiment of the present disclosure .
[0028] Detailed description
[0029] Figure 1 depicts an exemplary system architecture 100 in accordance with an exemplary embodiment of the present disclosure . The system architecture 100 comprises , but is not limited to , a server 102 connected to a device 106 through a network 104 .
[0030] As used herein, the term " server" may refer to a physical server in a data center or a cloud server running in a cloud computing environment and possessing the capabilities of performing the operations or procedures as described herein .
[0031] As used herein, the term "device" may refer to a smart device , a cellular device , a mobile phone , a smart watch, a tablet , a personal digital assistance , a laptop, a personal / desktop computer, a televis ion, or any such device that is obvious to a person skilled in the art .
[0032] As used herein, the term "network" may refer to a wired network or a wireless network . The wired network generally requires cables , ethernet or wires to connect the device 106 with the network 104 . The wireless network enables the device 106 to get wirelessly connected with the network 104 . Examples of such wireless network includes , but is not limited to , a cellular network ( such as GSM network, CDMA Network or any other telecommunication mobile network) or a short-range network (WiFi network, Near- field communication (NFC) , a ZigBee network, a bluetooth network etc . ) .
[0033] Further, the device 106 is associated with a user 108 who is using the device 106 for various purposes as described herein . For an instance , the user 108 wants to deploy a cloud application for which the user 108 needs a cloud infrastructure to implement / operate the cloud application .
[0034] As an example , the user 108 wants to remotely run an advance over-the-air ( OTA) campaign on one or more mobile devices 110A- 110N . Although, it is depicted in Figure 1 that the one or more mobile devices ( 110A- 110N) and the device 106 are connected to the same network 104 ; however, it is understood for a person skilled in the art that one or more mobile devices ( 110A- 110N) and the device 106 can be connected to di f ferent networks .
[0035] Each of these one or more mobile devices 110A- 110N comprises an embedded subscriber identity module ( referred hereinafter as "eS IM" ) belonging to any mobile network operator ( referred hereinafter as "MNO" ) . For running the advance OTA campaign, the user 108 may use the device 106 to access cloud tool / s to first build the intended cloud infrastructure to implement the cloud application for running the advance OTA campaign. Such cloud tool / s are hosted by the server 102. The server 102 may offer different features to the user 108 based on a subscription of the cloud tool / s opted by the user 108. One such feature may be building cloud infrastructure for deploying cloud applications through the cloud tool / s. Some of the cloud tool / s may include, but is not limited to, IBM's Terraform, Google Cloud Platform, Microsoft Azure, Amazon's AWS etc.
[0036] The device 106 comprises a display or user interface for rendering the cloud tool / s to the user 108. By using the cloud tool / s, the user 108 starts writing an Infrastructure as a Code (referred hereinafter as "laC") script for building the intended cloud infrastructure to implement or deploy the cloud application for running the advance OTA campaign. As an example, the user 108 writes the following laC script provided in exemplary Table 1 below. How this laC script is analyzed to determine the electrical consumption and / or caron footprint of the cloud application before deployment is explained in Figure 2 below.
[0037]
[0038] Exemplary Table 1
[0039] Figure 2 depicts an exemplary method flow diagram 200 for determining electrical consumption of a to-be- deployed cloud application, in accordance with an exemplary embodiment of the present disclosure . At step 202 , the method flow diagram 200 starts .
[0040] As used herein, the term "to-be-deployed cloud application" may refer to a cloud application which is still under development or ful ly developed but not yet deployed and yet to be deployed in future . At step 204 , a processing engine may work in conj unction with the cloud tool / s and / or a processor of the device 106 . The processing engine may extract a topology of an intended cloud infrastructure required by the to-be-deployed cloud application . Such topology of the intended cloud infrastructure may be extracted recursively from the laC script due to its binary tree typical structure . As an example , "region" in the provider "aws" , EC2 creation, Lambda Creation, RDS creation and the S3 creation are extracted as a topology of the laC script mentioned in exemplary Table 1 above .
[0041] As used herein, the term "region" may refer a separate geographic area . "Region" may comprise multiple , physically separated and isolated availability zones that are connected with low latency, high throughput , highly redundant networking . Such availability zones may enable the user 108 to operate production applications and databases that are more highly available , fault tolerant , and scalable than possible when using a single data center .
[0042] As used herein, the term "topology" may refer to a structure , generally in the form of a binary tree of a software code , TaC .
[0043] At step 206 , the processing engine may determine one or more elements in real-time from the topology of the to-be-deployed cloud application . As an example, " instance_type" in the E2C creation, "memory_size" in the Lambda Creation, " instance_class" as well as "allocated_storage" in RDS creation and "resource" in the S3 creation are elements from the topology of the TaC script of the to-be-deployed cloud application . These elements are defining the structure and si zing of the cloud infrastructure that wil l be deployed by the cloud provider .
[0044] As used herein, the term "element" may refer to one or more functions defined in the topology of the software , corresponding to attributes of the requested cloud infrastructure workloads .
[0045] Herein, the element " instance_type" mentions "m5 . xlarge" as an example . This "m5 . xlarge" means that the to-be-deployed cloud application virtual machine needs 4 virtual Central Processing Unit ( referred hereinafter as "vCPU" ) and 16 gigabyte memory ( referred hereinafter as "GiB" ) . Depending the upon the need for implementing the to-be-deployed cloud application, the user 108 may speci fy this " instance_type" according to the estimated need of number of vCPU and memory for this usage .
[0046] Exemplary Table 2
[0047] The element "memory_size" of 512 GIB in the Lambda Creation also mentions the memory needed to implement the to-be-deployed cloud application . Such lambda creation function is a serverless service that runs the code in response to events and automatically manages the underlying compute resources .
[0048] The element "allocated_storage" of 20 GiB in the RDS creation mentions the storage for storing the to-be- deployed cloud application .
[0049] The element "resource" of "aws_s3_bucket " in the S3 creation refers to a simple storage service of fered by AWS for storing any number of obj ects in a bucket .
[0050] At step 208 , the processing engine may determine electrical consumption for each of the one or more elements of the to-be-deployed cloud application . Each element herein may consume electricity based on the one or more elements speci fied in the TaC script . Depending upon the region, the carbon footprint associated with electricity consumption by each element may vary depending on local energy mix and cloud provider sourcing .
[0051] At step 210 , the processing engine may determine a total electrical consumption of the to-be-deployed cloud application based on the electrical consumption of each of the one or more elements . For this , the total electrical consumption may be calculated by summing up or adding the electrical consumption of each of the one or more elements . Column D in the exemplary Table 2 above mentions the electricity consumption by each element and adding all of these electrical consumptions determines the total electrical consumption estimated .
[0052] In some exemplary embodiments , the total electrical consumption of the to-be-deployed cloud application is determined for a particular time-period . For an instance , such time period may be for a s ingle day, a few days , a week, several weeks , months or for a year .
[0053] At step 212 , the processing engine may determine an electrical consumption ef ficiency rating of the to-be- deployed cloud application based on the total electrical consumption . Herein, the electrical consumption ef ficiency rating may correspond to an ef ficiency of the one or more elements in regard to electricity usage versus computation power, which varies a lot depending on the type of cloud workloads and their evolution over time .
[0054] As an example , an AWS VM (virtual machine ) managing an Apache web server spends much more energy that an AWS S3 bucket with web hosting capabil ity, for the same final activity as seen by the user 108 of a web hosting service . To save energy and i f the usage is the same , it may be recommended to prefer a S3 bucket with web hosting capability over a complete VM with an Apache web server .
[0055] At step 214 , the method flow diagram 200 ends .
[0056] In some exemplary embodiments , the processing engine of the present disclosure may be an automated expert system . For the calculation of the step 202 to step 214 , such automated expert system utili zes one or more deductive rules to trans form the elements from the laC script to define the infrastructure for the deployment . These one or more deductive rules may be defined by the user 108 or any expert / technician / sub j ect matter expert of the overall cloud operations . Such expert may possess deep knowledge of the elements and the electrical consumption by such element in the cloud environment and based on the region . Such expert may also redefine or modi fy the one or more deductive rules from time-to-time depending upon the evolution of the cloud environment and the electrical consumption defined for the region .
[0057] In some exemplary embodiments , the processing engine of the present disclosure may be a software which work in conj unction with the device 106 via which the cloud tool / s is accessed by the user 108 . As an example , the processing engine may work as a plug-in with the cloud tool / s . As an example , the processing engine may work as a computer-readable medium storing computer-executable instructions in a device such as a pen drive or a universal serial bus (USB ) to be connected with the device 106 . Alternatively, the processing engine of the present disclosure may be a dedicated hardware in the form of a micro-chip or nano chip or a processor of the device 106 .
[0058] In some other alternate embodiments , the processing engine of the present disclosure may employ arti ficial intelligence or machine learning techniques on top of calculation rules , to extract the topology, determine the one or more elements , and determine electrical consumption for such elements . For an example , the processing engine may be fed with some topologies of example laC scripts so that the processing engine may learn about the topologies of laC scripts . Similarly, the processing engine may be fed with some elements of example laC scripts so that the proces sing engine may learn about the elements of laC scripts . And in the same manner, the processing engine may be fed with electrical consumption by such elements of example laC scripts in any region of this cloud provider so that the processing engine may learn about the electrical consumption by these elements of laC scripts .
[0059] Based on at least one of the electrical consumption for each of the one or more elements and the total electrical consumption of the to-be-deployed cloud application, the processing engine may further determine the carbon footprint or CO2 emiss ion by the to-be- deployed cloud application . In some exemplary embodiments , the following formula may be used .
[0060] Output value in (Kg of CO2 ) = Input value ( in KWh / Yr ) X 0 . 85 (Emission Factor of the speci fic region)
[0061] Column E in the exemplary Table 2 above mentions the resulting carbon footprint by each element and adding all of these resulting carbon footprints determines the total resulting carbon footprint. The resulting carbon footprint depends on the timing of usage, the season, the location / region and sourcing contracts from the cloud provider and are specific for each region. In some exemplary embodiments, data from external provider subscription (such as electricitymaps.com) may also be used to calculate the emission factor.
[0062] The present disclosure also encompasses the feature of determining an eco-score ranking for at least one of the one or more elements and the to-be-deployed cloud application. The eco-score ranking may comprise a first rank A, a second rank B, a third rank C, a fourth rank D, a fifth rank E and a sixth rank F.
[0063] In some exemplary embodiments, the first rank A refers to no or very limited electricity consumption in the range of 0 to 0,0001 (Kilowatt hours, KWh) and thus, represented with dark green color. The second rank B refers to very low electricity consumption in the range of 0,0001kWh to 0,001 kWh and thus, represented with green color. The third rank C refers to low electricity consumption in the range of 0,001 kWh to 0,01 kWh and thus, represented with light green color. The fourth rank D refers to average electricity consumption in the range of 0,01 kWh to 0,1 kWh and thus, represented with yellow color. The fifth rank E refers to high electricity consumption in the range of 0,1 kWh to 1 kWh and thus, represented with orange color. The sixth rank F refers to high electricity consumption in the range of 1 kWh to 10 kWh and thus, represented with red color. Such color representation for the eco-score ranking for the first rank A, the second rank B, the third rank C , the fourth rank D, the fi fth rank E and the sixth rank F may be for an estimated usage of one hour .
[0064] In some exemplary embodiments , the first rank A refers to the cloud application / s based on serverless technology in a public cloud . In some exemplary embodiments , the second rank B refers to a container technology in the public cloud . In some exemplary embodiments , the third rank C refers to a virtual machine with ARM architecture in the public cloud . In some exemplary embodiments , the fourth rank D refers to a standard virtual machine in a private cloud . In some exemplary embodiments , the fi fth rank E refers to barebone servers in the public cloud . In some exemplary embodiments , the sixth rank F refers to the cloud application / s based on reserved barebone servers in the private cloud .
[0065] In some exemplary embodiments , the eco-score ranking and / or the electrical consumption for at least one of the one or more elements and the to-be-deployed cloud application may be displayed on the user interface for the user 108 and even for an end-consumer .
[0066] The present disclosure further encompasses the feature of optimi zing the laC script in real-time based on the total electrical consumption of the to-be-deployed cloud application . As an example , the user 108 may optimi ze the laC code depending upon the total electrical consumption or also on the electrical consumption for each of the one or more elements of the to-be-deployed cloud application . For an instance , the user 108 may choose to change the si ze of the elements to optimi ze the IaC script. The recursive nature of calculation applied to IaC script allows to efficiently recalculate the gap with a limited calculation to a concerned element in the IaC script, which allows energy savings in the process of optimization.
[0067] Figure 3 depicts a block diagram of the server 102 and / or the device 106, in accordance with an exemplary embodiment of the present disclosure. The server 102 and / or the device 106 may include processor 302, memory 304, a communication interface 306, and input / output devices 308. Each of these components may be operatively coupled to a communication bus 310, which may be configured, e.g., for optical and / or electrical communication .
[0068] The processor 302 may include a central processing unit, application-specific integrated circuit (ASIC) , digital signal processor (DSP) , or another type of processing circuit. The processor 302 may be implemented using mainframe, distributed processor, multi-core, parallel, grid, or other architectures. The processor 302 may be configured to implement the functions, procedures, and / or methods proposed by the present invention as described in the above Figures. Further, layers of a wireless interface protocol may be implemented by the processor 302.
[0069] The processing engine of Figure 2 may be a software that may be work in conjunction with the processor 302. In a first exemplary embodiment, the processing engine reside inside the processor 302. In a second exemplary embodiment, the processing engine reside outside the processor 302. The memory 304 may be any suitable medium that participates in providing instructions to the processor 302 for execution . For example , the memory 304 may be non-transitory or non-volatile medium, such as a magnetic disk or solid-state non-volatile memory or volatile medium such as random-access memory (RAM) . The instructions or modules stored on memory 304 may include machine-readable instructions executed by the processor 302 that cause the processor 302 to perform the methods and functions as described herein .
[0070] In some exemplary embodiments , the device 106 for determining electrical consumption of a to-be-deployed cloud application . The device 106 comprises the processor 302 and a memory 304 communicatively coupled to the processor 302 . The memory 304 stores processor instructions , which when executed by the processor 302 cause the processor 302 to : extract a topology of an intended cloud infrastructure required by the to-be- deployed cloud application; determine one or more elements in real-time from the topology of the to-be- deployed cloud application; determine electrical consumption for each of the one or more elements of the to-be-deployed cloud application; determine a total electrical consumption of the to-be-deployed cloud application based on the electrical consumption of each of the one or more elements ; and determine an electrical consumption ef ficiency rating of the to-be-deployed cloud application based on the total electrical consumption .
[0071] In some exemplary embodiments , the processor 302 is configured to optimi ze the infrastructure as a code ( laC ) script in real-time based on the total electrical consumption of the to-be-deployed cloud application .
[0072] In some exemplary embodiments , the processor 302 is configured to determine an eco-score ranking for at least one of the one or more elements and the to-be-deployed cloud application .
[0073] In some exemplary embodiments , the processor 302 is configured to determine carbon footprint or CO2 emission based on at least one of the electrical consumption for each of the one or more elements of the to-be-deployed application and the total electrical consumption of the to-be-deployed cloud application .
[0074] In some exemplary embodiments , the processor 302 is configured to display at least one of the eco-score ranking, the electrical consumption for each of the one or more elements and the total electrical consumption of the to-be-deployed cloud application on a user interface .
[0075] Further, the memory 304 may be communicatively coupled to the processor 302 and store information related to operations of the processing unit 308 . The memory 304 may be located inside or outside the processor 302 and may be connected to processing unit 308 through various well-known means .
[0076] The communication interface 306 may use any apparatus such as a transceiver or an RF module to communicate with another device or the network 104 such as the Ethernet , a radio access network (RAN) , or a wireless local area network (WLAN) . In other examples , the communication interface 306 may be a Local Area Network ( LAN) interface , a wireless 802 . l lx interface , a 3G, 4G, 5G, or 6G mobile WAN or a WiMax WAN . The input / output devices 308 may include one or more input and output devices. The input device may be a keyboard, mouse, joystick, (infrared) remote control, camera, card reader, fax machine, dongle, biometric reader, microphone, touch screen, touchpad, trackball, sensor (e.g., accelerometer, light sensor, GPS, gyroscope, proximity sensor, or the like) , stylus, scanner, storage device, transceiver, video device / source, visors, etc. The output device may be a printer, fax machine, video display, liquid crystal display (LCD) , light-emitting diode (LED) , Organic-LED (OLED) , Quantum Dot Light Emitting Diode (QLED) , Micro LED, Mini-LED, Quantum Dot OLED (QD-OLED) , audio speaker, etc .
[0077] In some exemplary embodiments, a non-transitory computer-readable medium storing computer-executable instructions for determining electrical consumption of a to-be-deployed cloud application. The computerexecutable instructions configured for extracting a topology of an intended cloud infrastructure required by the to-be-deployed cloud application. The computerexecutable instructions configured for determining one or more elements in real-time from the topology of the to- be-deployed cloud application. The computer-executable instructions configured for determining electrical consumption for each of the one or more elements of the to-be-deployed cloud application. The computerexecutable instructions configured for determining a total electrical consumption of the to-be-deployed cloud application based on the electrical consumption of each of the one or more elements. The computer-executable instructions configured for determining an electrical consumption ef ficiency rating of the to-be-deployed cloud application based on the total electrical consumption .
[0078] Implementations and all of the functional operations described in this description may be reali zed in digital electronic circuitry, or in computer software , firmware , or hardware , including the structures disclosed in this description and their structural equivalents , or in combinations of one or more of them .
[0079] The foregoing discussion of the disclosure has been presented for purposes of illustration and description . The foregoing is not intended to limit the disclosure to the form or forms disclosed herein . In the foregoing detailed description for example , various features of the disclosure are grouped together in one or more examples , configurations , or aspects for the purpose of streamlining the disclosure . The features of the examples , configurations , or aspects of the disclosure may be combined in alternate examples , configurations , or aspects other than those described above . Hence , the present disclosure and drawings should not be considered in a limiting sense , as it is understood that an invention presented within a disclosure is in no way limited to those examples speci fically illustrated .
[0080] Accordingly, the above description and any accompanying drawings , illustrations , and figures are intended to be illustrative but not restrictive . The scope of any invention presented within this disclosure should, therefore , be determined not with simple reference to the above description and those examples shown in the figures , but instead should be determined with reference to the pending claims along with their full scope or equivalents .
Claims
CLAIMS1 . A method for determining electrical consumption of a to-be-deployed cloud application, the method comprising the steps of :- extracting a topology of an intended cloud infrastructure required by the to-be-deployed cloud application;- determining one or more elements in real-time from the topology of the to-be-deployed cloud application;- determining electrical consumption for each of the one or more elements of the to-be-deployed cloud application;- determining a total electrical consumption of the to-be-deployed cloud application based on the electrical consumption of each of the one or more elements ; and- determining an electrical consumption ef ficiency rating of the to-be-deployed cloud application based on the total electrical consumption .2 . The method according to claim 1 , further comprising, optimi zing the infrastructure as a code ( laC ) script in real-time based on the total electrical consumption of the to-be-deployed cloud application .3 . The method according to any previous claims , further comprising, determining an eco-score ranking for at least one of the one or more elements and the to- be-deployed cloud application .4 . The method according to any previous claims , wherein the eco-score ranking comprises a first rank A, a second rank B, a third rank C, a fourth rank D, a fi fth rank E and a sixth rank F .5 . The method according to any previous claims , further comprising, determining carbon footprint or C02 emission based on at least one of the electrical consumption for each of the one or more elements of the to-be-deployed application and the total electrical consumption of the to-be-deployed cloud application .6 . The method according to any previous claims , further comprising, displaying at least one of the eco-score ranking, the electrical consumption for each of the one or more elements and the total electrical consumption of the to-be-deployed cloud application on a user interface .7 . The method according to any previous claims , wherein the total electrical consumption of the to-be- deployed cloud application is determined for a timeperiod .8 . The method according to any previous claims , wherein the electrical consumption ef ficiency rating corresponds to an ef ficiency of the one or more elements in regard to electricity usage versus calculation power .9 . A device for determining electrical consumption of a to-be-deployed cloud application, the device comprising :- a processor ; and- a memory communicatively coupled to the processor, wherein the memory stores processor instructions , which when executed by the processor, cause the processor to :- extract a topology of an intended cloud infrastructure required by the to-be-deployed cloud application;- determine one or more elements in real-time from the topology of the to-be-deployed cloud application;- determine electrical consumption for each of the one or more elements of the to-be-deployed cloud application;- determine a total electrical consumption of the to-be-deployed cloud application based on the electrical consumption of each of the one or more elements ; and- determine an electrical consumption ef ficiency rating of the to-be-deployed cloud application based on the total electrical consumption .10 . The device according to any previous claims , wherein the processor is configured to optimi ze the infrastructure as a code ( laC ) script in real-time based on the total electrical consumption of the to- be-deployed cloud application .11 . The device according to any previous claims , wherein the processor is configured to determine an eco-score ranking for at least one of the one or more elements and the to-be-deployed cloud application .12 . The device according to any previous claims , wherein the eco-score ranking comprises a first rank A, a second rank B, a third rank C, a fourth rank D, a fi fth rank E and a sixth rank F .13 . The device according to any previous claims , wherein the processor is configured to determine carbon footprint or C02 emission based on at least one of the electrical consumption for each of the one or more elements of the to-be-deployed application and the total electrical consumption of the to-be-deployed cloud application .14 . The device according to any previous claims , wherein the processor is configured to display at least one of the eco-score ranking, the electrical consumption for each of the one or more elements and the total electrical consumption of the to-be- deployed cloud application on a user interface .15 . A non-transitory computer-readable medium storing computer-executable instructions for determining electrical consumption of a to-be-29 deployed cloud application, the computer-executable instructions configured for :- extracting a topology of an intended cloud infrastructure required by the to-be-deployed cloud application;- determining one or more elements in real-time from the topology of the to-be-deployed cloud application;- determining electrical consumption for each of the one or more elements of the to-be-deployed cloud application;- determining a total electrical consumption of the to-be-deployed cloud application based on the electrical consumption of each of the one or more elements ; and- determining an electrical consumption ef ficiency rating of the to-be-deployed cloud application based on the total electrical consumption .