Communication problem from outside for an ACI which uses vnet and subnet from another RG

Ali, Irshad 0 Reputation points
2023-10-05T09:17:59.23+00:00

Hello,

I created an Azure Container Instance in x resource group via az cli. I used vnet and subnet from y resource group. Both resource groups are on same subscription. Now I am not able to connect ACI from outside. While if I create ACI from GUI and use the same vnet and subnet communication from outside is there. Can anyone help me?

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

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 26,411 Reputation points
    2023-10-06T05:02:37.33+00:00

    Hello Ali, Irshad

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

    Based on the issue description, you are facing a communication issue with your Azure Container Instance (ACI) that was created using the Azure CLI and is using a virtual network (VNet) and subnet from a different resource group than the one where the ACI is located.

    To troubleshoot this issue, please try below steps:

    1. Check if the VNet and subnet are correctly configured and have the necessary settings to allow communication from outside.
    2. Check if the ACI is running and has the correct settings.
    3. Check if there are any network or security issues that are preventing communication from outside.

    If you are still facing issues after checking these settings, you can try creating a new ACI using the Azure CLI and the same VNet and subnet to see if the issue persists. If the issue persists, you can contact Azure support for further assistance.

    I hope this helps you resolve the issue.

    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.