Apache Airflow vs Prefect vs Kestra: which fits your team
Apache Airflow fits a data team that writes Python DAG pipelines and will operate the platform itself. Prefect fits a Python-first team that wants a lighter self-hosted server, or the managed Prefect Cloud when it needs paid RBAC and SSO. Kestra fits a team that wants declarative YAML flows, event triggers and scripts in any language, with SSO, SCIM, RBAC and audit logs in the paid Enterprise Edition. Airflow is Apache-2.0 licensed and has no paid edition from the project itself, so its cost is infrastructure plus the people who run it. A working installation needs a scheduler, a DAG processor, an API server and a metadata database, typically PostgreSQL or MySQL, so the team that adopts it should own each of those components.
Prefect is also Apache-2.0 licensed and requires Python 3.11 or later. Its self-hosted server bundles an API, a UI and a database that records flow runs, logs, deployments and automations. It uses SQLite by default, and multi-server deployments need PostgreSQL 14.9 or later, so plan for that before production. The Prefect server documentation places RBAC, audit logs and SSO in Prefect Cloud, so confirm that a self-hosted server meets your identity requirements before you commit. The Prefect pricing page lists the Team plan at $100 per user per month with SSO, and Enterprise at custom pricing with object-level RBAC. Kestra's open-source edition is fully functional for production but offers basic authentication only and no audit logging, so plan for the Enterprise Edition if assessors will test SSO or audit trails.
Start with three checks. First, list who will write workflows. Python engineers will be productive in Airflow or Prefect, while Kestra lets operators and platform teams edit the same flows in YAML or a no-code editor. Second, list the identity and audit controls your assessors will test, and map each one to the edition or Cloud plan that provides it. Third, target Airflow 3, first released April 22, 2025 and currently at 3.3.2, because Airflow 2 reached end of life on April 22, 2026 and gets no fixes. Check the Airflow supported versions page before you pin a version.
Which platform fits which team and scenario
This table matches each team profile to the platform that fits it best and states the condition that must hold. Read each row as a decision test: if the condition describes your team, check the limit in the Why column before you shortlist. No single platform wins every row, and the paid tiers of Prefect and Kestra change the answer for regulated teams.
| Scenario | Best fit | Why |
|---|---|---|
| Python data team running batch pipelines | Apache Airflow, when pipelines are Python DAGs on a batch schedule | Needs a scheduler, DAG processor, API server and PostgreSQL or MySQL. SQLite is for testing only. |
| Python developers wanting code-first flows with optional managed control | Prefect (3.8.8 current), when flows are Python and managed control is optional | Self-hosted server lacks SSO, RBAC and audit logs, which Prefect Cloud paid plans provide. Requires Python 3.11 or later. |
| Platform or operations team wanting YAML flows and event triggers | Kestra open source, when flows are declarative YAML and event-driven | Default is a single server with basic authentication and no audit logging. HA needs the Enterprise Edition. |
| Regulated team needing SSO, RBAC and audit logs in a self-hosted setup | Kestra Enterprise Edition, when in-platform SSO, RBAC and audit logs are required | Open-source Kestra has basic authentication and no audit logs. Enterprise adds SSO, SCIM, RBAC and audit logs. Confirm the license terms with Kestra. |
| Team already on Airflow 2 that must plan its move to Airflow 3 | Apache Airflow 3 (3.3.2 current), if the team keeps its Python DAGs | Airflow 2 reached end of life on April 22, 2026 and gets no fixes. Plan the upgrade using the official Airflow 3 migration guide. |
How Apache Airflow, Prefect and Kestra differ in what you operate
Apache Airflow asks you to run several required components before the first DAG runs. A standard installation needs a scheduler, a DAG processor, an API server and a metadata database, usually PostgreSQL or MySQL. Workers and a triggerer are optional and can be sized as the workload grows. The Airflow architecture overview describes how these parts fit together. Airflow can run more than one scheduler at the same time, coordinating through database row-level locks, so the metadata database becomes the component you size, back up and make highly available. The prerequisites also rule out SQLite in production and MariaDB as a metadata database, so settle the database engine and version with your platform team before design work starts. Confirm that the PostgreSQL or MySQL versions on your approved list fall within the supported range for the Airflow release you choose.
Prefect server bundles an API, a UI and a state database into one self-hosted service. The database records flow and task run state, logs, deployments and automations. It defaults to SQLite, and the self-hosted Prefect documentation points production users to PostgreSQL. A multi-server setup adds PostgreSQL 14.9 or later, Redis for event messaging and a load balancer in front of the servers. Redis and the load balancer each need monitoring, patching and failover planning alongside the database, so ask whether your team already runs Redis under your security baseline. Decide early whether one server with tested PostgreSQL backups meets your availability target. The server documentation also places RBAC, audit logs and SSO in Prefect Cloud, so confirm how you will provide those controls if you self-host.
Kestra's open-source edition defaults to a single server, so availability is one host until you add more. High availability sits in the Enterprise Edition, where the architecture uses Kafka with Elasticsearch, or other queue backends such as Redis, AMQP or GCP Pub/Sub, alongside worker groups and task runners for Kubernetes and cloud batch services. Those components are a different operating model from a single host, so confirm with Kestra which backend your license covers and what your team would run for it. The open-source edition also relies on basic authentication, manual secret management and no audit logging, so those controls need planning too. For a regulated team, settle before a pilot whether a single host with tested backups meets your recovery requirements, or whether the Enterprise high availability layer is a condition of go-live.
How Apache Airflow, Prefect and Kestra compare on the facts that decide the choice
This table compares Apache Airflow, Prefect and Kestra on license, paid editions, authoring model, runtime and database needs, Kubernetes support, built-in access controls, high availability and current release lines. Where a cell says confirm, ask the vendor for that point before you decide. The main takeaway: Kestra and Prefect keep their SSO, audit and multi-user controls in paid or managed tiers, while Airflow's access controls depend on the version and auth manager you deploy.
| Capability | Apache Airflow | Prefect | Kestra |
|---|---|---|---|
| License | Apache-2.0 licensed, maintained by the Apache Software Foundation. | Apache-2.0 licensed open-source framework. | Apache-2.0 open-source edition. Enterprise Edition is paid and separately licensed. |
| Paid edition from the project | No paid edition from the project itself. | Prefect Cloud plans: Starter at $100 per month, Team at $100 per user per month, custom Enterprise (Prefect pricing page). | Enterprise Edition, commercial, adds SSO, SCIM, RBAC, audit logs, multi-tenancy and high availability. |
| How workflows are defined | Pipelines defined as Python DAGs. | Python code with scheduling, caching, retries and event-based automations. | Declarative YAML flows, edited in a YAML editor, a no-code editor or an AI Copilot kept in sync. |
| Runtime requirement | Python 3.10 to 3.14 (Airflow 3.3.2 prerequisites). | Python 3.11 or later. | Flows run scripts in any language; confirm host and worker requirements with Kestra. |
| State or metadata database | PostgreSQL 14 to 18 or MySQL 8.0, 8.4 or Innovation releases. MariaDB is not supported. SQLite is for testing only. | SQLite by default; PostgreSQL for production. Multi-server needs PostgreSQL 14.9 or later and Redis. | Confirm the backing store with Kestra for your version. Enterprise HA adds Kafka, Redis, AMQP or GCP Pub/Sub queues. |
| Kubernetes support | Kubernetes 1.30 to 1.35 (Airflow 3.3.2 prerequisites). | Confirm Kubernetes version support and worker setup with Prefect. | Kubernetes task runners are listed with Enterprise high availability features; confirm open-source options with Kestra. |
| Built-in SSO, RBAC and audit logs (open-source edition) | Access runs through an auth manager; confirm SSO, RBAC and audit log options for your version. | Self-hosted server has no RBAC, audit logs or SSO; Prefect Cloud provides them. | Basic authentication only and no audit logging. SSO, SCIM and RBAC are Enterprise features. |
| High availability design | Multiple schedulers supported via database row-level locks. Confirm executor and API server HA for your setup. | Multi-server setup needs PostgreSQL, Redis for event messaging and a load balancer. | Default is a single server. Enterprise HA uses Kafka plus Elasticsearch, Redis, AMQP or GCP Pub/Sub backends. |
| Current release line | Airflow 3, first released April 22, 2025; current patch 3.3.2. Airflow 2 reached end of life April 22, 2026. | Prefect 3.8.8 released October 6, 2026. The 2.x line still received 2.20.26 on September 2, 2026. | v2.0.6, published October 13, 2026, with breaking changes from 1.x; 1.3 line still receives patches. |
Which Apache Airflow, Prefect and Kestra features are paid
Apache Airflow is an Apache Software Foundation project released under the Apache License 2.0 (Apache-2.0). The project itself offers no paid edition, so the software carries no license fee. Your costs sit in the infrastructure you run, the database you operate, and the engineers who maintain DAGs and upgrades. Airflow 3 is the maintained major line, and Airflow 2 reached end of life on April 22, 2026 (version support table).
- Software license: Apache-2.0 covers the core project and its source code. This matters if you only need the software and will run it yourself.
- Paid features: The project sells nothing, so any managed service or commercial support comes from another vendor with its own terms. This matters when you want an outside party to operate the platform, and you should confirm that vendor's scope in writing.
- Access control: Authentication and authorization run through the configured auth manager. Confirm in your version that it covers your SSO and role model, since this is usually one of the first controls a security review examines.
- Metadata database: Production needs PostgreSQL or MySQL, and SQLite is for testing only. The database is a recurring cost in hosting, backup and administration for as long as you run the platform.
Before you budget, confirm the Airflow line and database version your team will run, and who owns the upgrade when a line reaches end of life.
Prefect is licensed under Apache-2.0, so the framework and self-hosted server carry no license fee. The paid option is Prefect Cloud, the managed service with its own dashboard. Prefect's pricing page lists the plans Hobby (free), Starter at $100 per month, Team at $100 per user per month and Enterprise at custom pricing.
- Hobby (free): The free plan lets a small team test the managed service before committing budget. This matters for evaluation, and you should check its limits on the pricing page before relying on it in production.
- Starter and Team: Prefect's pricing page lists Starter at $100 per month. Team costs $100 per user per month and includes SSO, so cost grows with the number of people who sign in. This matters once you need SSO across a larger group.
- Enterprise: Enterprise pricing is custom, and it adds object-level RBAC and multiple workspaces. This matters when permissions must differ by business unit or project, and the price comes from a quote.
- Self-hosted gap: The server documentation says RBAC, audit logs and SSO come with Prefect Cloud and are not included in self-hosted Prefect server. This matters when your data must stay in your own infrastructure but your auditors still require those controls.
Ask Prefect which features each plan includes at your seat count, because per-user pricing scales with headcount and self-hosted controls differ from Cloud controls.
Kestra's open-source edition is licensed under Apache-2.0, and Kestra's edition comparison describes it as fully functional for production. The paid product is Kestra Enterprise Edition, which adds identity, audit, secrets and high availability features. Enterprise pricing is obtained by quote.
- Open-source limits: The open-source edition offers basic authentication only, a single-server default deployment, and manual secret and access management. This matters for a small internal team that can accept those limits and manage access by hand.
- Audit logging: The open-source edition has no audit logging. This matters when an auditor or internal security team needs a record of who changed flows, secrets or access.
- Enterprise identity and secrets: Enterprise adds SSO, SCIM, RBAC, service accounts, API tokens and external secrets managers such as HashiCorp Vault and Azure Key Vault, along with multi-tenancy and worker isolation. This matters when several teams share one instance or when your identity provider must control access.
- High availability: Enterprise adds an HA architecture with Kafka plus Elasticsearch, Redis, AMQP or GCP Pub/Sub queue backends, worker groups and task runners. This matters when a single server cannot meet your uptime requirement, and it means running more infrastructure than the default.
Ask Kestra for a written quote that lists the Enterprise features, the queue backend and the support terms in scope, then compare that total with the cost of your own operating effort.
What drives the running cost of each platform
Each platform's running cost comes from the same few places: the infrastructure you host, the paid edition you may need for identity and audit controls, and the people who operate it. Some costs are one-time, such as the Airflow 2 to 3 migration or a later rewrite, while hosting, operations and license fees recur. Use these cards to shape your quote request before comparing totals.
Apache Airflow hosting and upgrades
The Apache-2.0 software has no license fee, so the running cost is hosting and people. A production install needs a scheduler, a DAG processor, an API server and a metadata database, usually PostgreSQL or MySQL, plus optional workers and a triggerer. Airflow 2 to 3 migration is the cost to watch: Airflow 2 reached end of life on April 22, 2026 and gets no fixes, so any cluster still on 2.x carries a one-time upgrade. Ask for that upgrade as a separate line in the quote.
Airflow 3 upgrade guidePrefect server or Prefect Cloud
Self-hosting Prefect means running the server on PostgreSQL, Prefect's production choice, and for multi-server setups adding Redis for event messaging and a load balancer. Those components are recurring infrastructure and on-call work. The other route is a Prefect Cloud subscription, which the pricing page lists as Hobby (free), Starter at $100 per month, Team at $100 per user per month and Enterprise at custom pricing. The server docs say RBAC, audit logs and SSO are Cloud features, so a self-hosted server may need extra engineering to meet your controls.
Prefect pricing pageKestra infrastructure and Enterprise license
The Apache-2.0 edition is fully functional for production, but its default is a single server with basic authentication and manual secret and access management. Running it yourself means server capacity plus the work of upgrades, backups and patching. SSO, SCIM, RBAC, audit logs, external secrets managers and multi-tenancy sit in the Enterprise license, and its high availability setup adds Kafka and Elasticsearch or another queue backend such as Redis, AMQP or GCP Pub/Sub. Ask for the Enterprise license and HA backend sizing as separate lines in any quote, since they decide the total.
Cost of switching later
Python DAGs in Airflow and Python flows in Prefect do not map one to one onto Kestra's declarative YAML flows, so migration is a rewrite of pipeline logic, tests and triggers. That cost is one-time, but it grows with the number of pipelines, custom operators and helper code you have built. Before you commit, inventory your pipelines, plugins and secrets, and ask any implementer to price the rewrite per pipeline group in writing. Plan a period where old and new schedules run side by side so results can be compared.
What implementing Apache Airflow, Prefect or Kestra involves
Airflow setup starts with the metadata database, and the version you choose there limits what follows. The Airflow 3.3.2 prerequisites list PostgreSQL 14 to 18 and MySQL 8.0 and 8.4 as supported metadata databases and state that MariaDB is not supported. The production guide treats the default SQLite backend as a testing option only, because running it in production can lead to data loss. A production install also needs a scheduler, a DAG processor, an API server and a metadata database, with workers and a triggerer added depending on your executor. Plan for at least 4 GB of RAM as a starting point, then size higher for your DAG count and concurrency. The larger planning item is the Airflow 3 upgrade. Airflow 2 reached end of life on April 22, 2026, so existing 2.x environments receive no fixes. Read the upgrading guide and inventory the DAGs and operators that depend on Airflow 2 behavior before you set a migration date.
Prefect has a lighter database story but its own version gates. Prefect requires Python 3.11 or later, so confirm the interpreter on every worker host and container image before you standardize on one. A self-hosted Prefect server bundles an API, a UI and a database that records flow run state, logs, deployments, work pool status and automations. It uses SQLite by default and PostgreSQL for production. Multi-server deployments need PostgreSQL 14.9 or later, Redis for event messaging and a load balancer in front of the servers. Upgrade order matters here. Old clients work with new servers, but new clients can fail against old servers because new fields are added to the REST API. Upgrade the server first, then move workers and deployment code. Also confirm whether you need RBAC, audit logs or SSO, since the server documentation says Prefect Cloud provides those features and self-hosted server does not.
Kestra's effort sits mainly in flow authoring and plugin choices. Flows are declarative YAML, and the YAML editor, the no-code editor and the AI Copilot stay in sync, so decide early who edits the files directly and who reviews them. Scheduled and event-driven triggers, Git version control integration and a catalog of hundreds of built-in plugins for databases, cloud storage and APIs shape most of the build. Set a Git branching and review process before the first flow goes live, and check every plugin your flows need against the version you pin. If you are moving from Kestra 1.x, read the Kestra 2.0 migration guide first. The release includes breaking changes, including replacing ForEach and ForEachItem with a single Loop task, so flows that use either task need rewriting and retesting. Both the 2.0 line and the 1.3 patch line receive updates, so name the line you will run. The work is scoped and agreed in writing before it starts, and the effort depends on that scope, including the number of flows, integrations and upgrade steps.
Which platform to evaluate first: the decision path
The decision starts with who writes and maintains the workflows. Python data engineers writing DAGs are routed to Apache Airflow, but the SSO, audit log and high availability requirements still apply, so confirm its auth and scheduler setup in the Airflow documentation before you commit. Python developers writing flows reach a check for SSO, audit logs and high availability. If none are required, a self hosted Prefect server is the starting point. If a managed control plane is acceptable, Prefect Cloud fits. If you must stay self hosted and still need SSO, confirm the options with Prefect first. YAML first teams go to Kestra, where basic authentication may suit open source, while SSO, audit logs or high availability point to Kestra Enterprise.
Three roles lead to Airflow, Prefect or Kestra, with the paid-feature check deciding the branch.
Apache Airflow, Prefect and Kestra: questions buyers ask before hiring help
What drives the cost of self-hosting Airflow, Prefect or Kestra?
The open-source editions of all three carry no licence fee, so most of the cost is people and infrastructure. One-time costs include architecture design, installation, connecting data sources and secrets, migrating existing pipelines, and writing runbooks. Recurring costs include compute, the metadata database (PostgreSQL or MySQL for Airflow, PostgreSQL for production Prefect), backups, monitoring, upgrades and the engineer time to run them. Costs rise with high availability, multiple schedulers or servers, and the number of pipelines and users. Paid items are separate: Prefect Cloud plans are listed on the pricing page with some tiers priced per user, and Kestra Enterprise is a paid edition. Ask any quote to split one-time from recurring costs and to name which licence each line item requires.
How long does it take to implement Airflow, Prefect or Kestra?
Duration depends on the written scope, and no implementation timeline is given here. The scope sets how many pipelines or flows to build or migrate, how many data sources and secrets to connect, whether high availability is required, and how many identity and audit requirements must be wired in. Each platform adds its own items. Airflow needs a scheduler, a DAG processor, an API server and a metadata database, plus workers if you use them. Prefect needs a server and a database, and multi-server setups also need Redis and a load balancer. Kestra's high availability architecture is part of Enterprise and depends on queue and search backends. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, so ask for the timeline inside that written scope.
What skills does a team need to run Airflow, Prefect or Kestra?
Airflow and Prefect need strong Python skills. Airflow pipelines are defined as Python DAGs, and Prefect workflows are Python code on Python 3.11 or later. Kestra needs YAML and plugin skills, because flows are declarative YAML and the plugin catalog covers databases, cloud storage and APIs. Kestra also runs scripts in any language, so engineers in other languages can contribute. All three need database and operations skills. Airflow requires PostgreSQL or MySQL administration, scheduler sizing and upgrade planning. Prefect needs PostgreSQL in production and, for multi-server deployments, Redis and a load balancer. Kestra's open-source edition defaults to a single server, and its high availability setup relies on Enterprise backends such as Kafka and Elasticsearch. Plan for on-call coverage, backups, certificates and secret management, and check each skill against your team's own roster before scoping.
Can our own team implement these platforms, and which parts need outside help?
Yes. A team with the skills described above can implement any of the three without outside help, and many do. The real questions are capacity and risk. Outside help is worth considering for the parts where a mistake is expensive or hard to reverse: production architecture (database, high availability, worker isolation), identity and audit wiring, secrets handling, backup and restore testing, and the upgrade path. Airflow 2 reached end of life on April 22, 2026, and Kestra 2.0 includes breaking changes with a dedicated migration guide, so an upgrade may require changes to existing flows. DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted platforms inside your own infrastructure. Ask for a written scope that lists which tasks DeployOpen performs and which your team keeps, and confirm that your team can run the platform after handover.
Do SSO and audit logs require Kestra Enterprise or Prefect Cloud?
For Kestra, yes. SSO, SCIM, RBAC and audit logs are part of Kestra Enterprise Edition, while the open-source edition has basic authentication only and no audit logging. For Prefect, the self-hosted server documentation says Prefect Cloud provides RBAC, audit logs and SSO that the self-hosted server does not include, so a self-hosted Prefect deployment would need another identity approach or a Cloud plan. Prefect's pricing page places SSO on the Team plan and object-level RBAC on Enterprise, and it lists Team pricing per user per month. Confirm with each vendor which edition or plan includes the features you need. In any quote, ask for the exact edition or plan for SSO, SCIM, RBAC and audit logs, the pricing basis, which features run on your infrastructure, and how renewals and upgrades are priced. DeployOpen's implementation work follows from the written scope and is separate from vendor licence costs.
How hard is it to switch away from Airflow, Prefect or Kestra later?
Switching is mostly a rewrite, because each platform stores its logic in a different form. Airflow DAGs and Prefect flows are both Python, so business logic can move between them, but operators, decorators, scheduling, retries, state handling and deployment wiring must be rebuilt for the new tool. Kestra flows are declarative YAML with plugins, so moving to or from either Python platform means translating each pipeline into a different model. Cost rises with the number of pipelines, custom operators or plugins, the run history you need to keep, and the links to secrets and identity. Run history stored in a metadata database may not transfer automatically, so confirm that before planning a cutover. Version changes can also force work, as the Airflow 2 end of life and Kestra 2.0 breaking changes show. Ask any migration quote to inventory pipelines, history and integrations first.
Will Prefect's acquisition of Dagster change its product roadmap?
Prefect has announced that it is acquiring Dagster, according to the Dagster blog post. The announcement is the only public fact available here, so its effect on the Prefect roadmap is unknown and should be confirmed with Prefect in writing. Ask whether the self-hosted server and Prefect Cloud roadmaps will change, whether the Apache-2.0 licence of the Prefect open-source project remains in place, whether any Dagster features will be merged or retired, and which support windows apply to the 2.x and 3.x release lines. Ask whether pricing or plan contents will change during the integration. If you are choosing between Prefect and Dagster, base that decision on the vendor's written answers and your own proof-of-concept results.
How DeployOpen helps choose and implement without favoring a platform
DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Apache Airflow, Prefect and Kestra, the work starts with your hosting rules, identity requirements and team skills, and the platform choice follows from those constraints. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- The written scope names which of the three platforms are under evaluation and which are ruled out.
- Requirements cover hosting location, SSO, audit logging, secrets handling and the team that will run the platform.
- Fixed-scope agreements set deliverables and timelines in writing; ongoing support is available as a retainer.
How we build
- For Airflow, the build covers the scheduler, DAG processor, API server and a PostgreSQL or MySQL metadata database.
- For Prefect, the build covers the self-hosted server on PostgreSQL, plus Redis and a load balancer for multi-server setups.
- For Kestra, the build covers YAML flow repositories, Git integration, secrets handling and, where needed, Enterprise components.
How we hand over
- Documentation covers architecture, upgrade steps, backup and restore procedures, and the access model for each platform.
- Handover includes the documentation and evidence your operators and compliance reviewers need, as agreed in the written scope.
- Your team receives the configuration files and backup settings so the platform stays under your control.
How we support
- Retainers cover upgrades, continuous testing and ongoing support, scoped to the platforms you actually run.
- Airflow 2 reached end of life on April 22, 2026, so older estates need an upgrade plan.
- Confirm in the retainer scope which Prefect version lines and Kestra editions are covered.

