You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-apps/billing.md
+10-14Lines changed: 10 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,6 @@ ms.author: cshoe
14
14
Azure Container Apps billing consists of two types of charges:
15
15
16
16
-**[Resource consumption](#resource-consumption-charges)**: The amount of resources allocated to your container app on a per-second basis, billed in vCPU-seconds and GiB-seconds.
17
-
18
17
-**[HTTP requests](#request-charges)**: The number of HTTP requests your container app receives.
19
18
20
19
The following resources are free during each calendar month, per subscription:
@@ -30,31 +29,31 @@ This article describes how to calculate the cost of running your container app.
30
29
31
30
## Resource consumption charges
32
31
33
-
Azure Container Apps runs replicas of your application based on the [scaling rules and replica count limits](scale-app.md) you configure. You're charged for the amount of resources allocated to each replica while it's running.
34
-
35
-
There are two meters for resource consumption:
32
+
Azure Container Apps runs replicas of your application based on the [scaling rules and replica count limits](scale-app.md) you configure for each revision. You're charged for the amount of resources allocated to each replica while it's running.
36
33
37
-
-**vCPU-seconds**: The amount of vCPU cores allocated to your container app on a per-second basis.
34
+
There are 2 meters for resource consumption:
38
35
36
+
-**vCPU-seconds**: The number of vCPU cores allocated to your container app on a per-second basis.
39
37
-**GiB-seconds**: The amount of memory allocated to your container app on a per-second basis.
40
38
41
39
The first 180,000 vCPU-seconds and 360,000 GiB-seconds in each subscription per calendar month are free.
42
40
43
-
The rate you pay for resource consumption depends on the state of your container app and replicas. By default, replicas are charged at an *active* rate. However, in certain conditions, a replica can enter an *idle* state. While in an *idle* state, resources are billed at a reduced rate.
41
+
The rate you pay for resource consumption depends on the state of your container app's revisions and replicas. By default, replicas are charged at an *active* rate. However, in certain conditions, a replica can enter an *idle* state. While in an *idle* state, resources are billed at a reduced rate.
44
42
45
43
### No replicas are running
46
44
47
-
When your container app is scaled down to zero replicas, no resource consumption charges are incurred.
45
+
When a revision is scaled to zero replicas, no resource consumption charges are incurred.
48
46
49
47
### Minimum number of replicas are running
50
48
51
-
Idle usage charges are applied when your replicas are running under a specific set of circumstances. The criteria for idle charges include:
49
+
Idle usage charges may apply when a revision is running under a specific set of circumstances. To be eligible for idle charges, a revision must meet the following criteria.
52
50
53
-
-When your container app<sup>1</sup> is configured with a [minimum replica count](scale-app.md)of at least one.
54
-
-The app is scaled down to the minimum replica count.
51
+
-It is configured with a [minimum replica count](scale-app.md)greater than zero.
52
+
-It is scaled to the minimum replica count.
55
53
56
54
Usage charges are calculated individually for each replica. A replica is considered idle when *all* of the following conditions are true:
57
55
56
+
- The replica is running in a revision that is currently eligible for idle charges.
58
57
- All of the containers in the replica have started and are running.
59
58
- The replica isn't processing any HTTP requests.
60
59
- The replica is using less than 0.01 vCPU cores.
@@ -64,13 +63,10 @@ When a replica is idle, resource consumption charges are calculated at the reduc
64
63
65
64
### More than the minimum number of replicas are running
66
65
67
-
When your container app<sup>1</sup> is scaled above the [minimum replica count](scale-app.md), all running replicas are charged for resource consumption at the active rate.
68
-
69
-
<sup>1</sup> For container apps in multiple revision mode, charges are based on the current replica count in a revision relative to its configured minimum replica count.
66
+
When a revision is scaled above the [minimum replica count](scale-app.md), all of its running replicas are charged for resource consumption at the active rate.
70
67
71
68
## Request charges
72
69
73
70
In addition to resource consumption, Azure Container Apps also charges based on the number of HTTP requests received by your container app.
74
71
75
72
The first 2 million requests in each subscription per calendar month are free.
0 commit comments