Skip to content

Commit e728fef

Browse files
author
ecfan
committed
Calc work
1 parent c87a715 commit e728fef

File tree

2 files changed

+40
-8
lines changed

2 files changed

+40
-8
lines changed

articles/logic-apps/create-standard-workflows-hybrid-deployment.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,11 @@ After you finish building your workflow, you can deploy your logic app to your A
238238
239239
---
240240

241-
<a name="change-cpu-memory"></a>
241+
<a name="change-vcpu-memory"></a>
242242

243-
## Change CPU and memory allocation in the Azure portal
243+
## Change vCPU and memory allocation in the Azure portal
244244

245-
To edit the CPU and memory settings for your Standard logic app resource, follow these steps:
245+
You can edit the vCPU and memory settings for your Standard logic app resource. These changes affect the [billing charge](set-up-standard-workflows-hybrid-deployment-requirements.md#billing) for your Standard logic app workloads.
246246

247247
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app resource.
248248

@@ -254,7 +254,7 @@ To edit the CPU and memory settings for your Standard logic app resource, follow
254254

255255
| Property | Value | Description |
256256
|----------|-------|-------------|
257-
| **CPU cores** | - Default: 1 <br>- Minimum: 0.25 <br>- Maximum: 2 | Determines the CPU cores to assign to your container instance. You can increase this value by 0.25 cores up to the maximum value. The total number across all container instances for this logic app is limited to 2 cores. |
257+
| **CPU cores** | - Default: 1 <br>- Minimum: 0.25 <br>- Maximum: 2 | Determines the vCPU cores to assign to your container instance. You can increase this value by 0.25 cores up to the maximum value. The total number across all container instances for this logic app is limited to 2 cores. |
258258
| **Memory** | - Default: 2 <br>- Minimum: 0.1 <br>- Maximum: 4 | Determines the memory capacity in gibibytes (Gi) to assign to your container instance. You can increase this value by 0.1 Gi up to the maximum value. The total capacity across all container instances for this logic app is limited to 4 Gi. |
259259

260260
1. When you finish, select **Save**.

articles/logic-apps/set-up-standard-workflows-hybrid-deployment-requirements.md

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,49 @@ For more information, see the following documentation:
4545

4646
This how-to guide shows how to set up the necessary on-premises resources in your infrastructure so that you can create, deploy, and host a Standard logic app workflow using the hybrid deployment model.
4747

48+
<a name="billing"></a>
49+
4850
## How billing works
4951

50-
With the hybrid option, you're responsible for the following items:
52+
The hybrid option uses a billing model where you pay only for what you need and can scale resources for dynamic workloads without having to buy for peak usage.
53+
54+
You're responsible for the following items:
5155

5256
- Your Azure Arc-enabled Kubernetes infrastructure
57+
5358
- Your SQL Server license
54-
- A billing charge of $0.18 USD per vCPU/hour to support Standard logic app workloads
5559

56-
In this billing model, you pay only for what you need and scale resources for dynamic workloads without having to buy for peak usage. The CPU allocation that you select at logic app creation affects your billing rate.
60+
- vCPU usage billed at a rate of $0.18 USD per hour to support Standard logic app workloads
61+
62+
For more information, see [Calculation for vCPU usage](#vcpu-usage-calculation).
63+
64+
- Any [managed (shared) connector operations](../connectors/managed.md), such as Microsoft Teams or Microsoft Office 365, follow [Standard pricing](https://azure.microsoft.com/pricing/details/logic-apps/#pricing).
65+
66+
<a name="vcpu-usage-calculation"></a>
67+
68+
### vCPU usage calculation
69+
70+
Your Standard logic app resource uses vCPU and memory allocation and [replica scaling] that affects your billing charge.
71+
72+
(create-standard-workflows-hybrid-deployment.md#change-vcpu-and-memory-allocation-in-the-azure-portal)
73+
74+
By default, your Standard logic app resource uses a specific number of vCPU cores. You can change this number of cores up to the maximum.
75+
Each new instance of a logic app resource revision or version has a maximum of two vCPU cores. By default, each logic app resource uses one vCPU core out of this maximum
76+
77+
of the maximum two vCPU cores for each [replica](create-standard-workflows-hybrid-deployment.md#change-replica-scaling-in-azure-portal). You can increase this usage to the maximum two vCPU cores.
78+
79+
Based on the allocated value multiplied by the number of replicas, the VCPU usage of the app will be calculated.
80+
81+
The vCPU usage per hour is calculated based on the following formula:
82+
83+
(# of allocated vCPU cores) * (# of replicas) * (billing rate) * (# of hours)
84+
85+
For example, if you change the replica scaling, the following table shows some example billed calculations:
5786

58-
For workflows that use Azure-hosted connector operations, such as Microsoft Teams or Microsoft Office 365, see [existing Standard (single-tenant) pricing](https://azure.microsoft.com/pricing/details/logic-apps/#pricing), which applies to these operation executions.
87+
| # of vCPUs | # of replicas | vCPU usage | Billing rate | Billing charge per hour |
88+
|------------|---------------|------------|--------------|-------------------------|
89+
| 0.5 | 2 | 1 | $0.18 | $0.18 |
90+
| 0.5 | 1 | 0.5 | $0.18 | $0.09 |
5991

6092
## Limitations
6193

0 commit comments

Comments
 (0)