google-compute-engine - 实例和实例组有什么区别

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

我想知道实例和实例组之间的区别是什么。

谁能给我解释一下区别?

为什么我们可以将 Autoscaler 用于实例组而不是实例

最佳答案

在 GCE 中,实例是您可以自定义(CPU、网络、端点、磁盘等)并由您管理(关闭、运行、使用新镜像构建等)的单个虚拟机

https://cloud.google.com/compute/docs/instances/

An instance is a virtual machine hosted on Google's infrastructure.

Instances can run the Linux images provided by Google, or any customized versions of these images. You can also build and run images of other operating systems.

而实例组就是以上实例的集合,用于管理。即我有两组,慢速实例和快速实例。

Autoscaler 是您可以与托管实例组一起使用的东西。这是一个由实例管理器使用实例模板创建的组。

https://cloud.google.com/compute/docs/instance-groups/

A Compute Engine Autoscaler automatically adds or removes virtual machines from a managed instance group based on increases or decreases in load. This allows your applications to gracefully handle increases in traffic and reduces cost when the need for resources is lower. You just define the autoscaling policy and the autoscaler performs automatic scaling based on the measured load.

希望对您有所帮助。 干杯。

关于google-compute-engine - 实例和实例组有什么区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30758207/

相关文章:

google-cloud-platform - 为 Google Deployment Manager 创建空磁盘

google-cloud-platform - Google DataProc 的 Jupyter 中的 Python 版本错误

python-3.x - 部署 Tensorflow 对象检测模型并提供预测

java - 将图像上传到 Firebase 存储后,无法将图像 url 放入 Firestore 数据库

google-cloud-platform - GCP 中的 oauth 配置是否有任何 terraform 资源(或 CLI 命令),也可以在 GCP 中添加授权域

java - 无法使用 Java 12 连接到谷歌云 API

docker - Google的Container OS可以与Compute Engine上的gRPC一起使用吗?

mongodb - 谷歌云 Mongodb : External IP not connecting

unix - 在 Google Cloud Compute Engine 上安装 Nifi

kubernetes - 如何更改整个 Kubernetes 集群时区