DEV Community

Cover image for Self-Hosted MinIO Object Storage on Bare Metal: An AWS S3 Alternative
olivia Millie for eServers

Posted on Originally published at eservers.uk

Self-Hosted MinIO Object Storage on Bare Metal: An AWS S3 Alternative

Most teams reach for AWS S3 by default because it's the API everyone knows. The problem isn't the API — it's the bill. Object storage on public cloud platforms charges for storage and for every byte that leaves the network.

MinIO solves this by giving you the exact same S3 API running on Bare Metal Servers. Point any S3-compatible application at your MinIO endpoint instead of s3.amazonaws.com, and nothing else needs to change.

Step 1: Prepare the Storage Disk

Identify the disk you'll dedicate to MinIO and format it using XFS (recommended for large files):


bash
lsblk
sudo mkfs.xfs /dev/sdb
sudo mkdir -p /mnt/minio-data
sudo mount /dev/sdb /mnt/minio-data
echo "/dev/sdb /mnt/minio-data xfs defaults 0 2" | sudo tee -a /etc/fstab
Enter fullscreen mode Exit fullscreen mode

Top comments (0)