airlift_federation_tutorial
├── constants.py: Contains constant values used throughout both Airflow and Dagster
├── dagster_defs: Contains Dagster definitions
│ ├── definitions.py: Empty starter file for following along with the tutorial
│ └── stages: Contains reference implementations for each stage of the migration process.
├── metrics_airflow_dags: Contains the Airflow DAGs for the "downstream" airflow instance
└── warehouse_airflow_dags: Contains the Airflow DAGs for the "upstream" airflow instance
The tutorial example involves running a local Airflow instance. This can be done by running the following commands from the root of the airlift-migration-tutorial directory.
First, install the required python packages:
make airflow_install
Next, scaffold the two Airflow instances we'll be using for this tutorial:
make airflow_setup
Finally, let's run the two Airflow instances with environment variables set:
In one shell run:
make warehouse_airflow_run
In a separate shell, run:
make metrics_airflow_run
This will run two Airflow Web UIs, one for each Airflow instance. You should now be able to access the warehouse Airflow UI at http://localhost:8081, with the default username and password set to admin.
You should be able to see the load_customers DAG in the Airflow UI.
Similarly, you should be able to access the metrics Airflow UI at http://localhost:8082, with the default username and password set to admin.
You should be able to see the customer_metrics DAG in the Airflow UI.