Skip to main content
Community Hub

Self-deployed runtime architecture

TL;DR

Components, app model, run flow, and authentication of Self-Deployed Runtime, and how the architecture changes with the SDR Orchestrator.

Your AI can read this via Docs MCPcurl -fsSL "https://docs.atlan.com/install-docs-mcp" | bashConnect
Did you know?

SDR requires additional enablement and licensing. Contact your Atlan representative for details.

Self-Deployed Runtime enables secure metadata extraction from enterprise data sources and transfers this metadata to Atlan SaaS for processing and asset management. SDR operates entirely within your infrastructure while maintaining secure communication with Atlan's cloud services.

SDR sits next to your sources, secret store, and object storage, and every connection to Atlan starts from SDR:

Self-Deployed Runtime at a glance: SDR reads your sources, fetches credentials from your secret store, and stages data in your object storage, all inside your environment; it connects out to Atlan to poll for work, upload results, refresh tokens, and send events

The sections from Components to Authentication apply to both lifecycle modes. Lifecycle mode differences covers what changes when the SDR Orchestrator manages your apps.

Components​

Every connector app runs as one container with the same building blocks. Only the application code differs from one connector to the next:

Inside one connector app container: the app process holds the Temporal worker, the application code, and the token manager; a separate Dapr process reads secrets and sends events; the app code reads sources, stages data in your object storage, and uploads results to Atlan

ComponentWhere it runsWhat it does
Temporal workerApp processPolls Atlan for work over a persistent gRPC connection and runs each task.
Application codeApp processConnector-specific logic: connects to your source, extracts metadata, and maps it to Atlan assets.
Object storage accessApp processStages working files in your object storage and uploads results to Atlan over HTTPS.
HTTP serverApp processAnswers local health checks on port 8000, such as the Kubernetes readiness probe.
Token managerApp processGets a short-lived OAuth token from Atlan and refreshes it before it expires. See Authentication.
Dapr secret storeDapr processReads source credentials and SDR's own OAuth credentials from your secret store.
Dapr event bindingDapr processSends run events to Atlan, such as app start and workflow start and end.

Apps, sources, and workflows​

Self-Deployed Runtime organizes work with three elements:

  • App deployment: a containerized connector app, one per connector, such as the MySQL app or the Oracle app. Dapr runs inside it as the layer for secret stores, object storage, and calls to Atlan.
  • Data source: a specific system the app extracts from, such as one MySQL server or one Snowflake account.
  • Workflow: a configuration in Atlan that defines what to extract from a data source, with its filters, schedule, and parameters.

They scale from one level to the next:

One app deployment per connector, one app deployment connecting to many data sources, and one or more workflows per data source

  • One app per connector: you deploy the app for a connector once in an SDR, and it serves every data source of that kind.
  • One app, many data sources: an app deployment can reach several data sources, as long as your network routing and firewall rules let it reach each one.
  • Workflows per data source: each workflow is managed, scheduled, and monitored on its own. How much one workflow covers depends on the connector; for some, each database needs its own workflow. Check your connector's setup guide.

To install an app on an SDR, see Manage deployments › Install app.

How runs work​

A run moves metadata in two hops: first to your object storage, which acts as a staging area, and then to Atlan, where it ends up. Control traffic and metadata both travel over connections SDR opens; nothing connects in to your environment.

Self-Deployed Runtime job flow: Atlan triggers a job, the connector app receives it with its settings, Dapr fetches your secrets, the app extracts metadata from your sources, stages data in your object storage, and uploads final artifacts to Atlan to publish

  1. Register once: When you install SDR, it registers with your Atlan tenant using its OAuth 2.0 client credentials. See Authentication.
  2. Configure the workflow: In Atlan, a user sets up a workflow for a source: which SDR runs it, the source connection with a reference to its secret, the include and exclude filters, and the schedule.
  3. Receive the task: When the workflow runs, the app's Temporal worker, which is already polling Atlan over gRPC, picks up the task along with its configuration.
  4. Fetch the secret and extract: Dapr reads the source credentials from your secret store, and the app connects to the source over your network and runs its extraction logic. See SDR to your source.
  5. Stage data in your object storage: The app writes its working files, as JSON or Parquet, to the object storage you configured, such as AWS S3, Azure Blob Storage, Google Cloud Storage, or a local volume.
  6. Upload final artifacts to Atlan: When extraction finishes, the app uploads the final artifacts to your Atlan tenant's storage over HTTPS, authenticated with its OAuth token.
  7. Atlan processes and publishes: Atlan workflows process the artifacts and persist them in the Atlan metastore, where they become searchable, governed assets.

Self-Deployed Runtime doesn't require a stateful store in your infrastructure; job state is kept on your Atlan tenant. Staged files are needed only during the run that writes them. To clear them out, see Clean up object storage. For how metadata is encrypted in transit and at rest, see Security › Encryption.

Besides metadata, SDR sends its logs and metrics to Atlan for monitoring and support, and also writes them to your object store and container logs. To monitor it, see Monitoring SDR.

Authentication​

SDR authenticates in two directions with separate credentials: OAuth client credentials to Atlan, and source credentials from your secret store.

Self-Deployed Runtime applications use OAuth 2.0 client credentials flow for communicating with the Atlan SaaS deployment.

Which Client ID and Client Secret an app uses depends on its lifecycle mode; see Lifecycle mode differences.

The Client ID and Secret are used to generate short-lived tokens for Self-Deployed Runtime to Atlan SaaS interactions.

Token refresh

The authentication process follows a continuous token refresh cycle:

  1. Application uses Client ID and Client Secret to request a JWT token from Atlan tenant's authentication service
  2. The JWT token is valid for 15 minutes and is used for all Atlan service communications
  3. Before token expiration, application requests a new token automatically and uses it for further interactions.

Without a valid token, application can't communicate with the Atlan SaaS deployment.

What tokens enable

The authentication system provides these capabilities:

  • Application registration with Atlan SaaS tenant
  • Connecting to Atlan's hosted Temporal orchestrator service
  • Transferring application outcome (for example metadata) to Atlan

For credential scope, rotation, and storage, see Security › Credentials.

Lifecycle mode differences​

The building blocks of each app are the same in both modes. What changes is who controls SDR. In orchestrator mode, the SDR Orchestrator is a control plane inside your environment: it takes commands from Atlan and acts on your container platform for you. In single-app mode, nothing in your environment acts on its own; every change happens because your team runs it.

Orchestrator mode: the SDR Orchestrator receives install, upgrade, and self-update commands from Atlan and deploys and updates connector apps on your container platform; the apps share its OAuth client, run workflows from their own task queues, read your sources and secrets, stage data, and upload results

You deploy one component, the SDR Orchestrator, and it manages every connector app in SDR.

  • Control plane in your environment: the orchestrator holds its own connection to Atlan and waits for commands. When you install or upgrade an app in Atlan, the command reaches the orchestrator, which deploys the app on your platform. For the sequence, see Workflow lifecycle.
  • Acts on your platform: the orchestrator needs permission to create and update containers: the container socket on Docker or Podman, or a Role scoped to its namespace on Kubernetes. For how those permissions are scoped, see Design principles.
  • One OAuth client: the orchestrator shares its own Client ID and Client Secret with every app it deploys.
  • One configuration: you describe your infrastructure once. The orchestrator generates each app's configuration, including its Dapr component files.
  • Automatic updates: the orchestrator updates itself when Atlan detects a newer version, and upgrades apps when you start an upgrade in Atlan.
  • Watches the apps: the orchestrator checks that each app it deployed is running and still polling for work, and reports its status to Atlan.

For which mode to choose, see Decide deployment options. For how the orchestrator works on each platform, see SDR Orchestrator reference.

See also​

  • Decide deployment options: Lifecycle modes, platforms, and image sources.
  • Orchestrator reference: Permissions, Helm resources, environment variables, and workflow lifecycle for the SDR Orchestrator.
  • Security: Security architecture, authentication, encryption, and compliance controls for Self-Deployed Runtime.
  • Feature support: Compare Self-Deployed Runtime and Atlan-hosted execution modes.