Boavizta / boaviztapi

🛠 Giving access to BOAVIZTA reference data and methodologies trough a RESTful API
GNU Affero General Public License v3.0
68 stars 23 forks source link

Retrieve the overall impacts of a cloud instance #71

Open da-ekchajzer opened 2 years ago

da-ekchajzer commented 2 years ago

Problem

In cloud environments, an instance is a layer of abstraction for multiple resources :

Today, cloud instances impacts are measured based exclusively on the impacts of Client allocated resources. We should be able to retrieve the overall impacts of a cloud instance.

Solution

client_allocated_impacts

Already implemented #29

unalocated_ressources_impacts

Scope 3 = client_allocated_impacts*(1/nb_redondancy_datacenter) Scope 2 = client_allocated_impacts(IDLE)/nb_redondancy_datacenter

Only redundancy is taken in consideration, we should also consider unaffected resources waiting for clients.

CSP_control_plane_impacts

Scope 3 = ((unalocated_ressources_impacts + client_allocated_impacts) * X)/100-X Scope 2 = ((unalocated_ressources_impacts + client_allocated_impacts) * X)/100-X

Scope 3 = fix_impact_per_instance Scope 2 = fix_impact_per_instance

Support equipments

Scope 2 = (compute_impact * PUE) / compute_impact

Scope 3 = ?

da-ekchajzer commented 8 months ago

@JacobValdemar @AirLoren we have done some work on the topic already there.

The main missing data would be the data for “support equipment Scope 3” (which should be renamed to embedded).