How to deploy azure container behind private load balancer

Abdallah Bakir 0 Reputation points
2024-03-21T09:58:43.18+00:00

Hello, Actually I found myself in a trouble and I do not know how to solve it. I need to deploy container instance cluster behind load balancer in a private vnet for TCP communications. I tried to use the static ip of azure container instance as backend pool for the load balancer but the LB does not transfer request to the container instance .

I can not use Azure container apps because I found that the all requests' source IP was modified by the internal envoy proxy. I need to preserve source IP for further task in the container.

Thank you

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
704 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 26,311 Reputation points
    2024-03-22T03:59:53.2933333+00:00

    Hello Abdallah Bakir

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Please refer this document once, based on this placing a Load Balancer in front of container instances is officially not supported yet.

    Ref: https://learn.microsoft.com/en-us/azure/container-instances/container-instances-virtual-network-concepts#unsupported-networking-scenarios
    User's image

    Hope this helps.

    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.