Skip to content

Commit 6e0018b

Browse files
authored
Merge pull request #195240 from anthonychu/patch-7
[Container Apps] Clarify idle charges and revisions
2 parents a692d45 + 7b5a9dd commit 6e0018b

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

articles/container-apps/billing.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ ms.author: cshoe
1414
Azure Container Apps billing consists of two types of charges:
1515

1616
- **[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-
1817
- **[HTTP requests](#request-charges)**: The number of HTTP requests your container app receives.
1918

2019
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.
3029
3130
## Resource consumption charges
3231

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.
3633

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:
3835

36+
- **vCPU-seconds**: The number of vCPU cores allocated to your container app on a per-second basis.
3937
- **GiB-seconds**: The amount of memory allocated to your container app on a per-second basis.
4038

4139
The first 180,000 vCPU-seconds and 360,000 GiB-seconds in each subscription per calendar month are free.
4240

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.
4442

4543
### No replicas are running
4644

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.
4846

4947
### Minimum number of replicas are running
5048

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.
5250

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.
5553

5654
Usage charges are calculated individually for each replica. A replica is considered idle when *all* of the following conditions are true:
5755

56+
- The replica is running in a revision that is currently eligible for idle charges.
5857
- All of the containers in the replica have started and are running.
5958
- The replica isn't processing any HTTP requests.
6059
- 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
6463

6564
### More than the minimum number of replicas are running
6665

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.
7067

7168
## Request charges
7269

7370
In addition to resource consumption, Azure Container Apps also charges based on the number of HTTP requests received by your container app.
7471

7572
The first 2 million requests in each subscription per calendar month are free.
76-

0 commit comments

Comments
 (0)