[SpotManager] Overestimates cost exposure

NEW
Assigned to

Status

Testing
ActiveData
9 months ago
9 months ago

People

(Reporter: ekyle, Assigned: ekyle)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

9 months ago
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.
You need to log in before you can comment on or make changes to this bug.