Azure:了解应用网关前端IP地址
Azure: Understanding front-end IP address of application gateway
在设置应用程序网关(标准 V2)时,我被要求创建一个 IP 地址(使用标准 SKU 作为 IP)。这个 IP 地址是静态的还是动态的?我想创建一个 CNAME 记录并将我的自定义域指向该地址,但我不确定该地址是否会在未经我同意的情况下更改。
这在应用程序网关文档中明确涵盖,特别是在 Application gateway components 文章中:
Static versus dynamic public IP address
The Azure Application Gateway V2 SKU can be configured to support
either both static internal IP address and static public IP address,
or only static public IP address. It cannot be configured to support
only static internal IP address.
[...]
The DNS name associated with an application gateway doesn't change
over the lifecycle of the gateway. As a result, you should use a CNAME
alias and point it to the DNS address of the application gateway.
TL;DR - 分配的 public IP 的 static/dynamic 性质可以在 V2 SKU 中配置,但最适合您的用例。
在设置应用程序网关(标准 V2)时,我被要求创建一个 IP 地址(使用标准 SKU 作为 IP)。这个 IP 地址是静态的还是动态的?我想创建一个 CNAME 记录并将我的自定义域指向该地址,但我不确定该地址是否会在未经我同意的情况下更改。
这在应用程序网关文档中明确涵盖,特别是在 Application gateway components 文章中:
Static versus dynamic public IP address
The Azure Application Gateway V2 SKU can be configured to support either both static internal IP address and static public IP address, or only static public IP address. It cannot be configured to support only static internal IP address.
[...]
The DNS name associated with an application gateway doesn't change over the lifecycle of the gateway. As a result, you should use a CNAME alias and point it to the DNS address of the application gateway.
TL;DR - 分配的 public IP 的 static/dynamic 性质可以在 V2 SKU 中配置,但最适合您的用例。