google-cloud-platform - 抢占式虚拟机如何工作?

标签 google-cloud-platform google-compute-engine

我在 Google Compute Engine 中创建了一个抢占式虚拟实例。我理解以下警告:

Preemptible instances are available from a finite amount of Compute Engine resources, and might not always be available.

根据 the docs ,抢占式实例会根据可用的计算资源在 24 小时后或之前终止。也就是说,我不太清楚终止在这里意味着什么。

特别是,当我的实例终止时,我的实例和连接到我的实例的所有相关资源 (即 GPU、磁盘(100GB)) 是否会被删除? (或)我是否必须手动删除所有内容,这样我就不会被收费(或)是否终止意味着我的实例将关闭(即停止),当我再次启动它时,所有内容都会在那里(比如我磁盘中的数据(100GB))。文档中不是很详细。

最佳答案

当一个可抢占实例被终止时,它被移动到TERMINATED machine state , 它没有被删除(附属资源也没有)为 documented here .

这是可抢占实例文档的相关部分:

Preempted instances still appear in your project, but you are not charged for the instance hours while it remains in a TERMINATED state. You can access and recover data from any persistent disks that are attached to the instance, but those disks still incur storage charges until you delete them. As with normal instances, persistent disks that are marked for auto-delete are deleted when you delete the preemptible instance.

再往下就是docmentation related to GPUs这阐明了 GPU 只在实例的生命周期内存在,所以我不认为当您的实例处于 TERMINATED 状态时您会为此付费。

关于google-cloud-platform - 抢占式虚拟机如何工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58531776/

相关文章:

google-cloud-platform - 如何监控在 GCE 上运行的容器虚拟机的内存使用情况

python-3.x - 适用于 Python 和 AWS Lambda 的 Google Cloud Platform API 不兼容 : Cannot import name 'cygrpc'

python-3.x - GCP-The App Engine APIs are not available, with py 3

rest - 如何将 API 参数传递给 GCP 云构建触发器

google-cloud-platform - 如何查看 Google Cloud 上虚拟机实例的磁盘使用情况?

linux - 安装软件包时如何解决 Linux 中的冲突?

docker - Kubernetes/Docker 的 HTTP(S) 负载均衡

java - mvn appengine :devserver_start 的输出位置

google-compute-engine - 如何防止来自中国的流量?

linux - 谷歌云存储桶: Mounting in a Linux instance with Global Permissions