Skill 3.3.2

Provision a container by using Azure Container Instances

Key Concepts

The unit of deployment is a container group: one or more containers scheduled on the same host that share a lifecycle, local network, storage volumes and an optional public IP with a DNS name label (for example myapp.eastus.azurecontainer.io). A container group is created in the portal from a quickstart image, Azure Container Registry, Docker Hub or another registry, with the OS type (Linux or Windows), size, ports and environment variables (including secure values). Multi-container groups are Linux only and are deployed with a YAML file or a template.

The restart policy is Always (default, for services), OnFailure or Never (for run-once tasks). Container groups can be deployed into a virtual network subnet for private access, can mount Azure Files shares as volumes, and can use a managed identity. ACI suits simple applications, task automation and build jobs; it has no built-in autoscaling, load balancing or rolling updates.