Skip to content

MinIO

Hydrolix can connect to MinIO, an S3-compatible data storage system, and use it as cloud storage for tables.

Before You Begin⚓︎

Make sure you have a working MinIO installation, a bucket on that MinIO installation, and a key created that has access to that bucket. You will need these pieces of information:

Item Description Example value
AWS Key The name of the AWS Key generated by MinIO 5GamSCnrVTZ2kPth4yPg
AWS Secret Key The secret key generated by MinIO M25YaH3Nzv6PBgJTrIFCI4pi2hv1DfV3bqeRse3J
Endpoint The protocol, hostname and port of your MinIO server http://ec2-54-202-213-60.us-west-2.compute.amazonaws.com:9000
Bucket Path The complete pathname to the MinIO bucket for Hydrolix storage /samplebucket

Create a New Credential in Hydrolix⚓︎

Log into your Hydrolix cluster's UI.

In the upper right-hand "Add new" menu, select "Credential."

Credential widget from the right flyout menu in Hydrolix UI

Add the access key information you collected above.

Saving the Access Key ID and Secret Access Key in Hydrolix UI

Create a New Bucket in Hydrolix⚓︎

In the upper right-hand "Add new" menu, select "Bucket."

Bucket widget from the right flyout menu in Hydrolix UI

Add the information you collected above. Make sure you set the cloud provider to "aws." The Region field isn't needed for MinIO, so leave it blank or set it to any value available.

Using the image below as a guide, replace the fields with your values. Use the new credential you just created. Make sure to replace "miniohost" below with the hostname of your MinIO instance. Also, make sure the port number is correct. 9000 is often the default, but other installations may use other port numbers.

How to create a new Bucket dialog box for a Minio storage

Assign the Table to Your New Bucket⚓︎

Click "Data" and then select the table you would like to transition to your new bucket. Under "Advanced options," find "Bucket settings" and click the vertical menu icon to the right. Select "Edit" to bring you to the sidebar that lets you assign the Storage ID you created above.

Assigning a table to the newly created Minio storage bucket

Once you've clicked "Save changes" at the bottom of that menu, your Hydrolix cluster will reconfigure the table to immediately start writing data to your new bucket.