Azure Container Instances Overview

Azure Container Instances (ACI) offers the fastest and simplest way to run a container in Azure. It allows you to run containers without managing virtual machines or adopting a higher-level orchestration service like Azure Kubernetes Service (AKS).

Key Concepts

Common Use Cases

CI/CD Tasks

Run build tasks, tests, or deployment scripts as ephemeral containers.

Data Streaming

Process or aggregate real-time data streams from sources like Event Hubs or Kafka.

Web Apps & APIs

Deploy simple web applications or APIs that don't require complex orchestration.

Batch Processing

Execute short-lived batch jobs or scheduled tasks.

Development & Testing

Quickly spin up containers for testing code changes without complex setup.

Benefits of ACI

Getting Started

You can create and manage container groups using:

Example using Azure CLI:


az container create \
    --resource-group myResourceGroup \
    --name mycontainer \
    --image myacr.azurecr.io/myapp:v1 \
    --dns-name-label mycontainer-myapp \
    --ports 80
            

For more detailed information and advanced scenarios, please refer to the official Azure Container Instances Advanced Guide.