英文:
GCP Proxy to insecure endpoint
问题
我想发送一个请求(https)到GCP,让GCP将该请求路由到另一个(http)的本地端点。
例如:
请求发起方:https://some.google.domain.com/some-path(包含请求体、头部等)
GCP接收此请求并转发至:
http://myonsitedomain.com/some-path(包含请求体、头部等)
是否有解决方案,还是我需要为此创建一个云函数?
英文:
I would like to send a request (https) to GCP get GCP to route that request to another (http) onsite endpoint
for example
request intiator: https://some.google.domain.com/some-path (contains body headers etc)
GCP receives this request and forward to
http://myonsitedomain.com/some-path (contains body headers etc)
Is there a solution for this or do I have to create a cloud function for this?
答案1
得分: 1
外部HTTP(S)负载均衡是一种基于代理的第7层负载均衡器,允许您在单个外部IP地址后运行和扩展您的服务。外部HTTP(S)负载均衡将HTTP和HTTPS流量分发到托管在各种Google Cloud平台上的后端(如Compute Engine、Google Kubernetes Engine(GKE)、Cloud Storage等),以及通过互联网或混合连接连接的外部后端。使用这个外部负载均衡器,您可以解决您的问题,更多信息请参考源链接(源自:GCP文档)。
英文:
External HTTP(S) Load Balancing is a proxy-based Layer 7 load balancer that enables you to run and scale your services behind a single external IP address. External HTTP(S) Load Balancing distributes HTTP and HTTPS traffic to backends hosted on a variety of Google Cloud platforms (such as Compute Engine, Google Kubernetes Engine (GKE), Cloud Storage, and so on), as well as external backends connected over the internet or via hybrid connectivity. Using this external load balancer you can resolve your issue, follow the source link for more information (source: GCP documentation)
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论