【问题标题】:Pure Appengine project is heavily using compute engine API?纯 Appengine 项目大量使用计算引擎 API?
【发布时间】:2017-06-26 01:01:07
【问题描述】:

我发现我的纯 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:我还注意到我在 2013 年部署的旧版 appengine-code 出现了,我再次将其删除。

【问题讨论】:

  • 这是一个灵活的环境应用吗?我在标准 env (python) 应用程序配额页面上没有看到此类信息。

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


【解决方案1】:

我的应用是标准的 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 的用途):

禁用 Google Compute Engine API

使用此项目的密钥、客户端 ID 或服务帐号的代码 将无法调用此 API。

是否要禁用此 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 天,所以我不会担心 :)

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-03-02
    相关资源
    最近更新 更多