官术网_书友最值得收藏!

Preemptibillity

A preemptible instance is a VM instance type that is much cheaper than the regular Compute Engine machine types that we discussed in the previous section. The reason for this is that a preemptible instance uses spare resources in Google's infrastructure, but they might be terminated (that is, preempted) at any time if Google requires the resources held by this VM.

Preemptible instances cost only a fraction of what other VM instances do and so if you have a fault-tolerant application, for instance, a processing-only node in a Hadoop cluster, a preemptible instance might make a lot of sense and particularly so, if you are budget conscious.

Preemptible instances will definitely be terminated after running for 24 hours. Hence, do not ever use preemptible instances for long running jobs. When using a preemptible instance for relatively short jobs, the probability of termination is typically quite low. This probability of termination will vary based on the day, the zone, the network conditions, and other factors such as migrations and maintenance. Preemptible instances, unlike other VM types, cannot migrate; that is, they cannot stay alive during software updates and they will be forcibly restarted during maintenance. The first step in the preemption process is that the Google Cloud Platform or Compute Engine will send your instance a soft off signal where your machine has 30 seconds in which to clean up through a shutdown script and give up control. If it does not do so, Compute Engine will forcibly take control by sending a mechanical off signal. Therefore, if you use preemptible instances, do ensure that you have a well written shutdown script associated with the preemptible instance.

主站蜘蛛池模板: 洛隆县| 胶州市| 无为县| 南川市| 弋阳县| 扎兰屯市| 自治县| 澳门| 诏安县| 廊坊市| 临海市| 莱西市| 高州市| 山阳县| 阿拉善右旗| 衡水市| 肥西县| 古田县| 灵山县| 越西县| 崇明县| 五华县| 老河口市| 赫章县| 毕节市| 龙陵县| 深圳市| 垦利县| 阿拉善右旗| 博野县| 山丹县| 神农架林区| 肥西县| 哈密市| 高台县| 肥乡县| 禹州市| 南汇区| 格尔木市| 富蕴县| 岱山县|