我想知道实例和实例组之间的区别是什么。
谁能给我解释一下区别?
为什么我们可以将 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/