Skip to content
Kitbay

upgrading-mwaa-environments

Apache-2.0Updated on Nov 11, 20263,464GitHub stars

This aws-data-analytics skill upgrades an Amazon MWAA environment to a later Apache Airflow release, whether inside 2.x, inside 3.x or across from 2.x to 3.x.

What the skill teaches

This aws-data-analytics skill upgrades an Amazon MWAA environment to a later Apache Airflow release, whether inside 2.x, inside 3.x or across from 2.x to 3.x. It plans the version path, adding a 2.11 stepping stone and a Python change where needed, and picks between a blue-green upgrade to a new environment, an in-place upgrade first rehearsed on a copy, or a straight in-place upgrade, depending on whether run history and the environment's URL must be kept. It scans code with Ruff and logs for deprecation warnings, validates in Docker, deploys in batches, switches over, and saves a resumable plan.

Capabilities

  • Plan an MWAA Airflow version upgrade path
  • Choose blue-green or in-place upgrades
  • Scan DAG code for Airflow 3 compatibility
  • Validate upgrades locally with Docker