Add S3 capabilities to Azure Blob Storage using Minio

First of all, why can’t we use Azure API?

What is an Object Storage

What is Minio

Azure limitation

Configuring an Azure blob storage

Configuring Minio with Docker

docker run \
-p 9000:9000 \
--name azure-s3 \
-e "MINIO_ACCESS_KEY=storage_account_name" \
-e "MINIO_SECRET_KEY=storage_account_key" \
minio/minio gateway azure
version: "3"
services:
minio_with_traefik:
image: minio/minio
command: gateway azure
environment:
MINIO_ACCESS_KEY: "storage_account_name"
MINIO_SECRET_KEY: "storage_account_key"
networks:
- webgateway
deploy:
labels:
- "traefik.port=9000"
- "traefik.frontend.rule=Host:minio.mydomain.com"
replicas: 3
restart_policy:
condition: on-failure
minio:
image: minio/minio
command: gateway azure
environment:
MINIO_ACCESS_KEY: "xxx"
MINIO_SECRET_KEY: "xxx"
ports:
- 9001:9000
deploy:
replicas: 3
restart_policy:
condition: on-failure
networks:
webgateway:
driver: overlay
external: true

Configuring s3cmd

[default]
access_key = storage_account_name
secret_key = storage_account_access_key

bucket_location = us-east-1

cloudfront_host = minio.mydomain.com:9000
host_base = minio.mydomain.com:9000
host_bucket = minio.mydomain.com:9000

multipart_chunk_size_mb = 100

use_https = False
check_ssl_certificate = True

Conclusion

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store