簡體   English   中英

Google Cloud Endpoints定位到VM實例(計算引擎)的內部IP?

[英]Google Cloud Endpoints target to Internal IP of VM Instance (Compute Engine)?

是否可以將端點配置為以Compute Engine VM實例的內部IP為目標?

我遵循了Echo API Java示例,並使用Endpoints公開了該服務。 一切正常。 我可以成功將請求發送到FQDN(echo-api.endpoints。 [PROJECT_ID] .cloud.goog)。

但是我不想在此VM實例中保留外部IP。 因為我仍然可以繞過端點直接向外部IP發送請求。

當我嘗試在此VM實例上將“外部IP”設置為“無”,並在openapi.yaml target設置為“內部IP”時,我的Echo服務不再可通過Endpoints DNS訪問。

因此,是否可以將Endpoint API定位到Compute Engine VM實例的內部IP?

謝謝!

Google Cloud Endpoints組中回答了類似的問題: https : //groups.google.com/forum/?utm_medium=email&utm_source= footer#!msg/google-cloud-endpoints/tL9LN9OojHs/ 3GySDuECAgAJ

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM