Integration runtime in Azure Data Factory, explained

What an integration runtime is in Azure Data Factory, the three kinds (Azure, self-hosted and Azure-SSIS), and how to pick one for each source.

Short answer: an integration runtime is the compute that Azure Data Factory uses to move and transform data. There are three kinds: the Azure integration runtime for sources it can reach over the internet or a managed virtual network, the self-hosted one you install on a machine inside your network for sources it cannot reach, and Azure-SSIS for running existing SSIS packages.

A pipeline describes the work; the integration runtime does it. Every linked service names one, so the choice decides where your data travels and whether Data Factory can see the source at all.

Which integration runtime does what?

Azure
  • managed by Microsoft
  • cloud sources and services
  • optional managed virtual network
Self-hosted
  • you install it on Windows
  • on-premises and private-network sources
Azure-SSISa managed cluster that runs SSIS packages you already have
Three kinds, one per kind of source

The Azure integration runtime is the default (AutoResolveIntegrationRuntime) and needs no setup. Turn on its managed virtual network when the sources only accept private endpoints.

The self-hosted integration runtime is a Windows service on a machine that can see the source: a server in the data centre, or a VM in the same virtual network as a private database. It only makes outbound connections over HTTPS (port 443), so no firewall port has to open inward.

Azure-SSIS exists so a team can lift SSIS packages into the cloud without rewriting them. New work rarely starts there.

How does a copy through a self-hosted runtime travel?

  1. 1
    SQL Serveron-premises, behind the firewall
  2. 2
    Self-hosted runtimereads the rows on a machine inside
  3. 3
    HTTPS outport 443, no inbound port
  4. 4
    Data Lakethe files land in Azure
An on-premises table copied into the lake

The linked service points at the runtime with connectVia:

{
  "name": "OnPremSql",
  "properties": {
    "type": "SqlServer",
    "typeProperties": { "connectionString": "Server=sql01;Database=Sales;Integrated Security=True" },
    "connectVia": { "referenceName": "SelfHostedIR", "type": "IntegrationRuntimeReference" }
  }
}

What goes wrong?

  • One machine, one point of failure. A self-hosted runtime can have up to four nodes. Install it on a second machine and register it with the same key, so a reboot does not stop the nightly load.
  • The machine is too small. Copies run on its CPU and memory. Watch both in the runtime's monitoring page before blaming the source.
  • A runtime per factory. One self-hosted runtime can be shared with other data factories; you do not need a machine per factory.
  • Microsoft Fabric is different. Fabric pipelines reach on-premises sources through the on-premises data gateway, not a self-hosted integration runtime.

Where can you check this?

Where do you start?

The open course Your first metadata-driven pipeline builds a pipeline on the default Azure integration runtime; point its linked service at a self-hosted one and the same pipeline reads from inside your network. The pattern behind it is one pipeline for every table.

Keep reading

More from the blog.

Every post

Next

Building this? Say hello.

A question about this post, a pattern you would build differently, or the next thing you want written out: Behnia reads every message.