您可以获得 Google Cloud Composer/Airflow 的静态外部 IP 地址吗? [英] Can you get a static external IP address for Google Cloud Composer / Airflow?
问题描述
我知道如何为 Compute Engine 分配静态外部 IP 地址,但这可以通过 Google Cloud Composer (Airflow) 完成吗?我想大多数公司都需要该功能,因为他们通常会写回可能位于防火墙后面的仓库,但我找不到任何有关如何执行此操作的文档.
I know how to assign a static external IP address to a Compute Engine, but can this be done with Google Cloud Composer (Airflow)? I'd imagine most companies need that functionality since they'd generally be writing back to a warehouse that is possibly behind a firewall, but I can't find any doc's on how to do this.
推荐答案
现在是可能的.您需要在私有 VPC 中配置 Cloud Composer 并使用 Cloud NAT 公开集群.
Now is possible. You will need to configure the Cloud Composer in a private VPC and expose the cluster using a Cloud NAT.
文档中有一些关于如何执行此操作的信息:https://cloud.google.com/composer/docs/concepts/private-ip
The documentation has some information on how to do this: https://cloud.google.com/composer/docs/concepts/private-ip
这篇关于您可以获得 Google Cloud Composer/Airflow 的静态外部 IP 地址吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!