Skip to content

Commit db11efd

Browse files
Merge pull request #249118 from anthonychu/20230823-jobs-billing
[Container Apps] Update billing to include jobs
2 parents 521977c + 40ce297 commit db11efd

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

articles/container-apps/billing.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: craigshoemaker
66
ms.service: container-apps
77
ms.custom: event-tier1-build-2022
88
ms.topic: conceptual
9-
ms.date: 06/19/2023
9+
ms.date: 08/23/2023
1010
ms.author: cshoe
1111
---
1212

@@ -22,7 +22,7 @@ Billing in Azure Container Apps is based on your [plan type](plans.md).
2222
- Your plan selection determines billing calculations.
2323
- Different applications in an environment can use different plans.
2424

25-
For more information, see [Azure Container Apps Pricing](https://azure.microsoft.com/pricing/details/container-apps/).
25+
This article describes how to calculate the cost of running your container app. For pricing details in your account's currency, see [Azure Container Apps Pricing](https://azure.microsoft.com/pricing/details/container-apps/).
2626

2727
## Consumption plan
2828

@@ -37,15 +37,14 @@ The following resources are free during each calendar month, per subscription:
3737
- The first 360,000 GiB-seconds
3838
- The first 2 million HTTP requests
3939

40-
This article describes how to calculate the cost of running your container app. For pricing details in your account's currency, see [Azure Container Apps Pricing](https://azure.microsoft.com/pricing/details/container-apps/).
41-
40+
Free usage doesn't appear on your bill. You'll only be charged when your resource usage exceeds the monthly free grants.
4241

4342
> [!NOTE]
4443
> If you use Container Apps with [your own virtual network](networking.md#managed-resources) or your apps utilize other Azure resources, additional charges may apply.
4544
4645
### Resource consumption charges
4746

48-
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.
47+
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. [Azure Container Apps jobs](jobs.md) run replicas when job executions are triggered. You're charged for the amount of resources allocated to each replica while it's running.
4948

5049
There are 2 meters for resource consumption:
5150

@@ -54,15 +53,17 @@ There are 2 meters for resource consumption:
5453

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

56+
#### Container apps
57+
5758
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.
5859

59-
#### No replicas are running
60+
##### No replicas are running
6061

6162
When a revision is scaled to zero replicas, no resource consumption charges are incurred.
6263

63-
#### Minimum number of replicas are running
64+
##### Minimum number of replicas are running
6465

65-
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 be:
66+
Idle usage charges may apply when a container app's revision is running under a specific set of circumstances. To be eligible for idle charges, a revision must be:
6667

6768
- Configured with a [minimum replica count](scale-app.md) greater than zero
6869
- Scaled to the minimum replica count
@@ -77,24 +78,30 @@ Usage charges are calculated individually for each replica. A replica is conside
7778

7879
When a replica is idle, resource consumption charges are calculated at the reduced idle rates. When a replica isn't idle, the active rates apply.
7980

80-
#### More than the minimum number of replicas are running
81+
##### More than the minimum number of replicas are running
8182

8283
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.
8384

85+
#### Jobs
86+
87+
In the Consumption plan, resources consumed by Azure Container Apps jobs are charged the active rate. Idle charges don't apply to jobs because executions stop consuming resources once the job completes.
88+
8489
### Request charges
8590

8691
In addition to resource consumption, Azure Container Apps also charges based on the number of HTTP requests received by your container app. Only requests that come from outside a Container Apps environment are billable.
8792

8893
- The first 2 million requests in each subscription per calendar month are free.
8994
- [Health probe](./health-probes.md) requests aren't billable.
9095

96+
Request charges don't apply to Azure Container Apps jobs because they don't support ingress.
97+
9198
<a id="consumption-dedicated"></a>
9299

93100
## Dedicated plan
94101

95102
You're billed based on workload profile instances, not by individual applications.
96103

97-
Billing for apps running in the Dedicated plan is based on workload profile instances, not by individual applications. The charges are as follows:
104+
Billing for apps and jobs running in the Dedicated plan is based on workload profile instances, not by individual applications. The charges are as follows:
98105

99106
| Fixed management costs | Variable costs |
100107
|---|---|

0 commit comments

Comments
 (0)