亚马逊现货实例终止问题 [英] amazon spot instance termination issue

查看:205
本文介绍了亚马逊现货实例终止问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来发现在Amazon Web服务实例的使用。我有一个基本的问题。如果用户获得一定数量的现货实例以买入价和现货价格上涨在随后的时间,他会失去所有的现货实例或一些人? 此外还有没有其他的云服务供应商提供这样的服务? 我们可以动态增加或减少我们的申办,而我们的现货实例在运行?

在现场的情况下实例的,什么是关闭实例时,现货价必须高于你的买入价的含义。为节点仍是关机访问或它只是一个合乎逻辑的命令执行这样就可以在未来的其他地方创建另一个点的实例?这是什么关机现货实例为用户的利益?有没有办法告诉现货实例自动关机时,出价低于现货价格与亚马逊终止了现货实例?

解决方案

问题1

  

如果用户获得一定数量的现货实例的投标价格,   现货价格上涨在随后的时间,他会松动所有   现货实例或一些人?

您将失去所有的人。为什么你失去所有这些吗?该规则适用于所有的情况下,在这种情况下,因为它们都具有相同的中标价格。

http://aws.amazon.com/ec2/spot-instances/

  

如果现货价格超过您的最高出价或不再有备用的EC2   在给定的地点池容量,您的实例将被终止。

同样重要的是要注意的:

  

您应该总是ppared的可能性,你点$ P $   实例可能被打断。

问题2

  

另外还有没有其他的云服务供应商提供这样的服务?

这并不是说我知道。我还没有看到其他大玩家(比如Rackspace公司)提供现货实例。

问题3

  

在现场的情况下实例的,什么是关闭实例时,现货价必须高于你的买入价的含义。

您实例被终止,恕不另行通知。这意味着你必须建立容错应用程序,并ppared您的EC2 $ P $随时要失败的。

问题4

  

这是什么关机现货实例为用户的利益?

我认为你说的是​​下面的当您的出价超过了现货价格,你的现货实例启动,您的实例将持续到现货价格超出您的出价(现货中断),或者您选择终止它们。

终止您的EC2的东西,当你与你的现货实例就完蛋了,你会怎么做,否则你将被收取,它的运行的每一个小时。

问题5

  

有没有办法告诉现货实例自动关机时,出价低于现货价格与亚马逊终止了现货实例?

你有几种选择在这里:

  1. AWS有一个API,你可以得到任何您的实例的信息。您可以监视通过自己的code,是以API的优势地位。

  2. 您可以使用CloudWatch的提醒您在EC2状态变化。

  3. 有关报告,你也有机会获得您的现货实例数据馈送。

I am new to spot instance use in amazon web services. I have a basic question. If a user acquires certain number of spot instances at a bid price and the SPOT price increases in the subsequent hours, will he loose all the spot instances or some of them? Also is there any other cloud providers providing this kind of service? can we dynamically increase or decrease our bid while our spot instance is running?

In case of spot instance, what is the meaning of "shut down your instance" when spot price goes above your bid price. Is the node still accessible for shutdown or its just a logical command to perform so that you can create another spot instance elsewhere in future? what is the benefit of this "shutdown spot instance" for a user? is there a way to tell for automatic shutdown of spot instance when the bid is less than spot price and amazon terminated the spot instance?

解决方案

Question 1

If a user acquires certain number of spot instances at a bid price and the SPOT price increases in the subsequent hours, will he loose all the spot instances or some of them?

You will lose all of them. Why do you lose all of them? The rules apply to all the instances in this scenario as they all have the same bid price.

http://aws.amazon.com/ec2/spot-instances/

If the Spot price exceeds your max bid or there is no longer spare EC2 capacity in a given Spot pool, your instances will be terminated.

It's also important to note:

You should always be prepared for the possibility that your Spot Instance may be interrupted.

Question 2

Also is there any other cloud providers providing this kind of service?

Not that I know of. I haven't seen the other big players (like Rackspace) offer spot instances.

Question 3

In case of spot instance, what is the meaning of "shut down your instance" when spot price goes above your bid price.

Your instances gets terminated without notice. This means you have to build fault tolerant applications and be prepared for your EC2 to fail at any moment.

Question 4

what is the benefit of this "shutdown spot instance" for a user?

I assume you are talking about the following "When your bid exceed the Spot Price, your Spot instance is launched and your instance will run until the Spot Price exceed your bid (a Spot interruption) or you choose to terminate them."

Terminating your EC2 is something you would do when you're finished with your Spot Instance, otherwise you will be charged for each hour that it's running.

Question 5

is there a way to tell for automatic shutdown of spot instance when the bid is less than spot price and amazon terminated the spot instance?

You have a few options here:

  1. AWS have an API where you can get information on any of your instances. You can monitor the status through your own code that takes advantage of the API.

  2. You could use CloudWatch to alert you on the EC2 state change.

  3. For reporting you also have access to your Spot Instance Data Feed.

这篇关于亚马逊现货实例终止问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆