GCP remote-builder 应该在特定范围内创建具有外部 IP 的 VM

GCP remote-builder should create VM with External IP in certain ranges

GCP remote-builder 应该使用特定范围内的外部 IP 创建 VM。例如 49.70.30.100 到 49.70.30.150

在远程构建器中,VM 实例正在使用随机外部 IP 创建,但我希望在该范围内。

您不能将临时外部 IP 分配限制在特定范围内(示例范围内的 51 个地址可能在您启动构建时已在其他地方使用)。

话虽如此,您可以 reserve a static external IP address that will be reserved for your project, whether it's in use or not, and assign it to your remote-builder VM with the --address flagINSTANCE_ARGS

请注意,您将billed for the IP address预订(从 2020 年 1 月 1 日起,无论是否在用)