Questions tagged [azure-container-instances]

Azure Container Instances is a cloud service from Microsoft that offers to run containers as a service without managing the underlying infrastructure/servers. This tag is used for questions related to using azure container instances

Azure Container Instances offers the fastest and simplest way to run a container in Azure, without having to provision any virtual machines and without having to adopt a higher-level service.

Azure Container Instances is a great solution for any scenario that can operate in isolated containers, including simple applications, task automation, and build jobs. For scenarios where you need full container orchestration, including service discovery across multiple containers, automatic scaling, and coordinated application upgrades, we recommend the [tag:Azure Container Service].

Features

  • Fast startup times
  • Hypervisor-level security
  • Custom Sizes
  • Public IP connectivity
  • Persistent storage
  • Linux and Windows containers
  • Co-scheduled groups

For more information, see Documentation

658 questions
2
votes
1 answer

How does the Logic App's Until loop limits work exactly?

I have a Logic App with an Until action to keep looping until a condition is met (in this case when the Azure Container Instance has the state 'Terminated'). I've changed the limit 'Count' to 600. I left the 'Timeout' on the default value (PT1H).…
2
votes
0 answers

Azure IOTEdge - Raspberry Pi 4 (standard_init_linux.go:207: exec user process caused "exec format error")

I am trying to follow the https://github.com/Azure/ai-toolkit-iot-edge/blob/master/IoT%20Edge%20anomaly%20detection%20tutorial/00-anomaly-detection-tutorial.ipynb tutorial. The one difference is that I am pushing to a Raspberry Pi 4. The edgeHub and…
2
votes
1 answer

Azure Container Instance not using public IP

Tldr: The issue is that the IP address the agent uses doesn't match the public IP address attached to the container Instance. It's like it is using some hidden internal IP address that isn't visible to an end user. Background: I setup a self-hosted…
Lee Harrison
  • 2,306
  • 21
  • 32
2
votes
1 answer

Start and stop Docker container from Azure function based on input

I was wondering if there is some way that one can achieve the following on the Azure cloud platform: Start a Docker container (Azure Container Instances) from an Azure function with C# code based on input parameters and file posted to the Azure…
David
  • 89
  • 1
  • 15
2
votes
1 answer

Can't pull image from private Azure Container Registry when using Az CLI to create a new Azure Container Instance

I've created a service principal with push and pull access to/from my private Azure Container Registry. Pushing to ACR works perfectly fine with the following command: az login --service-principal -u "someSpID" -p "someSpSecret" --tenant…
2
votes
4 answers

azure logic apps: waiting for an ACI container to terminate to get its logs

I have an Azure logic app that correctly creates an Azure Container Instance. The container starts, does its job and terminates. I need to collect its logs with the appropriate connector and write them to an azure blob. I have all the pieces in…
pomarc
  • 2,194
  • 3
  • 23
  • 30
2
votes
0 answers

GPU not being used in GPU-based Azure Container Instance

I'm trying to get bert-as-a-service running on GPU-backed Azure Container Instance. Unfortunately even though I've got this running on a K80 SKU, bert-as-a-service still falls back to CPU instead of leveraging the GPU. If you look at the Dockerfile…
Adi Unnithan
  • 173
  • 1
  • 9
2
votes
2 answers

Production web api hosting, web app for containers or azure container instances?

I have an ASP.NET core 3.1 based web api ready to deploy to Azure for production use. For test / development, I have been deploying it to a traditional app service on Azure which I believe is a shared Windows VM under the hood. I have been on F1…
sean717
  • 11,759
  • 20
  • 66
  • 90
2
votes
2 answers

List container groups using Azure management APIs fails with System.Net.Sockets.SocketException

I'm using some Azure management nuget packages such as the Azure Container Instances libraries for .NET for months. A few days ago I noticed some errors when trying to do something simple such as getting a list of container instances - for…
Rui Jarimba
  • 11,166
  • 11
  • 56
  • 86
2
votes
0 answers

Execute Command on the Docker Container Running on Azure Container Instance using Azure CLI

I wanted to use OWASP ZAP in my Azure DevOps pipelines and wanted to use the Docker Image that is available. Also wanted to run the docker container on demand. Found an article on Microsoft DevBlog that addresses this use case. When I tried to…
Kasun Kodagoda
  • 3,956
  • 5
  • 31
  • 54
2
votes
1 answer

Ansible - Register variable and then search the variable to set_fact (Cisco Aci)

I query the Cisco ACI to attain the advanced vmm provider details for a specific EPG. The result is successful. I then register the result to a variable. I try to search that variable and obtain\extract a single specific piece of information such as…
2
votes
2 answers

access the application deployed on Azure Container Instance

I am new to Azure.I have deployed my application on Azure Container Instance.It has also generated an FQDN,but when i try to access the deployed application with this FQDN via postman or browser it dosent works.Kindly let me know what extra…
2
votes
0 answers

Container running on ACI on a VNET is unable to reach internet addresses (Outbound connections)

We have a container running via ACI on a VNET that recently has stopped being able to reach internet addresses (google.com, Azure SQL Databases, etc). I have brought up several other containers in the VNET as well as in brand new VNETS that are…
2
votes
1 answer

How To Set Azure Container Instance Managed Service Identity Arguments With .Net Fluent SDK

Creating Azure Container Instance using azure-cli, I can specify a resource id of a managed identity as a parameter of --assigned-identity Managed Service Identity Arguments --assign-identity : Space-separated list of assigned…
2
votes
2 answers

Create Azure container instance with VNet using C#

I have the following powershell command that creates an Azure container group with 1 container instance: az container create \ -g $(ResourceGroup) \ --name $(ContainerName) \ --image $(DockerImage) \ --cpu 2 --memory 8 \ --restart-policy OnFailure…