How to use different outbound IPs per container instance in Azure container apps

LuisC 0 Reputation points
2024-06-12T20:06:22.2233333+00:00

Hi, I have a requirement to make each container instance have a different outbound IP just in case one of them gets blacklisted. I made tests with the Azure container app but each instance get the same outbound IP from the Azure container app environment. Is what I'm asking possible?

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
323 questions
{count} votes

1 answer

Sort by: Most helpful
  1. akinbade abiola 6,420 Reputation points
    2024-06-12T22:55:27.5066667+00:00

    Hello LuisC,

    Thanks for your question.

    By default, When you deploy container instances using Azure Container Instances, they share the same outbound IP address if they are within the same virtual network or subnet. Using Separate IPs is not supported by default.

    https://video2.skills-academy.com/en-us/azure/container-instances/container-instances-vnet

    You could consider leveraging private endpoints to route traffic through the Azure internal network, eliminating reliance on a public IP as a work around.

    Regards,

    You can mark it 'Accept Answer' if this helped.