repobenchmarks // cloud storage
DEVELOPER TOOLS
$ minio server /data --console-address ":9001"

MinIO High-Performance S3

High-performance, S3-compatible object storage server in Go. Deploy private object buckets with erasure coding durability.

S3 API: Port 9000 Web Console: Port 9001 Durability: Erasure Coding
S3 API Port 9000 AWS SDKs / Boto3 MinIO Console Port 9001 Admin Web UI

Cloud object storage has become the bedrock of modern software architectures for storing file uploads, backups, machine learning datasets, and media assets. However, building and testing applications against AWS S3 directly introduces internet latency, egress transfer costs, and credential management overhead. MinIO is a lightweight, high-performance object storage server that implements the exact Amazon S3 API, allowing developers to self-host S3 storage in local Docker environments or private clouds.

MinIO Port Ingress & Erasure Coding Pipeline Diagram showing traffic routing to S3 API on port 9000 and MinIO Web Console on port 9001, backed by distributed erasure coding storage blocks. AWS SDK Clients Port 9000 // S3 REST Browser Admin Port 9001 // Console MinIO Server Daemon Strict S3 Signature v4 Auth Reed-Solomon Erasure Coding Bitrot Protection & Encryption Drive 1: /data1 (Data) Drive 2: /data2 (Data) Drive 3: /data3 (Parity) Drive 4: /data4 (Parity)
Figure 1: Dual-port ingress routing showing client S3 API access alongside distributed Reed-Solomon erasure coding parity drives.

Why Developers Choose MinIO

Self-hosting MinIO delivers distinct operational benefits over cloud storage:

  • Full AWS S3 Compatibility: Applications use the official AWS SDKs (such as Python's boto3 or JavaScript's @aws-sdk/client-s3) without code modifications. You simply change the endpoint URL to point to your MinIO instance.
  • Erasure Coding Durability: In multi-drive deployments, MinIO protects data using Reed-Solomon erasure coding. A 16-drive cluster configured with 4 parity drives can lose up to 4 complete physical drives simultaneously with zero data loss.
  • High Performance Throughput: Written in Go and optimized with assembly routines for hardware acceleration, MinIO can saturate 100 Gbps network interfaces on standard NVMe hardware.

Object Storage Comparison Matrix

Metric MinIO AWS S3 SeaweedFS
Hosting Model Self-Hosted / Kubernetes / Bare Metal Proprietary Managed AWS Cloud Self-Hosted / Distributed
S3 API Compatibility Near 100% (Strict SigV4 compliance) Native standard High (Subset of S3 calls)
Built-in Web Console Yes (Dedicated port 9001) AWS Web Console Basic UI
Cost Profile Zero API or Egress fees (Hardware only) Per-request, per-GB, and high egress costs Zero API fees

Docker Compose Deployment

Below is a production-ready single-node Docker Compose configuration with dedicated API and Console ports:

docker-compose.yml
services:
  minio:
    image: minio/minio:latest
    container_name: minio
    restart: unless-stopped
    command: server /data --console-address ":9001"
    ports:
      - "9000:9000"   # S3 REST API endpoint
      - "9001:9001"   # MinIO Web Console UI
    environment:
      - MINIO_ROOT_USER=minio_admin_user
      - MINIO_ROOT_PASSWORD=generate_a_secure_password_at_least_16_chars
    volumes:
      - minio_data:/data

volumes:
  minio_data:

Connecting with AWS SDK (Python Boto3)

Connecting existing cloud SDKs to your self-hosted MinIO instance requires configuring three parameters: endpoint_url, aws_access_key_id, and aws_secret_access_key:

python
import boto3

s3 = boto3.client(
    's3',
    endpoint_url='http://localhost:9000',
    aws_access_key_id='minio_admin_user',
    aws_secret_access_key='generate_a_secure_password_at_least_16_chars',
    region_name='us-east-1'
)

# Create a bucket and upload a test file
s3.create_bucket(Bucket='backups')
s3.put_object(Bucket='backups', Key='archive.tar.gz', Body=b'backup data')
▶ Production Port Separation & Credential Hardening
  • Port Ingress Hygiene: Expose port 9000 (S3 API) through your public reverse proxy (e.g. s3.yourdomain.com) with TLS termination. Keep port 9001 (Console UI) internal to your VPN or private LAN to prevent brute-force admin login attempts.
  • Create Service Service Accounts: Never use MINIO_ROOT_USER in application configuration files. Log in to the Console on port 9001 and create dedicated Service Accounts scoped to individual buckets with least-privilege IAM policies.
  • Presigned URL Generation: For public file downloads, generate temporary presigned URLs via SDK rather than making entire buckets completely public.

Conclusion

MinIO is the industry standard for on-premises S3 object storage. Whether you need local development environments that eliminate cloud bills or multi-terabyte production data lakes with erasure coding durability, MinIO provides seamless S3 compatibility with exceptional performance.

// Primary Sources & Documentation
Editorial Note: Port configurations and erasure coding architectures reflect current official MinIO releases. SDK integrations are verified against standard AWS S3 Signature Version 4 protocol requirements.