Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: airflow intro #444

Merged
merged 4 commits into from
Jun 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
title: Airflow with Cloud Composer
description: How to run dlt pipeline with Airflow
keywords: [dlt, webhook, serverless, airflow, gcp, cloud composer]
---

# Deployment with Airflow and Google Cloud Composer

[Airflow](https://airflow.apache.org) is like your personal assistant for managing data workflows. It's a cool open-source
platform that lets you create and schedule complex data pipelines. You can break down your tasks
into smaller chunks, set dependencies between them, and keep an eye on how everything's running.

[Google Cloud Composer](https://cloud.google.com/composer) is a Google Cloud managed Airflow, which allows you to use Airflow without
having to deploy it. It costs the same as you would run your own, except all the kinks and
inefficiencies have mostly been ironed out. The latest version they offer features autoscaling which
helps reduce cost further by shutting down unused workers.

Combining Airflow, `dlt`, and Google Cloud Composer is a game-changer. You can supercharge your data
pipelines by leveraging Airflow's workflow management features, enhancing them with `dlt`'s
specialized templates, and enjoying the scalability and reliability of Google Cloud Composer's
managed environment. It's the ultimate combo for handling data integration, transformation, and
loading tasks like a pro.

`dlt` makes it super convenient to deploy your data load script and integrate it seamlessly with
your Airflow workflow in Google Cloud Composer. It's all about simplicity and getting things done
with just a few keystrokes.

For this easy style of deployment, `dlt` supports
[the cli command](../../../reference/command-line-interface.md#airflow-composer):

```bash
dlt deploy {pipeline_script}.py airflow-composer
```

which generates the necessary code and instructions.

Read our
[Walkthroughs: Deploy a pipeline with Airflow and Google Composer](../../../walkthroughs/deploy-a-pipeline/deploy-with-airflow-composer.md)
to find out more.
1 change: 1 addition & 0 deletions docs/website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ const sidebars = {
label: 'Orchestrators',
items: [
'dlt-ecosystem/deployments/orchestrators/choosing-an-orchestrator',
'dlt-ecosystem/deployments/orchestrators/airflow-deployment',
'dlt-ecosystem/deployments/orchestrators/github-actions',
]
},
Expand Down