Which service to use for dynamically rotating IP-Addresses?

lgoeb 0 Reputation points
2024-01-22T22:54:20.4833333+00:00

Is there an Azure service that allows me to proxy requests from my app (hosted in Azure) to other websites, while each time using IPs from an IP-Pool? (So my requests appear like from different IPs). Also, I want each ip to be used only 5 times per minute. If all IPs have already reached this limit, wait the requests until one ip is ready again. Is that possible using a Loadbalancer or NAT Gateway? Or NginxAsAService? Is it even possible in Azure?

Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
451 questions
Azure NAT Gateway
Azure NAT Gateway
NAT Gateway is a fully managed service that securely routes internet traffic from a private virtual network with enterprise-grade performance and low latency.
38 questions
{count} votes

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 49,586 Reputation points Microsoft Employee
    2024-01-23T10:29:31.1633333+00:00

    Hello @lgoeb ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I understand that you would like to know if there is an Azure service that allows to proxy requests from an Azure App to other websites, while each time using IPs from an IP-Pool, so that the requests appear like from different IPs.

    Even though a public IP prefix or a custom IP prefix (BYOIP) can be used to scale an Azure NAT gateway by using the public IPs in the prefix for outbound connections, it can only use up to 16 IP addresses and it can support up to 50,000 concurrent connections per public IP address to the same destination endpoint over the internet. Also, each time a new outbound connection is made through NAT gateway, the outbound public IP is selected at random. So, it will not satisfy your requirement of autorotation and using a single IP only 5 times per minute.

    Refer: https://learn.microsoft.com/en-us/azure/nat-gateway/nat-gateway-snat

    https://learn.microsoft.com/en-us/azure/nat-gateway/nat-gateway-resource#performance

    https://learn.microsoft.com/en-us/azure/nat-gateway/faq

    I checked NginxAsAService and I don't see IP rotation capabilities in it, so it doesn't seem possible.

    Refer: https://learn.microsoft.com/en-us/azure/partner-solutions/nginx/nginx-overview

    https://docs.nginx.com/nginxaas/azure/overview/overview/#capabilities

    Azure doesn't have a dedicated service that provides IP rotation or an IP pool for outgoing requests. IP rotation for outbound requests is typically something managed within your application or by using external solutions, such as proxy services.

    You may want to explore third-party solutions that offer proxy services with rotating IP addresses. You could integrate such a service with your Azure-hosted application.

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.