How to Deploy MinIO Object Storage

MinIO is an opensource, Kubernetes-native object storage suite that provides a high-performance, AWS S3 compatible object storage. In this blog post, we will see how to install and configure MinIO object storage on an Ubuntu virtual machine.

Download MinIO Binary:

You can download the minio binary for Linux by running the below command.


Configure MinIO:

  1. Make the minio executable by running the below command
chmod +x minio

2. Move the binary to /usr/local/bin

mv minio /usr/local/bin/

3. Create a directory for minio by running

mkdir /data-minio

4. You can now run the below command to start minio server.

minio server /data-minio/
roshan@ubuntu-bc:~$ sudo minio server /data-minio/
RootUser: minioadmin
RootPass: minioadmin

Browser Access:

Command-line Access:
   $ mc alias set myminio minioadmin minioadmin

Object API (Amazon S3 compatible):
Detected default credentials 'minioadmin:minioadmin', please change the credentials immediately using 'MINIO_ROOT_USER' and 'MINIO_ROOT_PASSWORD'

You can get minio browser access by going to http://IP-Address:9000 as in the below screenshot

Login Page

To login to minio, provide the Access Key and Secret Key. The default Access Key and Secret Key for minio is minioadmin

Now you see we are logged into the minio.

Configure Minio to start using systemd

Lets configure minio to start automatically using systemd.

1. You can download minio service descriptor using the below command.

curl -O

2. Edit the minio.service file as below

ubuntu@cli-vm:~$ cat minio.service



ExecStart=/usr/local/bin/minio server /data-minio

# Let systemd restart this service always

# Specifies the maximum file descriptor number that can be opened by this process

# Disable timeout logic and wait until process is stopped


# Built for ${}-${project.version} (${})

3. Move the minio.servce file to the systemd configuration directory by running the below command

sudo mv minio.service /etc/systemd/system

4. Reload all systemd units by running

sudo systemctl daemon-reload

5. Start minio by running the below command

sudo systemctl start minio

6. Verify the minio service status by running the systemctl status command as in the below screenshot.

Create Buckets

To create buckets in minio, follow the below steps.

1. Login to minio UI by going to http://IP-Address/FQDN:9000

2. Once you login, click on the + icon on the right bottom corner

3. Now, click on the icon in the middle

4. Give a name for the bucket and hit enter

5. You can see the bucket that we created on the left panel

This completes the MinIO installation process. I hope this blog has helped you to install and configure your minio and create buckets. Thank you for reading the post! 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at

Up ↑

%d bloggers like this: