Skip to content

How to setup minio object storage

How to setup minio object storage
Share

Reading Time: 3 minutes

This tutorial will guide you on “How to setup minio object storage”. You can setup Minio object storage on Centos or Linux VM.  

What is Object Storage

Object storage solution that provides an Amazon Web Services S3-compatible API and supports all core S3 features. MinIO is built to deploy anywhere – public or private cloud, baremetal infrastructure, orchestrated environments, and edge infrastructure.

What is minio storage server

Minio is an open-source object storage.MinIO is an object storage solution that provides an Amazon Web Services S3-compatible API and supports all core S3 features. MinIO is built to deploy anywhere – public or private cloud, baremetal infrastructure, orchestrated environments, and edge infrastructure.

Requirements

You will need a CentOS VM with root or sudo access. 
Configure Bucket
Create SSL

How to setup minio object storage

Install Minio

$ ssh to VM

$ sudo yum install wget –y  

$ wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio-20231025063325.0.0.x86_64.rpm -O minio.rpm 

$ sudo dnf install minio.rpm 

$ yum localinstall minio.rpm 

$ mkdir ~/minio 

minio server ~/minio --console-address :9090 

You will get minio URL, username and password on the terminal.

Open Minio console in browser

SSL Certificate

You can follow the steps mentioned in this tutorial, This tutorial covers all the steps on how to create SSL certs using Let Encrypt and the same can be used in Minio SSL certs.

You will get .pem file (ullchain.pem and private.pem ) in above steps and you need to copy the two file in .minio directory of your user and then rename copied files to pubic.crt and private.key.

$ ~/.minio/certs/public.crt and ~/.minio/certs/private.key

Start Minio as using FQDN Record and https 

$ /usr/local/bin/minio server --address <FQDN>:443 /mnt/data

How to Create a Minio Bucket

Navigate to Administrator and Then Bucket.  

Create Bucket and Access Key

How to setup minio object storage

 

Enter Bucket Name, You can Enable Versioning, Retention, Quota, and Lock however it is not mandatory. and click on Finish 

How to setup minio object storage

You will see the bucket is created, Double click on the new bucket you created 

Create Minio Storage User

Create a User on Minio 

Create Minio Storage User

Navigate to Users > Create User 

Enter User Name and Password 

Select Policy – Read/Write and then Save  

Select Users (Double Click) 

Navigate to “Service Accounts” 

Create Access Key 

Save the Access Key and Secret Key then Click on Create 

You can Download Access and Secret Key

Conclusion

By following the above steps your bucket is created and have the correct access to the bucket. We hope this tutorial “How to setup minio object storage” helped you to install minio and configure bucket etc. If you have any queries, please let us know.


Share

Leave a Reply

Your email address will not be published. Required fields are marked *

?>