This starter project for AWS Managed Workflows for Apache Airflow (MWAA) is designed to streamline the setup and deployment process. It includes a CloudFormation template to automatically provision necessary AWS resources and deploy MWAA. Additionally, it leverages GitHub Actions for continuous integration and deployment (CI/CD). The GitHub Actions automate the process of deploying Directed Acyclic Graphs (DAGs) to Amazon S3 and deploying the AWS CloudFormation stack. The app also offers functionality to test MWAA workflows locally, ensuring a smooth transition before deploying to a production environment.
-
Add DAG code to the
dags/
folder. -
Add Python dependencies to
requirements/requirements.txt
-
Build docker image
./mwaa-local-env build-image
-
Run Apache Airflow
./mwaa-local-env start
-
Accessing Airflow UI:
Enter this url
http://localhost:8080/
in browser useadmin
as username andtest
as password
- Fork or clone the project and deploy it to your Github account
- Add aws region, secrete key and aws access key in the github repo secretes
- Got to the Actions tab then run
Deploy AWS MWAA job
- This will deploy all necessary resources required to create AWS MWAA plus AWS MWAA its self