HAProxy configuration with keepalived in Azure environment

Copper Contributor

We would like to have a HAProxy HA in our environment, it looks there is a limitation of floating IP in AZURE to implement the same. Is there any other alternative solution for this setup? 

5 Replies
Are you using some virtual appliance?

@rohanislam  Yes, we are using Azure VM's.

Have to tried using a front-end load balancer? There is an option to enable floating ip when creating a load balancer rule.

@rohanislam Yes. i aware of that option "Using an Azure load balancer to handle the floating IP from Keepalive" or third party Azure CLI script that is not supported by MS or using Traffic Manager in frond end to balance the load between 2 HAPoxy servers. If i need to use front end load balancer for Keepalive, i can use directly use AZURE LB instead of HAProxy. I think these are workaround solutions not straight forward one's.  Any idea when floating IP limitation will be addressed in Azure VM..?

As ARP is blocked on Azure vnet, you have to use a front-end load balancer when you are setting up a cluster like HA environment.