MinIO offers high-performance, S3 compatible object storage.
You can install multiple MinIO instances on the same node from the :ref:`software_center-section`.
MinIO needs two dedicated virtual host, a FQDN like minio-api.nethserver.org
and minio-ui.nethserver.org
.
Before proceeding with the configuration, make sure to create the corresponding name records inside your DNS server. If you are planning to use a Let's Encrypt certificate as default, make also sure to have corresponding public DNS records.
How to configure:
- access the application configuration page and enter the
API server host name
: this will be the FQDN used by hosts to connect to S3 services - fill the
Web interface host name
: you will be able to configure your MinIO instance from this FQDN - enable
Let's Encrypt
option accordingly to your needs - click the :guilabel:`Save` button
- open the entered host name inside the browser, eg:
https://minio-ui.nethserver.org
.
Setting up MinIO with a locally attached USB/SCSI disk provides two key benefits:
- data privacy: if you're cautious about sharing data with cloud providers, this setup allows you to retain control over your information and prevent third-party access
- local data ownership: by utilizing a local disk, you maintain complete data control within your own environment. This improves security and minimizes dependence on external services
As system root user, follow these steps for a disk named scsi-disk1
:
Create a mount point: make a directory to serve as the mount point for the disk:
mkdir -p /mnt/data
Automate mount at boot: ensure the disk is automatically mounted during boot by modifying
/etc/fstab
:echo '/dev/disk/by-id/scsi-disk1 /mnt/data ext4 defaults,nofail,discard 0 0' >> /etc/fstab systemctl daemon-reload
Mount the disk: physically attach the disk using the mount command:
mount /mnt/data
Ensure MinIO access: allow the MinIO instance (e.g.,
minio1
) to access the disk:chown minio1:minio1 /mnt/data/
Finally, within the module's user interface, configure the Storage path
to be /mnt/data.
Please note that the above path won't be part of the backup.