Search code examples
azureazure-web-app-servicestatic-ip-address

Azure Website Reserved IP


I've been trying to find an answer to this for a few days.

I want to host a new azure website in either the Basic tier or Standard tier.

The site will be calling a third party service.

I need to give this service provider an IP address that they will whitelist. So when the new azure website makes requests to this service the IP address for the request needs to always be the same, as this will be the IP whitelisted.

I read that Azure offers "Reserved IPs" for cloud services and VMs but I wanted to know if something similar can be done with Azure Websites as I really don't want to go with cloud/VM.

My knowledge of networking is limited but as I understand it, if I were to get an IP SSL cert and apply that to my Azure Website then the website would have a static IP address.

If that is the case, would any requests to the third party service be hitting the service providers external firewall with this same static IP?

Thanks for any advice people can give.


Solution

  • An SSL cert with Web Sites will be tied to an inbound IP address. However, Web Sites does not provide a static outbound IP address.

    If you need a static IP address to align with 3rd-party services, you'd need to have something residing in Azure (e.g. Application tier) running in a cloud service / VM that your web site accesses, and then have that app tier (with static IP address) communicate with your 3rd-party services.