google-app-engine - 纯 Appengine 项目大量使用计算引擎 API?

标签 google-app-engine google-compute-engine

我发现我的纯 App-Engine 项目(根本没有 Compute Engine 实例)大量使用 Google Compute Engine API(26,165 个请求),但这在仪表板上看不到 API 使用情况。此外,在配额中我发现了奇怪的项目:

Google Compute Engine Networks Global 1 / 15    
Google Compute Engine Firewall rules Global 2 / 200 
Google Compute Engine Routes 2 / 250

我可以禁用 Compute Engine API,但我担心如果我不明白我在这里做什么会产生后果。

有没有人知道更多细节或经历过类似的事情?

PS:我还注意到我的 appengine-code 从 2013 年开始部署的旧版本出现了,我已将其再次删除。

最佳答案

我的应用是标准的 env python 应用。

我确实看到了您在 IAM & Admin Quotas 中提到的配额页面,但有不同的限制:

Google Compute Engine Networks Global 1 / 5    
Google Compute Engine Firewall rules Global 4 / 100 
Google Compute Engine Routes 2 / 200

我怀疑这些是由标准 env GAE infra 自动驱动的(而不是由应用程序本身为 flex env 配置)。不过,他们的知名度可能不是故意的。

我确实在 API Manager 上也看到了一些 GCE API 调用(但我的应用程序不是很活跃)页:

Google Compute Engine API  17

我不小心点击了此 API 的 Disable 按钮并收到此警告(可能暗示此 API 的用途):

Disable Google Compute Engine API

Code that uses this project's keys, client IDs, or service accounts will not be able to call this API.

Do you want to disable this API: Google Compute Engine API?

点击实际的 Google Compute Engine API 文本/链接,然后转到 Quota我可以看到的选项卡:

Queries per day     Unlimited   
Queries per 100 seconds     2,000   
Queries per 100 seconds per user    2,000   

我过去 30 天的峰值是 15,所以我不会担心 :)

我没有看到任何意外的旧应用版本。

关于google-app-engine - 纯 Appengine 项目大量使用计算引擎 API?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42112639/

相关文章:

python - 使用 Google 应用引擎的 webapp2 装饰器路由

java - 包含jsps编译错误

google-compute-engine - 使用 gcloud 命令行获取我的项目的配额使用/限制列表

google-cloud-platform - 在 Docker Container 内的 Container OS 上访问 Google Cloud 服务帐户凭据

apache - 配置 Google 负载均衡器主机和路径规则,以便使用 GCF 正确地为 React.js 应用程序提供服务

google-app-engine - Google App Engine 数据存储问题 : Getting TypeError: Cannot set non-property when trying to insert into DataSTore

Django——我已经准备好了一个小应用程序,我应该使用私有(private) VPS 还是 Google App Engine?

python - 从 App Engine 运行时 Python 3.7 调用云函数

java - 无法通过通用选项解析器设置mapreduce.job.reduces

google-app-engine - App Engine 之外的 db.model from_protobuf() 等效项?