Closed Bug 1315666 Opened 3 years ago Closed 2 months ago

[SpotManager] Overestimates cost exposure

Categories

(Testing :: ActiveData, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED MOVED

People

(Reporter: ekyle, Assigned: ekyle)

References

Details

SpotManager calculates the "exposure" as the sum of the bid amounts; this is an overestimate.

Consider 2 bids, for the same zone/instance_type:  
 * MachineA - m4.large - $0.04/hour
 * MachineB - m4.large - $0.05/hour

The current calculation will conclude the exposure to be $0.09, but the true exposure is $0.08/hour because A will be shutdown when the price goes above $0.04/hour; reducing the overall expenditure.

This is a first step in being able to place a wider range of bids to better balance stability with total cost exposure.
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → MOVED
You need to log in before you can comment on or make changes to this bug.