Google Cloud Platform 中 STOP 实例和 SUSPEND 实例的区别
Difference between STOP instance and SUSPEND instance in Google Cloud Platform
我在 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 for
per-second usage and do not count toward your regional CPU quota, so
you can choose to stop instances that you are not using, saving you
from being charged for instances that aren't active. After you are
ready, you can come back and start the same instances again, with the
same instance properties, metadata, and resources.
Your instances are not charged for per-second usage while in the
TERMINATED state but any resources attached to the virtual machine,
such as static IPs and persistent disks, are charged until they are
deleted.
因此,最好停止您的 VM 实例,以避免为保持实例内存而进行额外更改。
另外,请看文章Save money by stopping and starting Compute Engine instances on schedule。
我在 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 for per-second usage and do not count toward your regional CPU quota, so you can choose to stop instances that you are not using, saving you from being charged for instances that aren't active. After you are ready, you can come back and start the same instances again, with the same instance properties, metadata, and resources.
Your instances are not charged for per-second usage while in the TERMINATED state but any resources attached to the virtual machine, such as static IPs and persistent disks, are charged until they are deleted.
因此,最好停止您的 VM 实例,以避免为保持实例内存而进行额外更改。
另外,请看文章Save money by stopping and starting Compute Engine instances on schedule。