deploying N copies of the same docker image->ACI container

AJG 436 Reputation points
2020-09-09T16:29:53.55+00:00

Looking at the Azure Portal 'Container Instances' page - for a given container - the container name has 'container instances' written below it, also on that same page - in 'essentials', there is a 'container count' property (with value 1).

this strongly suggests that azure containers are designed to support the deployment of multiple instances of the same container - but how is this done ?

if we want a simple way of parallelization across containers - the starting point should be a mechanism for the simultaneous deployment of multiple homogeneous container instances - without any other nasty complications, eg by including a 'count' or 'instances' value in the 'azure container create' command.

the portal details referenced above suggest that this should be the case - but there is no obvious way to do it - that I can see.

I have seen the 'az deployment group create' command ... oh dear ... is that really the answer ? ...

A

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
711 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. whoward-msft 2,766 Reputation points
    2020-09-09T23:44:36.907+00:00

    Hi @AJG ,

    A simple way of deploying multiple instances of the same ACI container would be Azure Resource Manager Templates. You would deploy an ARM Template using the copy element to set the number of containers of a set instance you would like to deploy. For more see this doc.

    If this helps answer your question please mark it as accepted to help others in the community with similar questions. Thanks!


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.