简体   繁体   English

自动创建的Google Cloud计算引擎实例,不是我自己创建的

[英]Google Cloud compute engine instances automatically created, not by me

I started using Google Cloud for a webapp project of my own. 我开始将Google Cloud用于自己的webapp项目。 I've been using many of its features such as Standard App Engine for deployment, and its SQL for databases. 我一直在使用它的许多功能,例如用于部署的Standard App Engine和用于数据库的SQL。

In the last week I started using Cloud Storage for uploading and retrieving files. 在上周,我开始使用Cloud Storage上载和检索文件。 The thing is, that after creating a service account for this (as stated in the documentation), 8 VM instances are automatically created, not by me, and even if I delete or stop them, after a while new ones are started. 事实是,为此创建了一个服务帐户(如文档中所述)后,将自动创建8个VM实例,而不是由我创建,即使我删除或停止它们,也要在一段时间后启动。 These are created by the service account required for Cloud Storage for my project. 这些是由我的项目的Cloud Storage所需的服务帐户创建的。 I don't understand what is going on and its making me spend money I shouldn't be paying. 我不知道发生了什么,这让我花了不该支付的钱。

Any help for a solution to this problem would be great. 解决此问题的任何帮助将是巨大的。 Thanks 谢谢

GAE scenario: If you have a standard Google App Engine app, it is auto-scaled in response to processing volume, unless you choose the number of instances manually. GAE方案:如果您有标准的Google App Engine应用程序,则除非您手动选择实例数,否则它会根据处理量自动缩放。 All the configuration is specified by you in the app.yaml file. 您可以在app.yaml文件中指定所有配置。 I recommend having a look at a table in this Instance scaling docs description. 我建议您查看此实例扩展文档说明中的表格。 There are three types of scaling: automatic , basic and manual . 缩放比例分为三种: 自动基本手动 What will be of your interest: 您感兴趣的是:

  • Manual scaling: 手动缩放:

A service with manual scaling use resident instances that continuously run the specified number of instances irrespective of the load level. 具有手动缩放功能的服务使用常驻实例,这些常驻实例将连续运行指定数量的实例,而与负载级别无关。

  • Basic scaling: 基本缩放比例:

A service with basic scaling is configured by setting the maximum number of instances in the max_instances parameter of the basic_scaling setting. 通过在basic_scaling设置的max_instances参数中设置最大实例数,可以配置具有基本扩展的服务。 The number of live instances scales with the processing volume. 活动实例的数量与处理量成比例。

Notice also that for manual and basic scaling you have a free daily quota of 8 instance-hours and for automatic scaling 28 instance-hours. 还要注意,对于手动和基本扩展,您有8个实例小时的免费每日配额,对于自动扩展有28个实例小时的每日配额。

Managed instance group scenario: If you're using Compute Engine Managed instance group (not a GAE app), you can set the maximum number of replicas for the autoscaler with the --max-num-replicas option of the gcloud compute instance-groups managed set-autoscaling command. 托管实例组方案:如果您使用的是Compute Engine托管实例组(而不是GAE应用程序),则可以使用gcloud compute instance-groups managed set-autoscaling--max-num-replicas选项设置自动定标器的最大副本数。 gcloud compute instance-groups managed set-autoscaling命令。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法删除 Google Cloud Platform 上的 Compute Engine 实例 - Not being able to delete Compute Engine instances on Google Cloud Platform 如何获取在 Google Cloud 上运行的计算引擎实例的数量 - How to get number of compute engine instances running on Google Cloud 如何在谷歌计算引擎上创建的两个实例之间 ssh? - How to ssh between two instances created on Google Compute Engine? Google Cloud中的Compute Engine - Compute Engine in Google Cloud 销毁后自动创建Google Cloud Computing VM - Google cloud compute vm automatically getting created after destroying 谷歌云计算引擎不工作 - Google Cloud Compute Engine is Not Working 使用Compute Engine构建Google云 - Google cloud build with Compute Engine 一个Google云端平台项目中的Google Compute引擎上可以运行多少个WordPress实例。 - How many WordPress instances can i run on Google Compute engine in a single google cloud platform project. 如何在Google Cloud [计算引擎]中解决持久的非活动计费状态并恢复暂停的VM实例? - How do I resolve persistent inactive billing state in Google Cloud [Compute Engine] and restore paused VM instances? 从 Google Container Registry 自动将新容器部署到 Google Cloud Compute Engine - Automatically deploy new container to Google Cloud Compute Engine from Google Container Registry
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM