How to use templates and macros in Apache Airflow

Templates and Macros in Apache Airflow are the way to pass dynamic data to your DAGs at runtime. Let’s imagine that you would like to execute a SQL request using the execution date of your DAG? How can you do that? How could you use the DAG id of your

Read More »

Apache Airflow with Kubernetes Executor and MiniKube

In this tutorial, we are going to see how to use Apache Airflow with Kubernetes Executor. If you are using Airflow in production, there is a big chance that your workload fluctuates over time. Sometimes you have many tasks to execute and sometimes not at all. The problem is in both cases,

Read More »

How to use the DockerOperator in Apache Airflow

Wondering how to use the DockerOperator in Apache Airflow to kick off a docker and run commands? Let’s discover this operator through a practical example. In a more and more containerized world, it can be very useful to know how to interact with your Docker containers through Apache Airflow. In this

Read More »

Apache Airflow | How to use the PythonOperator

Wondering how can we run python code through Airflow ? The Airflow PythonOperator does exactly what you are looking for. It is a very simple but powerful operator, allowing you to execute a Python callable function from your DAG. You may have seen in my course “The Complete Hands-On Course

Read More »

Apache Airflow | With Statement and DAG

If you take a look at some DAG examples in my course “The Complete Hands-On Course to Master Apache Airflow”, you may notice the use of the “with” statement when a dag object is created. The question is why? Why it is considered as a best practice to use this Python

Read More »
How to connect with SSH using PuTTY

Connect with SSH using PuTTY to a remote host

PuTTY is an open source SSH and telnet client developed originally by Simon Tatham for Windows and UNIX systems. The purpose of PuTTY is to provide an easy way to connect with any server running an SSH daemon in order to give you the illusion to work on the remote

Read More »