0

When setting up an application gateway (Standard V2), I was asked to create an IP address (used Standard SKU for the IP). Is this IP address static or dynamic? I'd like to create a CNAME record and point my custom domain to this address, but I wasn't sure if the address would change without my consent.

user246392
  • 2,661
  • 11
  • 54
  • 96

1 Answers1

2

This is explicitly covered in the Application Gateway documentation, specifically within the Application gateway components article:

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 - The static/dynamic nature of the assigned public IP can be configured within the V2 SKU however best suits your use case.

esqew
  • 42,425
  • 27
  • 92
  • 132
  • This is great. Is there any documentation on getting the DNS name of the application gateway? I thought this would be available in the portal, but I don't see it. – user246392 Jan 09 '21 at 20:55
  • Go to AppGW, click on Frontend public IP address (under Essentials blade) and it will open your Public IP address. Here you can check the DNS name of your AppGW. If DNS name is not shown, you can create one (DNS name label) by going to Configuration option present under Settings blade. – Fraxxx Jan 13 '21 at 09:50