Sitemap
Towards Data Engineering

Dive into data engineering with top Medium articles on big data, cloud, automation, and DevOps. Follow us for curated insights and contribute your expertise. Join our thriving community of professionals and enthusiasts shaping the future of data-driven solutions.

Member-only story

Trigger Airflow DAG with REST API using Snowflake

--

In an earlier article I wrote about How to Trigger Airflow DAG Using REST API. I have also extended that concept with the article where I highlighted how to Create An Event Driven Airflow Pipeline with SNS, SQS and Lambda.

Not a Medium member? Click here to read for free!

In this demo, I will create a connection between Snowflake and Airflow such that we can have a Snowflake object trigger an Airflow DAG.

Solution architecture

The steps are as follows:

  1. Create a Lambda function
  2. Create an API gateway in AWS
  3. Create the required permissions in AWS
  4. Create an API integration in Snowflake. Then update AWS role from (3) above with Snowflake details.
  5. Create the Snowflake external function to call Lambda

Take note of the following:

--

--

Towards Data Engineering
Towards Data Engineering

Published in Towards Data Engineering

Dive into data engineering with top Medium articles on big data, cloud, automation, and DevOps. Follow us for curated insights and contribute your expertise. Join our thriving community of professionals and enthusiasts shaping the future of data-driven solutions.

Obinna Onyema
Obinna Onyema

Written by Obinna Onyema

Enjoying building solutions with data and AI. Machine Learning Researcher https://www.linkedin.com/in/obinna-onyema/

No responses yet