This guide describes the steps required to migrate your Airflow deployments from Airflow 2 (AF2) to Airflow 3 (AF3) in Astro Private Cloud 1.0.Documentation Index
Fetch the complete documentation index at: https://astronomer-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
1. Enable Airflow 3 on the cluster
- Navigate to the Cluster Configuration Override page in the Astro Private Cloud UI.
- Enable the Airflow 3 flag:
- Enable the mandatory Dag Processor component for AF3:
2. Configure Registry access
- Allowlist the Azure Container Registry (azurecr) repository and URL for pulling Airflow 3 images.
- If using third-party registries, configure mirroring to ensure reliable image pulls.
AF3 images are hosted at
astrocrpublic.azurecr.io.3. Pre-migration Dag compatibility check
Before upgrading, follow Astronomer’s Airflow 2 → 3 upgrade guide to verify that your Dags are compatible with Airflow 3.4. Update Deployment Dockerfile
- Modify your Dockerfile to use the Airflow 3 image and updated registry URL:
- Build and push your updated Docker image.
AF2 images are available on Quay (
quay.io/astronomer/airflow), while AF3 images are hosted on astrocr (astrocrpublic.azurecr.io).
5. Update Deployment
Perform the Deployment update using one of the following methods:- UI: Navigate to your Deployment and trigger an update with the new AF3 image.
- API: Use the UpsertDeployment API to update the Deployment image.
- CLI: Use the Astro CLI to deploy the updated image.
6. Post-migration validation
- Confirm that Dags are running as expected in Airflow 3.
- Monitor logs and metrics to ensure stability.
- Verify that the Dag Processor component is active and functioning.
This guide provides a safe and supported path to migrate from Airflow 2 to Airflow 3 in Astro Private Cloud 1.0.