Azure Function to download blobs and upload the data to AWS S3

Darsh's Azure World 1 Reputation point

Hi there,

I need some help creating the Azure function app that basically downloads the data from Blob and upload it to AWS S3 bucket. I am new to the Azure function app so it would be appreciated if you can point me to some sample code or let me know the process of doing this.


Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,658 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MughundhanRaveendran-MSFT 12,456 Reputation points

    @Darsh's Azure World ,

    Thanks for reaching out to Q&A.

    Azure functions have built-in triggers and input bindings for Azure storage account. You can choose any language that you are comfortable with and write appropriate code to download the blobs from the Storage account. However, there is no output binding for AWS S3 in Functions. You will have to use the AWS S3 SDK to upload the blobs to S3 bucket.

    I hope this helps!

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.

  2. Udaiappa Ramachandran 726 Reputation points MVP

    @Darsh's Azure World
    As @MughundhanRaveendran-MSFT said it is fairly easy to implement Az Functions. If you want to bind the changes (as you receive blob or change blob) then you can use something like in C#
    public static async Task Run([BlobTrigger("%SourceContainerName%/{name}", Connection = "SourceStorageConnection")]
    Stream stream, string name,
    IDictionary<string, string> metadata,
    ILogger log)
    //LIBRARY.METHOD(stream, name, metadata,log); IMPLEMENT THE CALL USING AWS SDK

    0 comments No comments