【问题标题】:Will spot service start a manually stopped spot instance现场服务是否会启动手动停止的现场实例
【发布时间】:2021-05-11 22:05:36
【问题描述】:

我知道 Spot 服务将根据 https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#specifying-spot-interruption-behavior 的价格匹配或容量是否可用来管理 Spot 实例并停止或启动它

还有https://aws.amazon.com/about-aws/whats-new/2020/01/amazon-ec2-spot-instances-stopped-started-similar-to-on-demand-instances/ 现在提到可以手动停止或启动一个点实例。 我很困惑如果我手动停止一个 Spot 实例,Spot 服务是否会在满足价格/容量要求时再次启动它? 或者它会停止监控该实例直到我再次手动启动 Spot 实例?

【问题讨论】:

    标签: amazon-web-services amazon-ec2 amazon-ec2-spot-market


    【解决方案1】:

    要回答您的问题,有两种请求。 1) 一次性请求 2) 持久请求。

    一次性请求:- 您可以手动only terminate instance,但您无法停止它。一旦您终止实例,请求就会消失。

    persistent-request:- 如果是持久请求,it will automatically launch an instance when you manually terminate the instance,但如果你手动停止它,那么你需要手动重新启动它。现场实例不会自动为您启动。docs

    如果请求是持久的,则在您的 Spot 实例中断(aws 中断)后再次打开请求。如果请求是持久的并且您停止了 Spot 实例,则该请求仅在您启动 Spot 实例后才会打开。

    请注意

    您只能停止/启动从持久请求启动且不属于队列或启动组、可用区组或 Spot 块的实例。 docs 当您停止实例时,请求将进入禁用状态。

    【讨论】:

      猜你喜欢
      • 2019-02-11
      • 2018-01-17
      • 2018-07-25
      • 1970-01-01
      • 1970-01-01
      • 2017-11-28
      • 2019-06-04
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多