用静态IP为AppEngine设置自定义域的最佳方法是什么 [英] What is the best approch to setup custom domain with static IP for AppEngine
问题描述
我已经在下面进行了调查
- 通过AppEngine设置添加自定义域-似乎不是静态IP,它使用Google NS.
- 设置VM并作为代理运行-似乎是费解的方法和安全/维护开销.
- 具有互联网NEG 的HTTPS负载均衡器仍在调查中,并说
如果要从Google Cloud外部托管的来源提供内容,并且希望将外部HTTP(S)负载均衡器作为前端,则应执行此操作.
对此解决方案的任何建议/想法都将大大地适用于为此选择正确的解决方案
AppEngine/Cloud的静态IP可以通过带有无服务器网络端组"的HTTPS负载均衡器来实现.后端.
LB还有助于为AppEngine和其他无服务器组件提供多区域服务.
这类似于 Internet NEG 使用HTTPS LB,无服务器NEG可以映射到Google内部服务,例如Cloud run/CF,AppEngine.也可以在同一个GCP项目中映射多个AppEngine服务.
我能够在我的项目中尽早使用无服务器NEG并进行测试.当无服务器NEG可公开访问时,我将更新此帖子.
编辑(2020/7/7):无服务器NEG现在在Beta中可用,可供所有人访问,请参见
I had done an investigation on below
- Adding custom domain through AppEngine settings - Doesn't seem to be static IP, it uses Google NS.
- Setting up VM and run as a proxy - Seems to be convoluted method and security/maintenance overhead.
- HTTPS load balancer with internet NEG I am still investigating and it said
You should do this when you want to serve content from an origin that is hosted outside of Google Cloud, and you want your external HTTP(S) load balancer to be the frontend.
Any suggesions/thoughts for this solution will be greatly appricated to chose right solution for this
Static IP for AppEngine/Cloud Functions can be achieved by HTTPS Load Balancer with "Serverless Network End Group" backend.
LB also helps multi-region serving for AppEngine and other serverless components.
This is similar to Internet NEG with HTTPS LB, serverless NEG can be mapped to Google internal services like Cloud run/CF, AppEngine. It was also possible to map multiple AppEngine services from the same GCP project.
I was able to gain early access to serverless NEG on my project and test on my side. I will update this post when Serverless NEG available for public access.
Edit (7/7/2020): Serverless NEG is available in Beta now and is available for everyone to access, See
Serverless network endpoint groups overview
这篇关于用静态IP为AppEngine设置自定义域的最佳方法是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!