boaviztapi
boaviztapi copied to clipboard
Cloud instances archetypes
Problem
To be agnostic to cloud providers, we should provide a route with typical cloud instances.
Solution
The available instances could be segmented by price per hours. An empirical approach from several cloud providers could be conducted to create the archetypes.
Additional context or elements
POST /v1/cloud/model?archetype="$0.1-$0.5"
{
"usage":{
"usage_location": "BEL",
"workload":{
"10":{
"time": 0.1
},
"50":{
"time": 0.2
},
"100":{
"time": 0.1
},
"idle":{
"time": 0.5
}
}
}
}