Container Instances pricing

Azure Container Instances provides per second billing based on the number of instances you create, the memory and cores selected for the instances, and the number of seconds those instances are run.

Pricing Details

Meter Price
Create container instance $- per Instance created
Container instance duration Memory: $- per GB-s
Cores: $- per Core-s

Create container instance

Container instances are billed based on the total number of instances created each month. You are charged $- for each instance successfully created.

Container instance duration

Container instance duration is calculated from the time your container begins executing until it terminates. The price depends on the number of cores and GBs of memory allocated to the instance. You are charged $- for every GB and core used. For each container instance, you can allocate a minimum of 1 GB, up to 3.5 GBs of memory to each core. You can allocate up to 4 cores to each instance you deploy.

Pricing Example

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

Create requests:

Create requests * $-

30 create requests * $- = $-

Memory duration:

Create requests * memory duration (seconds) * memory (GB) * price per GB-s

30 create requests * 300 seconds * 1 GB * $- per GB-s = $-

Core duration:

Create requests * core duration (seconds) * core(s) * price per core-s

30 create requests * 300 seconds * 1 core * $- per core-s = $-

Total billing:

Create requests + memory duration + core duration = total cost

$- + $- + $- = $-

You create a container instance with a 1 core, 2 GB configuration 50 times daily during a month (30 days). The container duration of each instance is 2 minutes and 30 seconds.

Create requests:

Create requests * $-

50 create requests per day * 30 days * $- = $-

Memory duration:

Create requests * memory duration (seconds) * memory (GB) * price per GB-s

1500 create requests * 150 seconds * 2 GB * $- per GB-s = $-

Core duration:

Create requests * core duration (seconds) * core(s) * price per core-s

1500 create requests * 150 seconds * 1 core * $- per core-s = $-

Total billing:

Create requests + memory duration + core duration = total cost

$- + $- + $- = $-

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

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

Free account