Share via

Network Question on Azure Container Instance

Andy Wang 21 Reputation points
2021-07-30T21:36:46.8+00:00

Hi,
I found that the network throughput between two container instances varies sometimes (both are separated containers running with different CPU).

  1. I wonder if the network throughput is influenced by how busy the physical machine that they are running on.
  2. Is it possible to tell whether two container instances are running on the same physical machine?

Thanks!

Azure Container Instances
0 comments No comments

Answer accepted by question author

SRIJIT-BOSE-MSFT 4,346 Reputation points Microsoft Employee Moderator
2021-08-02T06:26:54.71+00:00

anonymous user Wang-4727 , Thank you for your question.

I wonder if the network throughput is influenced by how busy the physical machine that they are running on.

Yes, the containers' network throughput is constrained by the network bandwidth of the underlying host. More information on expected network bandwidth can be browsed for different types of Azure VMs mentioned here.

Is it possible to tell whether two container instances are running on the same physical machine?

Azure Container Instances being a Container-as-a-Service offering, currently it is not possible to determine (as a customer) the physical machine on which a container group is running. As shared in the answer by @Cristian SPIRIDON , containers running in the same container group will be running on the same physical machine.

Also you can now deploy Azure Container Instances on dedicated hosts (although the underlying host will not be visible to you). "Dedicated" is an Azure Container Instances (ACI) sku that provides an isolated and dedicated compute environment for securely running containers. Using the dedicated sku results in each container group having a dedicated physical server in an Azure datacenter, ensuring full workload isolation to help meet your organization's security and compliance requirements.

The dedicated sku is appropriate for container workloads that require workload isolation from a physical server perspective.

For more information please check this document.


Hope this helps.

Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Cristian SPIRIDON 4,486 Reputation points Volunteer Moderator
    2021-07-31T18:34:46.893+00:00

    Hi,

    I don't know a definitive answer to question 1 but if you want to run two containers on same host you have to use linux containers and container groups:

    https://learn.microsoft.com/en-us/azure/container-instances/container-instances-container-groups

    Hope this helps.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.