question

Goofoff avatar image
0 Votes"
Goofoff asked ·

Can you have a public IP to an Internal Load balancer?

i have a unique setup.
I have 2 SQL instances that are on VM's in Failover Cluster that work with a dual ip internal load balancer. ( each instance is on different health probe ports)
I am now needing to NAT/map/Associate public IP's for 1433 sql access from certain customers.
So is there any way to associate/nat a public ip to each of those 2 Internal load balancer Ip's?

azure-load-balancer
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeonLaude avatar image
0 Votes"
LeonLaude answered ·

Hi,

No, an Azure Internal Load Balancer can only have a private IP address.

Azure Load Balancer components
https://docs.microsoft.com/en-us/azure/load-balancer/components#frontend-ip-configuration-

8884-azure-load-balancers.png


(Please don't forget to accept helpful replies as answer)

Best regards,
Leon



· 6 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I am aware that i can't do it directly. i was wondering if there was some way to NAT to the ip address that the load balancer

0 Votes 0 ·

When an internal Standard Load Balancer is used, you need to take steps to create outbound connectivity for the VMs in the backend pool if outbound connectivity is desired.

0 Votes 0 ·

what about using azure firewall to NAT an external ip?
and do you have docs to create that outbound connectivity?

0 Votes 0 ·
Show more comments

Do you have documentation on performing those steps to create outbound connectivity on vms from the internal load balancer?

0 Votes 0 ·
suvasara-MSFT avatar image
0 Votes"
suvasara-MSFT answered ·

Greetings,

For now there is no possibility of assigning Public IP to an Azure ILB. Also there is a feature request which got declined indicating that there are no plans to implement this feature in ILB. In order to establish public communications you need to deploy standard public load balancer.



Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.



·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Goofoff avatar image
0 Votes"
Goofoff answered ·

you have to deploy a public load balancer to give vms that are on an internal load balancer external connectivity??

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.