Private Google 访问是否也用于具有 public IP 或使用 Cloud NAT 的实例?
Is Private Google Access also used for instances that have a public IP or where Cloud NAT is used?
在 Google 云平台 (GCP) 上:私有 Google 访问是否也用于具有 public IP 或使用云 NAT 的实例?
如果不是这样,那么它可能不会增加延迟(因为 Google 将在内部路由流量,即使使用 googleapis.com 的 public IP 也是如此)但是它可能会产生出口费用。
Private Google Access has no effect on instances that have external IP addresses. Instances with external IP addresses can access the internet, according to the internet access requirements1。
PGA 向只有内部 IP 地址(没有外部 IP 地址)的 VM 实例授予权限可以使用私有 Google 访问,这样它们就可以访问 Google 的外部 IP 地址API 和服务。
Cloud NAT 从不对发送到 Google API 和服务的 select 外部 IP 地址的流量执行 NAT。相反,当您将 Cloud NAT 网关配置为应用于该子网的主要 IP 地址范围时,Google Cloud 会自动为该子网启用私有 Google 访问。
在 Google 云平台 (GCP) 上:私有 Google 访问是否也用于具有 public IP 或使用云 NAT 的实例?
如果不是这样,那么它可能不会增加延迟(因为 Google 将在内部路由流量,即使使用 googleapis.com 的 public IP 也是如此)但是它可能会产生出口费用。
Private Google Access has no effect on instances that have external IP addresses. Instances with external IP addresses can access the internet, according to the internet access requirements1。
PGA 向只有内部 IP 地址(没有外部 IP 地址)的 VM 实例授予权限可以使用私有 Google 访问,这样它们就可以访问 Google 的外部 IP 地址API 和服务。
Cloud NAT 从不对发送到 Google API 和服务的 select 外部 IP 地址的流量执行 NAT。相反,当您将 Cloud NAT 网关配置为应用于该子网的主要 IP 地址范围时,Google Cloud 会自动为该子网启用私有 Google 访问。