我知道,spot服务将管理spot实例,并根据价格匹配或容量是否可用( https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#specifying-spot-interruption-behavior )来停止或启动它
https://aws.amazon.com/about-aws/whats-new/2020/01/amazon-ec2-spot-instances-stopped-started-similar-to-on-demand-instances/现在提到手动停止或启动spot实例是可能的。如果手动停止spot实例,那么服务会在满足价格/容量要求时再次启动它吗??
**,还是会停止监视实例直到我再次手动启动spot实例?
发布于 2021-04-19 01:23:58
要回答你的问题,有两种要求。1)一次请求,2)持久请求。
一次请求:-手动可以only terminate instance
,不能停止it.Once终止实例,请求就会消失.
持久化请求:-如果是持久请求,it will automatically launch an instance when you manually terminate the instance
,但是如果手动停止它,则需要再次手动启动它。spot实例不会自动为您启动。文档
如果请求是持久的,则在Spot实例被中断(由aws中断)之后再次打开请求。如果请求是持久的,并且停止Spot实例,则只有在启动Spot实例之后才会打开请求。
请注意
您只能停止/启动从持久请求启动的实例,该实例不是舰队或发射组、可用性区域组或Spot块的一部分。 文档当您停止该实例时,请求进入禁用状态。
https://stackoverflow.com/questions/66099280
复制相似问题