concept cloud service in category apache airflow

appears as: cloud services, cloud service
Data Pipelines with Apache Airflow

This is an excerpt from Manning's book Data Pipelines with Apache Airflow.

A large portion of software runs on cloud services nowadays. Such cloud services can generally be controlled via an API--an interface to connect and send requests to your cloud provider. The API typically comes with a client in the form of a Python package, for example AWS’s client is named boto3[52], GCP’s client is named the Cloud SDK[53] and Azure’s client is appropriately named the “Azure SDK for Python”[54]. Such clients provide convenient functions where, bluntly said, you enter the required details for a request and the clients handle the technical internals of handling the request and response.

In the context of Airflow, to the programmer the “interface” is an operator. Operators are the convenience classes to which you can provide the required details to make a request to a cloud service, and the operator internally handles the technical implementation. These operators internally make use of the Cloud SDK to send requests, and provide a small layer around the Cloud SDK which provides certain functionality to the programmer:

In this chapter we’ll dive into how Airflow can be used on several major cloud platforms (Amazon AWS, Microsoft Azure and Google Cloud Platform). First, we’ll do a short recap of the different parts of an Airflow deployment to get an overview of the involved components. Next, for each of the three clouds (Amazon AWS, Microsoft Azure and Google Cloud Platform), we’ll start designing several deployment strategies for each cloud by mapping the different Airflow components to appropriate cloud services. Afterwards, we’ll discuss and demonstrate how cloud-specific operators can be used in Airflow to leverage other cloud services from within DAGs. Finally, we’ll close off with a short overview of some managed cloud services, which provide an easier approach for rolling out Airflow deployments without having to manage all the underlying cloud services ourselves.