Xuntar
Xuntar

Reputation: 2280

Is an Azure App Service IP Address considered a static IP for DNS purposes?

I can't find any information about whether or not the IP address that Azure App Services gives you to add to your DNS A record for custom domains is a truly fixed IP address.

As far as I can tell you can't use Reserved IP's for App Services.

According to the official documentation here and some of the comments, the IP Address we get is a Virtual IP. Does that mean there is a chance we may need to change the A DNS record in the future to a different IP address, even if we never change the App Service? If so, when might this happen?

Upvotes: 12

Views: 17433

Answers (3)

Jessica Perez
Jessica Perez

Reputation: 18

if you want to be sure that your IP will never change, you can configure a cloud service instance with a reserved IP; in this way you do not have to worry about any IP change. In this link https://azure.microsoft.com/en-gb/documentation/articles/virtual-networks-reserved-public-ip/ you will find How and When you can use a reserved IP, hope it helps!!

Upvotes: -1

Michael B
Michael B

Reputation: 12228

from the page you linked to

Note:
The IP address may change if you delete and recreate your web app, or change the web app mode back to free.

This means that as long as you're not on the free tier you will get a static IP, which you will keep unless you change to the free tier or delete your app. - which used to be on the Portal, but I can't seem to find it at the moment! - All of my deployment scripts just ping the *.azurewebsites.net address though, and then add that to DNS

Upvotes: 10

Alex Belotserkovskiy
Alex Belotserkovskiy

Reputation: 4062

App Service Environment (ASE) is the dedicated environment that provides such capability (reference for ASE). That was asked as well on the UserVoice - and answer was to use ASE if you need static IP.

I think that is the only way to achieve what you need. Another way could be to see the outbound IPs in the Resource Manager for your WebApp, but it is a pool so not applicable.

Upvotes: 0

Related Questions