Skip Navigation

Container Instances pricing

Azure Container Instances offers the fastest and simplest way to run a container in Azure, without having to provision any virtual machines or learning new tools—it is just your application, in a container, running in the cloud. With Azure Container Instances, you can easily run containers with a single command. Get started in seconds and lower your infrastructure costs by taking advantage of per second billing and custom machine sizes.

Pricing Details

Azure Container Instances bill at the “container group” level which are assignments of vCPU/Memory resources that can be used by a single container or split by multiple containers. Container groups are co-scheduled containers that share the same network and node lifecycle. Read more about container groups here.

Meter Price
Container group duration Memory: $- per GB-s
vCPU: $- per vCPU-s
GPU Container group duration
Memory: $- per GB-s
vCPU: $- per vCPU-s
K80 vGPU: $- per vGPU-s
P100 vGPU: $- per vGPU-s
V100 vGPU: $- per vGPU-s
Windows software duration * $- per vCPU-s

*Only applies to vCPU of Windows container groups

Container group duration

Container group duration is calculated from the time your container begins to pull your first container's image until the container group terminates. The price depends on the number of vCPU and GBs of memory allocated to the container group. You are charged for each GB and vCPU second your container group consumes. For each container group, you can allocate a minimum of 1 vCPU and 1 GB, up to 7 GBs of memory to each vCPU. You can allocate up to 4 vCPU to each container group you deploy. There is an additional charge of $- per vCPU second for Windows software duration on Windows container groups.

Public IP addresses

Public IP addresses assigned to your container group are billed at standard Azure rates.

Pricing Example

Example 1:

You create a Linux container group with a 1 vCPU, 1 GB configuration once daily during a month (30 days). The duration of each container group is 5 minutes (300 seconds).

Memory duration:

Number of container groups * memory duration (seconds) * GB * price per GB-s * number of days

1 container group * 300 seconds * 1 GB * $- per GB-s * 30 days = $-

vCPU duration:

Number of container groups * vCPU duration (seconds) * vCPU(s) * price per vCPU-s * number of days

1 container groups * 300 seconds * 1 vCPU * $- per vCPU-s * 30 days = $-

Total billing:

Memory duration (seconds) + vCPU duration (seconds) = total cost

$- + $- = $-

Example 2:

You create a Linux container group with a 1 vCPU, 2 GB configuration 50 times daily during a month (30 days). The container group duration is 150 seconds.

Memory duration:

Number of container groups * memory duration (seconds) * GB * price per GB-s * number of days

50 container groups * 150 seconds * 2 GB * $- per GB-s * 30 days = $-

vCPU duration:

Number of container groups * vCPU duration (seconds) * vCPU(s) * price per vCPU-s * number of days

50 container groups * 150 seconds * 1 vCPU * $- per vCPU-s * 30 days = $-

Total billing:

Memory duration (seconds) + vCPU duration (seconds) = total cost

$- + $- = $-

Support & SLA

  • Free billing and subscription management support
  • Flexible support plans starting at $29/month. Find a plan
  • The SLA for Container Instances is available.

Resources

Estimate your monthly costs for Azure services

Review Azure pricing frequently asked questions

Learn more about Container Instances

Review technical tutorials, videos, and more resources

Added to estimate. Press 'v' to view on calculator View on calculator

Learn and build with $200 in credit and keep going for free