Question: Can Microsoft Azure servers appear to use customer-owned public IP addresses?
My company is migrating on-premise VMs to Azure cloud. Some of our servers use static public IPv4 addresses (from our IP range). In Azure, I understand they'll be reallocated public IPs from a Microsoft range.
The problem is many partners whitelist our IPs in their firewall. If these IPs change, our integrations are likely to break.
Instead, can Azure servers route connections using the original IPs?
EDIT: AWS seems to offer this. Does Azure have similar functionality?
For inbound connections, would advertising the original IPv4 address and forwarding connections to an Azure load balancer work? How about outbound connections — can outbound traffic from Azure VMs be routed so it appears to originate from a non-Azure IP?
Best Answer
You can't bring your own public IP to Azure, a workaround is to route all traffic via VPN or Expressroute.
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-forced-tunneling-rm
In this case all inbound and outbound traffic would still use your current on-premise infrastructure.
If you can get you partners to whitelist new IP's you can allocate a range of public IP's that will "belong" to you in Azure and never change.
https://azure.microsoft.com/en-us/updates/preview-public-ip-prefix/