Azure Blob Storage to Amazon S3 transfer operator¶
Use the AzureBlobStorageToS3Operator
transfer to copy the data from Azure Blob Storage to Amazon Simple Storage Service (S3).
Prerequisite Tasks¶
To use these operators, you must do a few things:
Create necessary resources using AWS Console or AWS CLI.
Install API libraries via pip.
pip install 'apache-airflow[amazon]'Detailed information is available Installation of Airflow™
Operators¶
Azure Blob Storage to Amazon S3¶
To copy data from an Azure Blob Storage container to an Amazon S3 bucket you can use
AzureBlobStorageToS3Operator
Example usage:
azure_blob_to_s3 = AzureBlobStorageToS3Operator(
task_id="azure_blob_to_s3",
container_name=azure_container_name,
dest_s3_key=s3_key_url,
)