arka2010 / airflow-terraform

Easily deploy airflow infrastructure on an AWS VPC using terraform.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Airflow Terraform

Goal

Easily provision resources on AWS for a highly scalable and secure airflow environment.

Overview

  • Terraform is used to provision resources in a VPC.
  • Airflow's services are deployed on an EC2 instance.
  • The Airflow metadata database is deployed on RDS (Postgres).
  • The Airflow message broker is deployed on Elastic Cache (Redis).
  • AWS Secrets Manager is used to securely feed environment variables such as airflow's fernet key into the EC2 instance.

Requirements

  • AWS Account
  • Terraform

Setup

Terraform Commands

First enter the Terraform directory cd terraform

  • See a plan of resources terraform plan
  • Provision resources terraform apply
  • Destroy resources terraform destroy

About

Easily deploy airflow infrastructure on an AWS VPC using terraform.


Languages

Language:HCL 53.1%Language:Python 20.2%Language:Dockerfile 15.5%Language:Shell 11.1%