Installing HAProxy Ingress Controller in a VM

Soundarya Ayyappan 61 Reputation points
2022-01-21T05:23:30.683+00:00

I have installed and worked with HAProxy Ingress Controller in an AKS cluster. But I need to know if it is possible to use HAProxy ingress controller to route the traffic to the services of an application which is deployed in Azure Virtual Machine.

The reason I want to use HAProxy is because, when I install HAProxy ingress controller, I will receive a Load Balancer IP Address from Azure, which I can point to a domain name specific to my application.

Also, I can access the app in a secure mode (https). Now I am accessing the app using the DNS Name of the VM which is an http endpoint. (app.westus2.cloudapp.azure.com).

Can anyone please guide me on this or explain if the scenario that I expect is possible or not?

Thanks in Advance!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,014 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ronen Ariely 15,206 Reputation points
    2022-01-21T06:04:26.003+00:00

    Hi,

    In first glance it seems to me that you better ask this question in the haproxy community

    https://haproxy-ingress.github.io/community/


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.