Google Pub / Sub:推送至计算引擎 [英] Google Pub/Sub: push to compute engine

查看:216
本文介绍了Google Pub / Sub:推送至计算引擎的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Google Pub / Sub中,是否可以使用在Compute Engine VM实例上运行的HTTPS服务器作为推送订阅的端点?我有点难以忍受,因为在文档中说服务器必须可以通过DNS名称访问。

In Google Pub/Sub, is it possible to use an HTTPS server running on a Compute Engine VM instance as an endpoint for a push subscription? I'm a bit stumped, as in the documentation it says the server must be reachable by a DNS name.

任何建议都可以赞赏 - 欢呼!

Any advice appreciated - cheers!

推荐答案

但你需要配置一个域名来指向你的GCE实例。这意味着您需要:

It is possible, but you'll need configure a domain name to point to your GCE instance. That means you need:


  1. 您可以分配给GCE实例的域名。

  2. 由着名权威机构签署的SSL证书。 (有人要求添加自签名SSL证书支持,但到目前为止还没有发生)。
  1. A domain name you can assign to the GCE instance.
  2. An SSL certificate signed by a well-known authority. (It has been requested that self-signed SSL certificate support be added, but that hasn't happened thus far).

您可以为您的GCE实例分配一个静态IP地址,然后映射通过自己的DNS将域名转换为该IP地址提供商或通过云端DNS

You can assign a static IP address to your GCE instance and then map the domain name to that IP address either through your own DNS provider or via Cloud DNS.

这篇关于Google Pub / Sub:推送至计算引擎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆