Skip to content

BigDataRepublic/pydata-airflow-workshop

Repository files navigation

pydata-airflow-workshop

This repo holds all resources for the Airflow workshop for Pydata Eindhoven 2019.

If you would like to know more about this repository, please get in touch with us.

Requirements

  • Python3.7
  • Terraform 0.12.16

Deployment

The following actions will deploy the entire infrastructure:

  1. Install requirements in requirements.txt

  2. Run the bootstrap to setup the remote state:
    a. cd terraform/bootstrap
    b. AWS_DEFAULT_REGION=<your region> AWS_PROFILE=<your profile> terraform init && terraform apply

  3. Move back the root directory of this project

  4. Make sure your AWS account is properly setup and set it in config.yaml

  5. Set the desired number of users in config.yaml

  6. Set the desired RDS instance type in config.yaml

  7. Run python deploy.py

  8. Keep an eye on the process to spot any errors

  9. Find the users names, passwords and endpoints in user_credentials.txt