在具有单个 NIC 的单个 GCE 实例上分配多个 private-to-public 映射

Assigning multiple private-to-public mapping on a single GCE instance with a single NIC

在 Google Cloud Platform 中可以进行此设置吗?因为此设置可以在 Amazon Web Service 中轻松设置。

在 GCP 中无法完全按照您的要求进行操作。

然而,有一种方法可以使用转发规则 .

将多个 public IP 映射到单个 VM 实例

为了让您更好地了解 GCP 的网络,请查看如何 您可以创建具有多个接口的 VM(每个 VM 最多 8 个)。

此文档也可能有用 - how to create a VM with multiple NIC's

最后一篇文档描述了一些 exaples and use cases with VM's and multiple NIC's 也可能有帮助。