Home
Astronomer Starship can send your Airflow workloads to new places!
What is it?¶
Starship is a utility to migrate Airflow metadata such as Airflow Variables, Connections, Environment Variables, Pools, and DAG History between two Airflow instances.
Installation¶
Usage¶
- Create a Workspace in Astro or Software to hold Astro Deployments
- Create an Astro Deployment matching the source Airflow deployment configuration as possible
- Run
astro dev init
with the Astro CLI to create a Astro Project locally in your terminal - Add any DAGs to the
/dags
folder in the Astro Project - Complete any additional setup required to convert your existing Airflow deployment to an Astro Project
- Install Starship (and any additional Python Dependencies) to the Astro Project
- Install Starship to your existing Airflow Deployment
- Deploy the Astro Project to the Astro Deployment with
astro deploy
- In the Airflow UI of the source Airflow deployment, navigate to the new
Astronomer
menu and select theMigration Tool 🚀
option - Follow the UI prompts to migrate, or if needed, look at the instructions to use the Operator
Compatability¶
Source | Compatible |
---|---|
Airflow 1 | ❌ |
GCC 1 - Airflow 2.x | Operator |
GCC 2 - Airflow 2.x | ✅ |
MWAA v2.0.2 | Operator |
MWAA ≥ v2.2.2 | ✅ |
OSS Airflow VM | ✅ |
Astronomer Products | ✅ |
FAQ¶
-
I'm on Airflow 1, can I use Starship?
No, Starship is only compatible with Airflow 2.x and above, see Compatibility
-
I'm on Airflow>=2.7 and can't test connections?
You must have AIRFLOW__CORE__TEST_CONNECTION
set. See notes here
-
I'm using Google Cloud Composer 2.x and Airflow 2.x and do not see the
Astronomer
menu and/or the Starship Airflow Plugin?Run the following to ensure you are a privileged user.
Security Notice¶
This project is an Airflow Plugin that adds custom API routes. Ensure your environments are correctly secured.
Artwork Starship logo by Lorenzo used with permission from The Noun Project under Creative Commons.