gpt4 book ai didi

google-cloud-platform - Google Cloud Platform 中 STOP 实例和 SUSPEND 实例的区别

转载 作者:行者123 更新时间:2023-12-04 11:26:09 28 4
gpt4 key购买 nike

我在 Google Cloud Platform 中创建了一个实例。我一周使用这个实例 2 到 4 天。所以,我想在剩下的日子里关闭我的实例以节省我的账单费用。那么,对我来说什么是最好的选择。 Stop实例或 Suspend实例?它们之间有什么区别?

最佳答案

请查看文档 Suspending and resuming an instance :

Suspending an instance differs from stopping an instance in the following ways:

  • Suspended instances preserve the guest OS memory, device state, and application state.
  • Google charges for the storage necessary to save instance memory.
  • You can only suspend an instance for up to 60 days. After 60 days, the instance is automatically moved to the TERMINATED state.

并在文章 Stopping and starting an instance :

Instances that are in a TERMINATED state are not charged forper-second usage and do not count toward your regional CPU quota, soyou can choose to stop instances that you are not using, saving youfrom being charged for instances that aren't active. After you areready, you can come back and start the same instances again, with thesame instance properties, metadata, and resources.

Your instances are not charged for per-second usage while in theTERMINATED state but any resources attached to the virtual machine,such as static IPs and persistent disks, are charged until they aredeleted.


因此,最好停止您的 VM 实例,以避免为保持实例内存而进行的额外更改。
另外,请看文章 Save money by stopping and starting Compute Engine instances on schedule .

关于google-cloud-platform - Google Cloud Platform 中 STOP 实例和 SUSPEND 实例的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66743709/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com