Kestra vs. Amazon MWAA : Managed Airflow inside your AWS account vs. YAML flows you run on any cloud or on Kestra Cloud.

Amazon MWAA runs Apache Airflow for you inside your AWS account, reading DAG files from an S3 bucket. Kestra, an open-source orchestration platform, runs YAML flows on Docker, Kubernetes or Kestra Cloud, in any cloud or on-premises.

Amazon MWAA or Kestra?

Amazon MWAA is the better fit if

  • Your pipelines are already Airflow DAGs, and the data they touch lives in AWS.
  • You want AWS to run the schedulers, workers and metadata database, with IAM and CloudWatch wired in.
  • You want orchestration billed on your AWS account, with no other vendor to onboard.

Choose Kestra if

  • Your workloads also run on Google Cloud, Azure or on-premises, and you want one orchestrator across all of them.
  • Platform, analytics and ops teams need to write workflows without packaging Python for an S3 bucket.
  • Each workflow needs its own dependencies, apart from the requirements.txt the whole environment shares.

How do Amazon MWAA and Kestra compare, feature by feature?

Workflow definition Python DAG files in S3; YAML definitions on MWAA Serverless YAML flows, checked against each plugin's schema on save
Where it runs AWS only, with schedulers and workers in your VPC Any cloud, on-premises, air-gapped (Kestra Enterprise), or Kestra Cloud
Pricing Hourly per environment class, plus extra workers, schedulers, web servers and storage Free open source; Kestra Cloud billed on usage; Enterprise per instance
Capacity Environment classes rated from 25 DAGs (mw1.micro) to 4,000 (mw1.2xlarge), up to 25 workers Workers scale horizontally; 4,000 executions a minute on Postgres in the open-source benchmark
Python dependencies One requirements.txt and plugins.zip for every DAG in the environment Declared per task, installed in that task's container
Triggers Airflow schedules and sensors such as S3KeySensor Schedules, webhooks, and S3, SQS and Kinesis triggers
Upgrades In-place upgrades between minor Airflow versions that AWS supports You pull a new Kestra image when your team is ready
Team isolation Separate environments, or an experimental multi-team mode with one shared execution role Namespaces with RBAC, SSO and tenants
AWS integration Amazon provider operators, an IAM execution role and CloudWatch logs and metrics built in AWS plugin for S3, Glue, Athena, EMR, Lambda and more, with credentials or an assumed role per task

Which teams on AWS run their pipelines on Kestra?

Customer intelligence

50+ enterprise clients each run in an isolated tenant, on Kestra next to Acxiom's AWS and Databricks environments.

Kestra was the only tool that combined true multi-tenant isolation, metadata-driven orchestration, and easy integration with our existing AWS and Databricks environments. It provided the foundation we needed to scale confidently.

Director of Engineering

Read the story

E-commerce

40% lower BI and ETL costs after Víssimo moved its AWS Lambda pipelines to Kestra, chosen over Airflow, Prefect, Temporal and n8n.

With Kestra, orchestration stopped being a fragile point in the architecture and became a stable foundation for the business.

Rafael Bartalotti, Engineering and Architecture Manager

Read the story

How are Amazon MWAA and Kestra built?

MWAA hosts one Airflow deployment per environment in your AWS account. Kestra separates the control plane from the workers that run tasks, wherever you host them.

  • Amazon MWAA: an Airflow environment in your VPC

    Schedulers and workers run as AWS Fargate containers in your VPC's private subnets, with an AWS-managed Aurora PostgreSQL metadata database. Every component reads DAGs, plugins.zip and requirements.txt from a versioned S3 bucket.

    • MWAA syncs DAG files from S3 to schedulers, workers and the web server
    • The Celery executor sends tasks to workers that autoscale between a minimum and maximum
    • All DAGs run with the environment's IAM execution role
    • Logs and metrics are sent to CloudWatch
  • Kestra: a control plane and workers you place

    Kestra reads each flow as YAML, so loading it runs no user code. The executor decides what runs next, and workers connect to it over gRPC from any network that can reach the controller.

    • The scheduler evaluates schedules, polling triggers and realtime triggers
    • Script tasks run in containers with dependencies declared per task
    • Task runners send heavy jobs to AWS Batch or Kubernetes
    • Every save creates a flow revision you can diff or roll back

What does the same S3 pipeline look like in each?

The same pipeline in both: wait for a CSV in S3, run a Glue job, refresh an Athena query, and alert an SNS topic if a task fails.

Get started with Kestra
MWAA DAG sales_files.py
1from datetime import datetime23from airflow import DAG4from airflow.providers.amazon.aws.notifications.sns import send_sns_notification5from airflow.providers.amazon.aws.operators.athena import AthenaOperator6from airflow.providers.amazon.aws.operators.glue import GlueJobOperator7from airflow.providers.amazon.aws.sensors.s3 import S3KeySensor89with DAG(10    dag_id="sales_files",11    schedule="@hourly",12    start_date=datetime(2026, 1, 1),13    catchup=False,14    on_failure_callback=send_sns_notification(15        target_arn="arn:aws:sns:eu-west-1:123456789012:alerts",16        message="sales_files failed",17    ),18):19    wait_for_file = S3KeySensor(20        task_id="wait_for_file",21        bucket_name="example-landing",22        bucket_key="sales/*.csv",23        wildcard_match=True,24        mode="reschedule",25    )2627    transform = GlueJobOperator(task_id="transform", job_name="clean_sales")2829    refresh_report = AthenaOperator(30        task_id="refresh_report",31        query="sql/daily_sales.sql",32        database="analytics",33        output_location="s3://example-athena-results/",34    )3536    wait_for_file >> transform >> refresh_report
/ Flows / sales_files
1id: sales_files2namespace: company.analytics34tasks:5  - id: transform6    type: io.kestra.plugin.aws.glue.StartJobRun7    region: eu-west-18    jobName: clean_sales9    arguments:10      --input_uri: "{{ trigger.objects[0].uri }}"1112  - id: refresh_report13    type: io.kestra.plugin.aws.athena.Query14    region: eu-west-115    database: analytics16    outputLocation: s3://example-athena-results/17    query: "{{ read('sql/daily_sales.sql') }}"1819errors:20  - id: alert21    type: io.kestra.plugin.aws.sns.Publish22    region: eu-west-123    topicArn: "{{ secret('ALERTS_TOPIC_ARN') }}"24    from:25      data: "sales_files failed: {{ execution.id }}"2627triggers:28  - id: on_upload29    type: io.kestra.plugin.aws.s3.Trigger30    region: eu-west-131    bucket: example-landing32    prefix: sales/33    regexp: ".*\\.csv$"34    on: CREATE35    action: NONE

How hard is it to move from Amazon MWAA to Kestra?

Leaving Amazon MWAA

MWAA runs standard Airflow, so the DAGs carry the same coupling as anywhere else, with operators, XCom and the task context wrapped around the business logic. The environment adds its own pieces to carry over, namely the execution role's permissions, the packages in requirements.txt, and the Airflow connections and variables.

Moving to Kestra

Glue, Athena, S3 and Lambda calls become tasks from the Kestra AWS plugin, and Python callables run in script tasks. During the move, a Kestra flow can start the DAGs still on MWAA through the Airflow REST API. The Airflow migration guide maps each Airflow concept to its Kestra equivalent.

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

MWAA is an AWS service billed by the hour. Kestra is open source and runs wherever you deploy it.

Amazon MWAA

A proprietary AWS service that runs open-source Airflow. You pay per hour for the environment class, plus any extra workers, schedulers and web servers, and metadata storage per GB-month. MWAA Serverless bills task run time per second with a one-minute minimum per task. Production runs only on AWS.

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 Amazon MWAA? 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 Amazon MWAA teams

SOC 2 GDPR

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

Security overview