Klevr Product Documentation logo

Consumption vs. Standard Mode

How Consumption, Standard and Mixed Mode deployments differ in the Azure resources deployed and in how stages are defined.

Integration Hub has two deployment modes, which set the SKUs of its two main resources:

  • API Management: Consumption, or Developer/Basic.
  • Logic Apps: Consumption or Standard.

The mode changes which Azure resources are deployed, what they cost, and what they can do. It also changes how you name the source of a stage. See Architecture Overview for a diagram of each Logic App mode.

Choosing the Mode

Set the mode in the domains.json file. Use deployMode to set both resources together, or apiManagementDeployMode and logicAppDeployMode to set them separately (a "mixed mode" deployment).

SettingAPI Management SKULogic Apps SKU
deployMode: ConsumptionConsumptionConsumption
deployMode: StandardDeveloper (non-production) or Basic (production)Standard
apiManagementDeployMode: ConsumptionConsumptionSet by logicAppDeployMode
apiManagementDeployMode: BasicDeveloper (non-production) or Basic (production)Set by logicAppDeployMode
logicAppDeployMode: Consumption or StandardSet by apiManagementDeployModeConsumption or Standard

The Developer and Basic SKUs have the same functions. The Developer SKU costs less, but it has no service level agreement (SLA) and is not suitable for production workloads. So Integration Hub uses the Developer SKU in non-production environments only, and the Basic SKU in production.

API Management SKU Differences

FeatureConsumption SKUDeveloper or Basic SKU
Fixed outbound IP addressNo. The APIs that Integration Hub calls cannot allowlist it.Yes. The APIs that Integration Hub calls can allowlist its IP address.
Developer PortalNo.Yes. Third-party developers can read the documentation of the inbound APIs there. You do not have to use it.

The fixed IP address applies to outbound API calls, because every outbound API stage sends its request through API Management.

Logic Apps SKU Differences

FeatureConsumption SKUStandard SKU
Logic App resourcesOne Consumption Logic App for each stage.One Logic App (Standard) site for each integration, with one workflow for each stage.
ComputeAzure's shared, multi-customer compute. You pay for each action run.The business unit's Logic App (Standard) plan, shared by every domain. You pay for the plan.
Fixed IP address for non-API connectionsNot available.Available with the NAT gateway option. A site uses it when one of its stages sets enableVnet to true.
LoggingEach Logic App sends its workflow runtime logs and metrics to the domain Log Analytics workspace.The sites send telemetry to the domain Application Insights. A data collection rule on the domain Log Analytics workspace filters out logs that are not needed, to reduce cost.
source naming of stagesIncludes the integration name. See Consumption Logic Apps.Does not include the integration name. See Standard Logic Apps.

Azure cannot attach a data collection rule to a Log Analytics workspace until the workspace has the tables for the rule. Those tables are created when Logic Apps first write logs. So for a new domain with Standard Logic Apps, the data collection rule takes effect only after at least two deployments. Deploy, run an integration, and then deploy again.

Pub/Sub Source Naming

The source parameter of a stage subscribes it to the event of an earlier stage. The format of the event name depends on the Logic Apps SKU.

Consumption Logic Apps

The event name has this format:

  • {integration-name}-{stage-type-code}-{stage-name}

The {integration-name} value (taken from the name of the directory in which the stage files are located) is required in the event name for Consumption mode deployments.

Please note:

  • The {stage-name} component of the event name may be constructed using both the stage's name and operation values, when supported. See the API Interfaces Name section for further details.
  • Some stages support emitting a payload in the event of an error occurring. These stages will append -error to the end of the event name in this case.
  • The Routing Source stage will append a custom -{value} to the end of the event name for each possible routing decision, to allow each possible route to be separately subscribed to.
  • For the MS SQL Server Query stage, there is an additional component in the event name:
    • If the stage is executing a query, then the event name is: {integration-name}-qr-mssql-query-{stage-name}
    • If the stage is executing a stored procedure, then the event name is: {integration-name}-qr-mssql-storedprocedure-{stage-name}

Standard Logic Apps

The event name has this format:

  • {stage-type-code}-{stage-name}

Please note:

  • The {stage-name} component of the event name may be constructed using both the stage's name and operation values, when supported. See the API Interfaces Name section for further details.
  • Some stages support emitting a payload in the event of an error occurring. These stages will append -error to the end of the event name in this case.
  • The Routing Source stage will append a custom -{value} to the end of the event name for each possible routing decision, to allow each possible route to be separately subscribed to.
  • For the MS SQL Server Query stage, there is an additional component in the event name:
    • If the stage is executing a query, then the event name is: qr-mssql-query-{stage-name}
    • If the stage is executing a stored procedure, then the event name is: qr-mssql-storedprocedure-{stage-name}

Last updated on