问题标签 [google-cloud-platform]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
50 浏览

google-app-engine - 数据存储删除命令是否算作写入操作?

我需要重建一个数据库,并注意到在我删除一个数据库类型后我的写入操作非常高。这些算作写操作吗?

0 投票
1 回答
106 浏览

load-balancing - Google Cloud - 负载平衡/us-central1-b 没有选项

我们正在测试 Google Cloud Compute Engine,只是遇到了负载平衡问题。我们所有的 VM 实例都在区域 us-central1-b 中,我刚刚将另一台服务器添加到负载平衡中,现在它让我为每个 VM 实例选择一个区域,但列出的唯一内容是 us-central1-a 所以我们没有列出任何 VM 实例供我们选择。它将负载平衡的区域显示为 us-central1 那么我们如何将负载平衡放在 -b 中以便我们可以选择服务器?

0 投票
3 回答
3120 浏览

google-app-engine - App Engine 和 Compute Engine 实例之间是否存在等效的 AWS“安全组”?

TLDR;关于这个问题有任何更新吗? Google App Engine 通过内部网络与 Compute Engine 通信

--

是否可以在同一个 Cloud Project 中的 App Engine 和 Compute Engine 实例之间启用 HTTP 流量?

显然拒绝来自其他来源的所有 HTTP 流量。

在 AWS EC2/RDS/Beanstalk 之间,这可以通过“安全组”来实现。

0 投票
1 回答
1306 浏览

google-app-engine - 谷歌云存储文件夹结构

Google Cloud Storage 是否支持任何允许我嵌套微型站点中包含的引用文件的功能,如 rackspace cloud 所述。

http://docs.rackspace.com/files/api/v1/cf-devguide/content/Pseudo-Hierarchical_Folders_Directories-d1e1580.html

如,如果我上传一个引用 css 和脚本文件的 html 页面,我也想存储在谷歌云存储中......有没有办法在谷歌云存储上完成这种动态文件嵌套?

0 投票
3 回答
719 浏览

ssh - 无法登录 GCE 实例,串行控制台显示等待输入

我重新启动了我的实例,并在串行控制台上注意到以下消息。

但是,当尝试使用适当的 gcutil 字符串通过终端登录时

我得到以下

所以看来我被锁定在我的机器之外......除非密码以某种方式通过并允许再次连接到服务器。

您是否遇到过这种情况或知道另一种连接方式?

0 投票
1 回答
1033 浏览

python - 在 App Engine Python App 中使用 paho-mqtt 时出错

我正在尝试使用建立 MQTT 连接的 Flask 来纠正 Python 中的 Google Cloud Platform 应用程序。我已经包含了 paho python 库pip install paho-mqtt -t libs/。但是,当我尝试运行该应用程序时,即使我没有尝试连接到 MQTT。我收到一个关于 IP 地址检查的奇怪错误: RuntimeError: error('illegal IP address string passed to inet_pton',)

似乎remote_socket库中的某些东西导致了问题。这是一个安全问题吗?有什么办法可以禁用它吗?

相关代码:

以及完整的堆栈跟踪:

谢谢!

0 投票
1 回答
111 浏览

google-cloud-platform - Google 提供的用于衡量云中性能的工具

我必须写一份关于云计算和 QoS 的报告,并且我需要有关提供商为客户提供的用于衡量服务性能的工具的信息。有谁知道谷歌是否提供任何这样的工具?对于任何语法错误,我深表歉意 :) 感谢您的支持

0 投票
0 回答
141 浏览

java - Google App Engine Memcache - Preferred Structure [Java]

I have to write the application for Car Manufacture Industries details in Google App Engine [Java]

It is like having the hierarchy structures like below.

Manufacture - Body Types - Car model - Interior component(Engine/Fuel type/...) and each has comments and file attachments

If want to get details multiple manufacture then it is taking long time in DB sine it has to run nearly 8 query from HRD (for single manufacture) I just want to know best approach to store in the memcache - for example - If I save each and every object in the memcache then I have to manage the keys of each items in the separate keys. And If want to save all the result in the one key - like json or xml or List then for each item i have to manage them separately on update of the item as well as update in the json,xml or List and that need to be split them if it is more than 10KB since we use dedicated memcache.

What will be the best approach to manage this kind of operations?

Is there any other solution, please let me know.

thanks

Krishnan

0 投票
1 回答
2268 浏览

google-cloud-storage - Google Cloud Storage 中的 GET 操作有何不同?

Google Cloud Storage 有几种类型的 GET 操作:

A级

  • 获取服务
  • GET Bucket(列出存储桶中的对象时)

B类

  • GET Bucket(检索存储桶配置时)
  • 获取对象

任何人都可以用“新手的术语”解释他们的区别吗?

0 投票
1 回答
264 浏览

instance - 在 Google Cloud 上,停止实例的 API 方法是什么(不是 gcutil 或手动方法)

奇怪的是,似乎没有记录在案的 API 调用来停止谷歌云实例。在这些文档中:

https://developers.google.com/compute/docs/instances#stop_job

前面和后面的命令都描述了完成的 API 调用,但不是关闭实例的非常常见的任务。

当我破解了获取 GCE 帮助“重置”实例的 URL 时,假设“删除”命令可能存在,我进入了这个有效页面:

https://developers.google.com/compute/docs/reference/latest/instances/delete

但这谈论的是删除“实例资源”而不是实例本身。令人困惑(对我来说)。

那么,是否存在关闭谷歌云虚拟机实例的 API 调用?