3 ms·
I believe for AWS, they use these ratios: https://github.com/opencost/opencost/blob/c2de805f66d0ba0e53223a757598ab5805449344/configs/aws.json#L4-L12 https://git
by TheDong 2y ago
I believe for AWS, they use these ratios: https://github.com/opencost/opencost/blob/c2de805f66d0ba0e53223a757598ab5805449344/configs/aws.json#L4-L12 https://github.com/opencost/opencost/blob/c2de805f66d0ba0e53...
So in your example, 6 CPU + 16GiB is roughly 2x more than 2 CPU and 16GiB, so if that node cost say $6/hr, you'd expect it to be allocated $2 to the first and $4 to the second.
They have these weights for various clouds here: https://github.com/opencost/opencost/tree/c2de805f66d0ba0e53223a757598ab5805449344/configs https://github.com/opencost/opencost/tree/c2de805f66d0ba0e53...
I'm sure someone will correct me if I'm wrong here, I'm not actually familiar with opencost, don't trust what I'm saying.