Home icon

Best practices for migrating from Apache Airflow 2.x to Apache Airflow 3.x on Amazon MWAA

Big Data Blog



This article provides comprehensive guidance for migrating from Apache Airflow 2.x to Apache Airflow 3.x on Amazon Managed Workflows for Apache Airflow (MWAA). The migration requires careful planning due to several critical breaking changes.

  • Key breaking changes include:
    • Removal of direct metadata database access
    • Deprecation of SubDAGs
    • Changes to default scheduling behavior
    • Library and dependency updates
  • Recommended migration strategy includes:
    • Phased approach with pilot migration
    • Blue/green deployment
    • Wave-based production migration
    • Post-migration review
  • Critical steps involve:
    • Compatibility checks using ruff linter
    • Updating DAG code and requirements
    • Creating a new MWAA 3.x environment
    • Migrating metadata and configurations

The migration requires thorough preparation, systematic testing, and clear documentation to minimize risks and disruptions to workflow operations.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Oct 1
2025
Introducing Apache Airflow 3 on Amazon MWAA: New features and capabilities
Oct 1
2025
Announcing Apache Airflow 3.0 support in Amazon Managed Workflows for Apache Airflow
May 19
2026
Amazon MWAA now supports Apache Airflow 3.2
Jul 9
2024
Introducing Amazon MWAA support for Apache Airflow version 2.9.2

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.