Running OpenMetadata ingestion on MWAA, Cloud Composer or GitHub Actions

Running OpenMetadata ingestion from managed Airflow or CI pipelines is documented, but credentials, network paths, package versions and failure handling decide whether it holds up in production.

On this page

Running OpenMetadata ingestion on MWAA or Cloud Composer without losing control of credentials

A team that already runs Airflow or CI on AWS or GCP can run OpenMetadata ingestion there instead of inside the OpenMetadata deployment. OpenMetadata documents external ingestion on Airflow, Amazon MWAA, GCP Composer and GitHub Actions. Each workflow is described in a YAML configuration and executed with the ingestion package published on PyPI. This page covers how to set up those runners, where the credentials live, and which failure modes to plan for. An external runner fits when your data platform team already owns a scheduler, when source systems are reachable from that cloud account but not from the OpenMetadata network, or when you want ingestion runs to follow the same change control as your other pipelines. It fits less well when you have no existing scheduler, because you then take on a second Airflow estate just for metadata.

The main decision is who holds the secrets. Each YAML workflow needs connection details for the source and a token or credential for the OpenMetadata API, and it is tempting to paste them into the DAG or the workflow file. Keep the YAML free of literal secrets and resolve them at runtime from the managed secret store your cloud already provides, such as AWS Secrets Manager or Google Secret Manager, and from the CI secret store in GitHub Actions. Scope the ingestion identity to read-only access on each source and to the minimum OpenMetadata role needed to write metadata. Confirm with your platform team how MWAA and Composer pass environment variables and which execution role or service account the worker uses, because that identity is usually the one that can reach your data sources. Review who can edit DAG code, since anyone who can change a DAG can also change where a credential is sent.

When an external ingestion runner fits better than the built-in option

An external runner moves ingestion out of the OpenMetadata server and into a scheduler your team may already operate. The factors below decide whether that trade is worth it, and each one should be checked against your own Airflow or CI footprint, network layout and audit rules before you commit.

Existing Airflow or CI investment

If your organization already runs managed Airflow on MWAA or Cloud Composer, or has mature GitHub Actions pipelines, ingestion can reuse that scheduling, alerting and secret plumbing instead of creating a second system. Check whether those environments are on Airflow versions that are still supported, because an unsupported scheduler adds security risk to every metadata job it runs. Also confirm that your OpenMetadata ingestion images and packages match the versions your server expects.

External ingestion docs

Network reach to sources

External runners must reach each source database, warehouse and BI API, and they must also reach the OpenMetadata server. A managed Airflow or hosted CI runner often sits outside your private network, so it may need allowlisted egress, private endpoints or a peering path that your network team has to approve. If a source only accepts connections from inside a VPC or data center, an in-cluster runner may be the simpler option. Map every source and its network path before choosing the runner.

Ownership of scheduling

Decide who owns the ingestion schedule, the failure response and the upgrade cadence. A platform team that already owns Airflow can accept ingestion DAGs as one more workload, while a data team with no scheduler experience may struggle with retries, backfills and failed-run triage. GitHub Actions adds a different owner, the repository maintainers, so review rights and branch protection become part of ingestion operations. Name one accountable team in writing before go-live.

Audit needs for credential use

External runners hold source and OpenMetadata credentials outside the catalog, so auditors will ask who can read them, where they are stored and which runs used them. Check whether your secrets manager, the Airflow connection store or GitHub encrypted secrets can produce access logs that you can retain for your review period. Confirm the same audit answers for the built-in option, because the trade-off changes with where the secret lives. Write this check into the design review rather than leaving it to the first audit.

Credential rotation and scope

Each runner needs a dedicated OpenMetadata identity with the narrowest permissions that still allow ingestion, plus source accounts limited to metadata reads. Rotation becomes harder when the same secret is copied into several schedulers, so map every place a credential lives before you choose the runner. Ask your team how a rotated secret reaches all runners and how a revoked identity stops running jobs. This factor often decides the design more than the scheduler brand does.

Team skills and operating effort

Consider the skills that will be needed in the first months: Python packaging for the ingestion package, YAML workflow configuration, Airflow or CI debugging and secret handling. A team that already writes and debugs pipelines can run external ingestion with modest added effort, while a team without those skills should price in training or a partner for the initial build. Ask any partner for a written estimate of the ongoing support hours, since those recur after the first deployment.

Which external runner to choose: MWAA, Cloud Composer or GitHub Actions

This table compares Amazon MWAA, Cloud Composer and GitHub Actions for running OpenMetadata ingestion workflows on where the job runs, how schedules and retries work, how secrets reach the job, and the operating effort each option leaves with your team. Read each row against your own cloud account, your Airflow version and your credential policy. The main takeaway is that the managed Airflow services carry more operating work than GitHub Actions, and that the Airflow version in your managed service must be confirmed before you commit, because Airflow 2 reached end of life on April 22, 2026.

Decision pointMWAA or Cloud ComposerGitHub Actions
Where the ingestion job runsInside the managed Airflow environment's workers, in your AWS or Google Cloud projectOn GitHub-hosted or self-hosted runners that you configure to reach your sources and OpenMetadata server
Schedule and trigger modelAirflow DAGs hold the schedule, so the schedule lives in the same place as other pipelinesWorkflow triggers such as cron schedules or manual runs are defined in the repository
Retry handlingAirflow task retries and failure callbacks, configured per DAGJob-level retries depend on your workflow definition; confirm how failures alert your owners
How secrets reach the jobAirflow connections, variables or the cloud secrets backend, depending on your setupRepository or environment secrets injected into the workflow at run time
Airflow version to confirmCheck the managed service's Airflow version before choosing; Airflow 2 reached end of life on April 22, 2026 and gets no fixesNot applicable, but check the openmetadata-ingestion package version against your OpenMetadata server
Upgrade effortYou plan environment upgrades and DAG compatibility with Airflow 3 changesYou pin the ingestion package version in the workflow and update it with your server
Ongoing operating effortHigher: environment sizing, plugin and package management, and Airflow monitoringLower for scheduled runs, but self-hosted runners need patching and network access
Airflow licensing costApache Airflow is Apache-2.0 with no paid edition; managed service charges come from your cloud providerNo Airflow licence is involved; cost depends on your GitHub plan and runner usage

How a YAML workflow reaches your data sources

The run starts in a scheduler you operate, either MWAA, Cloud Composer or GitHub Actions, which launches the openmetadata-ingestion package with a YAML workflow config. The runner fetches source credentials from a secrets store at run time instead of carrying them in the config file. It then connects to the source systems and pushes the extracted metadata to the OpenMetadata server, which is the only component that writes to the catalog. Check each hand-off: the runner's identity should be able to read only the secrets it needs, the source account should be read-only, and the OpenMetadata token should be scoped to ingestion.

Trust boundaries between the runner, secrets store, sources and OpenMetadata server.

Setting up a YAML ingestion workflow from an external scheduler

This sequence takes a team from a confirmed OpenMetadata version to a scheduled ingestion run whose entities appear in the catalog. Each step ends with a check so that a failure is caught where it happens rather than at the first scheduled run.

  1. Confirm the OpenMetadata version and matching ingestion package

    The platform team records the OpenMetadata server version and installs the openmetadata-ingestion package from PyPI at the matching version in the scheduler's environment. The external ingestion documentation for the version in use is the reference for this pairing, so check it rather than assuming the latest package fits your server. Confirm the Python version the package requires is available in your managed Airflow or CI runner. Done means the server version and the package version are written down together and match the release line you are running.

  2. Create a service account and bot token in OpenMetadata

    An administrator creates a dedicated bot identity in OpenMetadata for ingestion and generates its token, so that scheduled runs do not depend on a person's login. Grant the bot only the permissions the target connector needs to write metadata. Check that the token authenticates by calling the server's API with it from the scheduler's network path. Done means a test call succeeds and the token is recorded only in the secrets store planned in the next step, not in source control.

  3. Write the YAML workflow configuration

    The data platform engineer writes a YAML workflow file that defines the source connector, its connection settings, the sink pointing to the OpenMetadata server, and the workflow's authentication block. Keep the source password and bot token as references to secret values rather than literal strings in the file. Validate the file's structure with the ingestion package before it leaves the engineer's workstation. Done means the file parses and the source and server host names are the ones your environment actually uses.

  4. Store credentials in the managed secrets service

    The platform team places the bot token and every source database or API credential in the secrets service that the scheduler already uses, such as AWS Secrets Manager or Google Secret Manager for managed Airflow, or the CI provider's encrypted secrets for GitHub Actions. Grant read access to the scheduler's execution role only, and confirm which secret names the YAML file references. Done means a test read from the scheduler's runtime returns the value, and no credential appears in the DAG code, the repository or the job logs.

  5. Deploy the DAG or workflow file

    The team places the workflow runner (an Airflow DAG that loads the YAML, or a GitHub Actions workflow that installs the package and runs the config) into the scheduler's delivery path. For managed Airflow and Cloud Composer, this is the environment's DAG bucket and the package requirement must be installed there. Review the schedule and the trigger settings before enabling the job. Done means the scheduler lists the DAG or workflow without import errors and shows the expected schedule.

  6. Run a test ingestion manually

    Trigger one run by hand against a non-production or narrowly scoped source so that connection, permission and secret errors surface before the schedule is enabled. Read the task logs from start to finish, not only the final status, because a run can report success while skipping objects it could not read. Done means the run finishes, the log names the expected schemas or tables, and any warnings have been explained or fixed.

  7. Verify entities appear in the catalog

    Open the OpenMetadata UI or query its API to confirm that the database service, schemas and tables from the test run exist with the expected names, owners and descriptions where the connector supplies them. Compare a sample of entities against the source system to catch missing objects caused by permission gaps. Done means the sample matches the source, and the team records the workflow's run history location and the owner who will receive failure notices.

How to handle credentials for external ingestion without hardcoding them

The credentials your ingestion workflow uses should never sit in the YAML file itself. An external ingestion run needs three kinds of secret: the password or key for each source system, the OpenMetadata token that lets the workflow write metadata, and, on managed Airflow or CI runners, the cloud identity that lets the job reach a secret store or the source network. Each of these belongs in a store that the scheduler or runner resolves at run time, so the YAML and the repository hold only references. Before you build, confirm the exact secret reference syntax and the supported secret backends for your chosen OpenMetadata version in the OpenMetadata external ingestion docs, because the format differs between release lines and between Airflow, MWAA, Cloud Composer and GitHub Actions.

Use the platform's own secret mechanism wherever it exists. On MWAA and Cloud Composer, that usually means the managed secret store plus an execution role or service account with read access to only the secrets that one DAG needs, rather than a broad key stored in Airflow variables. On GitHub Actions, use repository or environment secrets scoped to the workflow that runs ingestion, and grant the workflow's cloud identity through OpenID Connect where your cloud supports it, so no long-lived cloud key is stored at all. Keep one secret per source and one for the OpenMetadata token, so a single rotation or revocation does not break unrelated pipelines. Check the Apache Airflow production deployment guide for how your Airflow version handles secrets and access to connections.

Give each source account the narrowest read access that the connector needs, and document which tables, schemas and metadata views it can see. Confirm the permissions each connector requires in its documentation, since metadata and profiling scopes differ. Plan rotation as a routine task: set an owner and an interval for each secret, rotate the OpenMetadata token and source passwords together with a test ingestion run, and record the change. Ask whoever runs the ingestion platform to confirm, in writing, where secrets are stored, who can read them, and whether run logs can echo a resolved value, because failed runs often print configuration into logs that outlive the secret.

Security and operating risks of external ingestion runners

External ingestion runners sit outside your OpenMetadata server but still hold source credentials, reach your data systems and report back to your catalog. The risks below cluster around secrets, network reach, version alignment, failure visibility and shared permissions, and each card names a control to put in place before the first scheduled run.

Credentials leaking into logs or repos

Ingestion YAML files often hold database users, service principals or tokens that the runner needs to extract metadata. Committing these to a repository, echoing them in CI logs or leaving them in Airflow task output exposes every source they reach. Store them in the platform's secrets backend (AWS Secrets Manager, Google Secret Manager, or the GitHub Actions encrypted secrets store), reference them from the workflow rather than inlining them, and confirm that log masking and secret scanning are on for the repository. Rotate any credential that has ever appeared in a log.

External ingestion docs

Runner network egress to sources

A managed Airflow environment or a hosted CI runner connects from network ranges you may not control, which can mean opening database ports or source APIs to addresses outside your perimeter. Before go-live, list every source host the runner must reach, restrict those rules to the runner's documented egress IPs or a private connection, and use read-only accounts scoped to the schemas being cataloged. Ask the platform team which egress addresses the managed service uses, and whether they change.

Package and image drift

The ingestion package installed on the runner must match the OpenMetadata server version, or workflows can fail or write metadata in shapes the server does not expect. Pin the openmetadata-ingestion package version in requirements files, record it alongside the server version in change control, and update both in the same change window. For 2.0, check the breaking-change list before upgrading, since custom ingestion images must be rebuilt for Python 3.12.

2.0 release notes

Unmonitored failed runs

A scheduled ingestion that fails at night can leave the catalog stale for days, and nobody notices if the only signal is a red mark in the Airflow UI. Route failure notifications to a named data platform owner, confirm the notification path works with a deliberately failed test run, and track the last successful ingestion time per source in the OpenMetadata catalog. Decide who acts on a failure and within what window before the first production schedule is enabled.

Shared Airflow permissions

When many teams share one managed Airflow environment, a DAG written for OpenMetadata can read connections, variables and secrets that belong to other pipelines. Airflow 3 changed how its auth manager governs access, so review which roles can view connections, edit DAGs and read variables. Give the ingestion DAGs their own scoped roles and secrets prefix, and keep the OpenMetadata service account limited to the metadata tasks it performs.

Airflow auth manager docs

Questions teams ask before running ingestion outside OpenMetadata

What drives the cost of running OpenMetadata ingestion from MWAA, Cloud Composer or GitHub Actions?

The cost comes from three places: the scheduler environment you already pay for or must add, the engineering time to build and test the DAGs or workflow files, and the ongoing effort to keep them current. The number of connectors, the size of each source, how often runs happen and how many environments you maintain (for example, development and production) all move the total. Ask any partner for a quote that separates one-time build work from recurring upkeep, and that states which managed service tiers and runner sizes it assumes. DeployOpen does not publish prices; a quote follows from a written scope.

How long does it take to get the first successful ingestion run?

No fixed duration applies to every environment, so treat any single number as a claim to verify. The first run depends on whether the scheduler environment already exists, whether network paths to the source systems are open, whether database and service accounts with read permissions are ready, and whether the team has agreed on how credentials are stored. A simple single-source workflow in an environment that is already running can be tested quickly; a multi-source setup with new network rules and secrets integration takes longer. Ask for a written plan with a first milestone that is one source, one schedule and one visible result in the catalog.

What does our team need to provide for an external ingestion setup?

Most of the work depends on access and decisions your team controls:

  • A running OpenMetadata server and a service account with permission to call its APIs
  • Read-only database or platform accounts for each source, with the permissions each connector documents
  • Network routes from the scheduler (MWAA, Cloud Composer or the GitHub Actions runner) to the sources and to OpenMetadata
  • A named secrets store and the rule for who can change credentials
  • A decision on who owns the DAGs or workflow files and who approves changes

The OpenMetadata external ingestion documentation describes the YAML configuration and package setup. Confirm these items before scoping so that delays do not surface mid-build.

Can our own data platform team run external ingestion without a partner?

Yes, if the team already operates Airflow or CI pipelines and can manage Python packages, YAML configurations and secrets. The OpenMetadata documentation covers the setup for each option, so an experienced team can start in-house. Consider whether you have people who will own the workflows after go-live, handle version changes and respond when a run fails. Many teams use a partner for the first build and then keep the workflows in their own repository, or retain a partner for upgrades and testing. Either path should be decided before the build starts.

What changes for ingestion when we upgrade to OpenMetadata 2.0?

Several items move, and they affect external runners directly:

  • Ingestion images move to Python 3.12 and Apache Airflow 3.3.0
  • Custom ingestion images must be rebuilt for Python 3.12
  • Embedding credentials move into an llmConfiguration block
  • The Databricks connection uses a new auth format
  • Great Expectations must be migrated to 1.3 before the upgrade

The OpenMetadata 2.0 release notes list these breaking changes. Inventory every DAG, workflow file and custom image that references OpenMetadata before you plan the upgrade window.

Which Airflow version should we run for OpenMetadata ingestion?

Choose a version that is still receiving fixes. Airflow 3 was first released on April 22, 2025, and its current patch release is 3.3.2. Airflow 2 reached end of life on April 22, 2026, so it no longer gets fixes. Managed services may lag behind upstream releases, so confirm which Airflow version your MWAA or Cloud Composer environment runs and whether it can be upgraded. The OpenMetadata 2.0 ingestion images use Airflow 3.3.0, so align your environment with that line and check the Airflow upgrade guide before moving DAGs across major versions.

How should we store database credentials used by external ingestion?

Keep credentials out of YAML files and repositories. Store them in the secrets service that your managed Airflow or CI platform provides, and reference them at runtime. Give each source its own read-only account, rotate it on a schedule, and log which pipeline uses which account. Restrict who can read the secrets and who can edit the DAG or workflow files, since those people can usually reach the sources. Confirm the exact secret reference format with the OpenMetadata external ingestion documentation and with your platform's own documentation.

What should a DeployOpen scope include for this work?

DeployOpen scopes this work as a fixed-scope engagement with scope, deliverables and timelines agreed in writing before work starts. A typical written scope names the scheduler platform, the list of sources and their connectors, the credential approach, the repository and review process, the upgrade plan for OpenMetadata 2.0 items, and the handover to your team. Ongoing upgrades, monitoring and continuous testing are available as retainers. Ask for the scope in writing and check that it lists what is excluded, such as changes to source systems or new connectors.

Limits to confirm in your environment before go-live

External ingestion depends on four things outside the OpenMetadata server: the connectors each runner can reach, the managed Airflow or CI version, the network path to your sources and server, and the package version. Confirm each one in your own environment before you schedule the first production run.

Connector support per runner

Not every connector behaves the same way from every external runner. A connector may need extra Python packages, system libraries or drivers that your managed Airflow environment or CI image does not include. List the connectors you plan to run, then confirm with OpenMetadata's external ingestion documentation and a test run in your own runner which ones install and extract cleanly. Record any connector that needs a custom image.

External ingestion docs

Managed Airflow version and Python

Managed Airflow services set their own Airflow and Python versions, and those can differ from the versions OpenMetadata ingestion images use. Confirm which Airflow release your managed service runs, whether it is still in a supported window, and which Python version it provides. Airflow 2 reached end of life on April 22, 2026, so a managed environment still on Airflow 2 needs a planned move before go-live.

Airflow version support

Network paths and private endpoints

Managed runners sit in the cloud provider's network, while sources and the OpenMetadata server often sit in private subnets. Map every path the runner must use: the source database or API, the OpenMetadata server endpoint, and any secrets store. Confirm private endpoints, VPC or VNet peering, security group or firewall rules and DNS resolution from inside the runner, not from your laptop. GitHub Actions runners need outbound reach to the same endpoints unless you use self-hosted runners inside your network.

Package version matches the server

The openmetadata-ingestion package on PyPI should match the OpenMetadata server release you run. A mismatch can cause workflow config errors or failed API calls. Pin the package to the same minor line as your server, record the pinned version in your dependency file, and repeat this check on every server upgrade. Confirm the exact pairing in the release notes before you upgrade either side.

2.0 release notes

Scheduler and executor capacity

Managed Airflow environments often limit worker size, concurrency and run duration, and a large metadata crawl can exceed them. Ask your provider for the worker class, the number of concurrent tasks and any timeout that applies to a DAG run. Then test your largest source to see whether the run completes inside those limits or needs to be split across workflows.

Credential handling and rotation

Confirm where the database passwords, service tokens and OpenMetadata JWT tokens live, and who can read them. Check that the runner can fetch them from your secrets manager at run time, that CI logs do not print workflow configs, and that rotation does not break scheduled runs. Ask the security team to review the access policy for each runner identity before the first scheduled run.

How a DeployOpen scope for external ingestion is agreed

Most DeployOpen engagements are fixed-scope, so the written scope comes before any work starts. For external ingestion, that document should name each pipeline path in use (MWAA, Cloud Composer or GitHub Actions), the OpenMetadata services and connectors each workflow will run against, the openmetadata-ingestion package version pinned for the runner, and the Airflow or CI version in use. It should also state the deliverables: the YAML workflow configurations, the DAG or workflow files, the secret references, a run schedule, and a short runbook for failed runs. Ask for these items to be listed individually, because a quote that says only "ingestion setup" leaves out the parts that usually take the most effort.

The written scope should also record what the client provides. Expect to supply access to the OpenMetadata server and its API, a service account with the permissions each connector needs in the source systems, the Airflow environment or CI runner with network routes to both the sources and the OpenMetadata endpoint, and a named owner who can approve the credential approach. Confirm with your own security team which secrets store the workflows may read from, and confirm with the managed service vendor which Airflow version is supported in your environment before the scope is signed. The OpenMetadata external ingestion documentation is the reference the written scope should be checked against.

Changes after signing should go through the same written route. If a new source is added, a version moves, or a different runner is chosen, the scope and any timeline change should be agreed in writing before the work is altered. Ask for the acceptance checks to be written into the scope as well, such as a successful test run per workflow, a confirmed lineage or metadata result in the catalog, and a documented handover of configuration and credentials. Quotes should be compared on these written items, not on a headline figure.

How DeployOpen runs OpenMetadata ingestion work

DeployOpen plans and runs OpenMetadata ingestion from the managed Airflow, Cloud Composer or GitHub Actions setup your team chooses, inside your own cloud accounts. We scope the workflows, build the YAML configurations and credential handling, then document and support them so your team can operate them after handover.

How we scope

  • Written scope lists each source system, connector and workflow that will run from your chosen scheduler.
  • We confirm which Airflow or runner versions, Python version and network paths your environment provides before build starts.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work begins.

How we build

  • We write the workflow YAML and configure the openmetadata-ingestion package for each source and target.
  • Credentials are stored in your secrets manager and injected at runtime, never placed in DAG files or repository code.
  • Each workflow is tested against a non-production OpenMetadata instance before it is scheduled against production.

How we hand over

  • You receive the workflow configurations, pipeline schedules, secret references and a runbook for failed runs.
  • Handover includes a walkthrough of how to rotate credentials and where to see ingestion logs in each scheduler.
  • We document the version pins and any custom ingestion image changes so your team can plan future upgrades.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Retainers can cover Airflow version changes, package upgrades and reviews of new connectors your teams add.
  • Ask for a quote that separates one-time build work from recurring support and the scope each covers.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.