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

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.

主站蜘蛛池模板: 河北省| 涿鹿县| 绿春县| 鹤庆县| 呼玛县| 铜陵市| 蒲江县| 汉寿县| 新化县| 平罗县| 康马县| 吉隆县| 明光市| 乌兰察布市| 兖州市| 绥芬河市| 辽宁省| 石棉县| 咸丰县| 集安市| 香港 | 永济市| 仙桃市| 永年县| 泰安市| 宜宾县| 陵水| 定襄县| 金湖县| 灵寿县| 北票市| 陈巴尔虎旗| 镇远县| 图们市| 翼城县| 扎鲁特旗| 寿光市| 金华市| 安新县| 西乡县| 安图县|