Kestra vs. Astronomer : Airflow as a managed service on Astro vs. YAML flows you self-host or run on Kestra Cloud.

Astronomer runs Apache Airflow as a managed service called Astro on AWS, Google Cloud and Azure, with a private-cloud edition for your own environment. Kestra is an open-source orchestration platform for YAML flows that you self-host or run on Kestra Cloud.

Astronomer or Kestra?

Astronomer is the better fit if

  • You want to keep writing Airflow DAGs and hand Airflow's operations to a vendor, on AWS, Google Cloud or Azure.
  • You rely on Airflow tooling around the core, such as the Astro CLI for local runs and Cosmos for dbt projects.
  • Tasks must run in your own network while the vendor runs scheduling, which Astro offers as Remote Execution on dedicated clusters.

Choose Kestra if

  • Several teams need workflows, and you don't want each of them to learn Airflow and its Python APIs first.
  • You want to self-host without a commercial contract, with no limit on flows or executions.
  • Your workflows include infrastructure jobs and business processes alongside data pipelines.

How do Astronomer and Kestra compare, feature by feature?

Workflow definition Python DAGs, often with the TaskFlow API; YAML through the open-source DAG Factory YAML flows, with a no-code editor and AI Copilot
Product Managed Airflow as Astro, or Astro Private Cloud in your environment Open-source orchestrator, self-hosted or Enterprise, or Kestra Cloud
Pricing Billed per Deployment hour and worker hour; quoted on request Open source at no cost; Kestra Cloud by usage; Enterprise licensed per instance
Unit of isolation One Deployment per Airflow environment, grouped in Workspaces Namespaces in one instance, with RBAC and tenants
Where tasks run Astro, Celery or Kubernetes executor Workers, plus task runners for Kubernetes, AWS Batch, Google Batch and Azure Batch
Shipping code astro deploy builds an image; astro deploy --dags ships DAG files only Save flows through the UI, API, Git sync or Terraform
Local development Astro CLI starts Postgres, scheduler, webserver and triggerer containers One Docker Compose file starts Kestra and Postgres
dbt Cosmos renders a dbt project as Airflow tasks and task groups dbt CLI and dbt Cloud tasks run a project or a selection
License Astro is commercial; Airflow, Cosmos and DAG Factory are Apache 2.0 Apache 2.0

Which data teams chose Kestra over Airflow and Astronomer?

Media tech

4 orchestrators evaluated, Astronomer among them, before Riverside's analytics team picked Kestra Cloud.

Simply powerful yet simple enough.

Hernán Estrin, Analytics Engineering Lead, Riverside

Read the story

Technology

200 ML engineers run App Store and Apple Music ETL on Kestra after their team retired Airflow over its operational overhead.

I want to highlight their robustness, which is crucial at our scale. Few companies operate at this level, especially in AI/ML.

Senior Engineering Manager, Apple ML Team

Read the story

How are Astronomer and Kestra built?

Astro gives each Airflow environment its own Deployment on a cluster that Astronomer runs. Kestra puts every team's flows in namespaces on one instance.

  • Astronomer: Airflow Deployments on Astro

    An Astro Deployment is one Airflow environment in its own namespace on an Astro cluster, either standard and multi-tenant or dedicated. You push code to each Deployment with the Astro CLI, by hand or from CI/CD.

    • Each Deployment runs one version of Astro Runtime, Astronomer's Airflow distribution
    • Workspaces group Deployments and set who can reach them
    • Workers scale to zero when idle and are metered while tasks run
    • Remote Execution keeps task code, data and secrets in your network
  • Kestra: namespaces on one instance

    Flows are YAML documents grouped in namespaces, on an instance you host or on Kestra Cloud. Adding a flow adds no DAG parsing, because Kestra reads the YAML and runs no user code to load it.

    • Namespaces hold their own files, KV pairs and secrets
    • Executors and workers scale out as separate services
    • Worker groups route tasks to specific machines
    • Every change to a flow is kept as a revision

What does the same API load look like in each?

The same pipeline in both: pull exchange rates from an API in Python, load them into Postgres, retry each task twice, and run once a day.

Get started with Kestra
Astro project DAG dags/exchange_rates.py
1import requests2from pendulum import datetime34from airflow.providers.postgres.hooks.postgres import PostgresHook5from airflow.sdk import dag, task678@dag(9    start_date=datetime(2026, 1, 1),10    schedule="@daily",11    catchup=False,12    default_args={"retries": 2},13)14def exchange_rates():15    @task16    def extract():17        response = requests.get("https://api.example.com/rates", timeout=30)18        response.raise_for_status()19        return response.json()["rates"]2021    @task22    def load(rates: dict):23        hook = PostgresHook(postgres_conn_id="warehouse")24        hook.insert_rows(25            table="raw.exchange_rates",26            rows=list(rates.items()),27            target_fields=["currency", "rate"],28        )2930    load(extract())313233exchange_rates()
/ Flows / exchange_rates
1id: exchange_rates2namespace: company.finance34retry:5  type: constant6  interval: PT5M7  maxAttempts: 389tasks:10  - id: extract11    type: io.kestra.plugin.scripts.python.Script12    dependencies:13      - requests14    outputFiles:15      - rates.csv16    script: |17      import csv18      import requests1920      response = requests.get("https://api.example.com/rates", timeout=30)21      response.raise_for_status()22      with open("rates.csv", "w", newline="") as f:23          csv.writer(f).writerows(response.json()["rates"].items())2425  - id: load26    type: io.kestra.plugin.jdbc.postgresql.CopyIn27    url: "{{ secret('POSTGRES_JDBC_URL') }}"28    username: "{{ secret('POSTGRES_USER') }}"29    password: "{{ secret('POSTGRES_PASSWORD') }}"30    from: "{{ outputs.extract.outputFiles['rates.csv'] }}"31    table: raw.exchange_rates32    format: CSV3334triggers:35  - id: daily36    type: io.kestra.plugin.core.trigger.Schedule37    cron: "@daily"

What does it take to get Astronomer and Kestra running?

Both start on a laptop with containers.

Astronomer Local Airflow
$brew install astro$astro dev init --from-template learning-airflow$astro dev start

The Astro CLI quickstart starts four containers for development: Postgres, the scheduler, the webserver and the triggerer. Production runs on Astro or on Astro Private Cloud.

Kestra Database included
$curl -o docker-compose.yml https://raw.githubusercontent.com/kestra-io/kestra/develop/docker-compose.yml$docker compose up

One Compose file starts Kestra and its Postgres database. Open localhost:8080, pick a blueprint and run it. Production runs the same image on Kubernetes with the Kestra Helm chart.

How hard is it to move from Astronomer to Kestra?

Leaving Astronomer

An Astro project is standard Airflow on Astro Runtime, so DAGs, operators and TaskFlow functions are as tied to Airflow as they are anywhere else. Astro-specific pieces to replace include Deployment environment variables, connections, CI/CD jobs that call astro deploy, and dbt projects rendered by Cosmos.

Moving to Kestra

TaskFlow function bodies run in Python script tasks with their own dependencies, and values passed through XCom become task outputs. While DAGs move in waves, a Kestra flow can start the ones still on Astro through the Airflow REST API with a Deployment API token. The Airflow migration guide covers the mapping and the cutover.

How do Astronomer and Kestra compare on licensing, pricing and self-hosting?

Astro is a commercial service on top of open-source Airflow. Kestra's core is open source, with paid Cloud and Enterprise editions.

Astronomer

Astro is sold directly and through the AWS, Azure, Google Cloud and Snowflake marketplaces. Deployments are billed while they run and workers while tasks run. Pricing is quoted on request, including Astro Private Cloud, the self-hosted edition.

Kestra

Apache 2.0 and free to self-host, with no limits on flows or executions. Kestra Cloud is billed on usage, and Kestra Enterprise is licensed per instance. Both are on the pricing page.

Three ways to run Kestra

Moving off Astronomer? Your DAGs are Airflow DAGs. The Airflow migration guide maps DAGs, operators and schedules to Kestra and plans the move in waves.

Kestra Core

Open Source

Where most teams start, and where many experiment with a first production. Self-hosted and free, with no limits on flows or executions.

Get started

Kestra Cloud

Early Access

Managed by the people who build Kestra. No platform to run, pay for what you use.

Try Kestra Cloud
Read the Airflow migration guide

Questions from Astronomer teams

SOC 2 GDPR

SOC 2 Type 2 and GDPR, independently audited. The report is available on request.

Security overview