我最近开始使用点块实例,因为它可以保证一定时间。
当我以按需价格发送请求作为最高价格并且有几个小时的阻止时间时,请求始终处于容量不可用状态。
我从中午到晚上一直在尝试,请求保持在容量不可用状态。
然后我尝试请求具有相同参数的常规定点实例,请求立即得到满足。
有谁知道这种行为是否合理?如果确实如此,那么我在斑点块实例中看不到多少价值。
顺便说一下,我使用了us-west-2区域。
提前感谢大家的建议。
答案 0 :(得分:1)
来源:http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html
Holding:
If one or more request constraints are valid but can't be met yet,
or if there is not enough capacity, the request goes into a holding
state waiting for the constraints to be met.
The request options affect the likelihood of the request being fulfilled.
For example, if you specify a maximum price below the current Spot price,
your request stays in a holding state until the Spot price goes below
your maximum price. If you specify an Availability Zone group,
the request stays in a holding state until the Availability Zone constraint is met.
也许您可以尝试另一个可用区域?
您还可以查看https://aws.amazon.com/ec2/spot/pricing/上的当前价格,了解您的出价是否在范围内。