S3 API support over Azure Blob Storage?

Min Wei 20 Reputation points Microsoft Employee
2023-02-23T19:09:49.0966667+00:00

Is there any native S3 API support planned for Azure Blob Storage? If not, it would be great to add it.

Also, what is the recommended way (like OSS service etc.) to setup S3 API support for Azure Blob Storage?

My use case is that, there are a few libraries have built-in support of S3, it would be too much effort to add native (restful) Azure Blob support to each.

Thanks.

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,436 questions
0 comments No comments
{count} votes

Accepted answer
  1. Patchfox 3,786 Reputation points
    2023-02-23T20:07:57.8266667+00:00

    Hi, I hope I can help you a bit more with your question.

    Unfortunately, there is currently no official S3 support for Blob Storage in official Microsoft SDKs.

    However, there is a very popular and heavily used open-source solution on GitHub. The solution is based on Java

    Feel free to have a look: https://github.com/gaul/s3proxy


    If the reply was helpful, please don’t forget to upvote or accept it as an answer, thank you.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sergey Kandaurov 0 Reputation points
    2024-04-24T11:22:16.4533333+00:00

    Hello Min Wei,

    Indeed, Azure Blob Storage does not support S3 API directly. However, you can use an S3-to-Azure gateway. One of such gateways is Flexify.IO. Its proxy part is C++ and is much faster compared to Java or Go-based gateways.

    It's available for free from Azure Marketplace: https://portal.azure.com/#create/flexify.azure-s3-apice

    As well as from Docker Hub: https://hub.docker.com/r/flexifyio/ce/tags

    This "Community Edition" image comes with web UI. If you prefer a command line or code instead, you can start the proxy only:

    docker run flexifyio/engine:edge 
        --cloud AZURE \
        --cloud-key-id <storage account name> \
        --cloud-secret-key <storage account key>
    
    0 comments No comments