Search code examples
azureazure-webappsazure-service-plan

Is any way to ensure any azure service plan have an unique static outbound IP address in one azure subscription?


I'm making a distributed crawling system and deploy it in azure.

And I'm using Azure Service Plan as my crawler container.

This need every Service Plan have a unique static outbound IP address.

But when I start a Service Plan, it most likely the new Service Plan's outbound IP address same with another.

I tried to find out a solution through Azure Document, but unfortunately I can't find a suitable solution.

Any one have solution?


Solution

  • For information on outbound IP Addresses in an App Service Plan, have a look at Inbound and outbound IP addresses in Azure App Service -Find outbound IPs.

    Azure App Service is a multi-tenant service, except for App Service Environments. Apps that are not in an App Service environment (not in the Isolated tier) share network infrastructure with other apps. As a result, the inbound and outbound IP addresses of an app can be different, and can even change in certain situations.

    Example:
    Finding Outbound IP addresses

    But also:

    App Service Environments use dedicated network infrastructures, so apps running in an App Service environment get static, dedicated IP addresses both for inbound and outbound connections.

    This means you can get static dedicated IP addresses if you use App Service Environments. This does, of course, incur some extra costs.