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:

  • AWS Key
    • The name of the AWS Key generated by MinIO
    • Example: 5GamSCnrVTZ2kPth4yPg
  • AWS Secret Key
    • The secret key generated by MinIO
    • Example: M25YaH3Nzv6PBgJTrIFCI4pi2hv1DfV3bqeRse3J
  • Endpoint
    • The protocol, hostname and port of your MinIO server
    • Example: 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
    • Example: /samplebucket

Create a New Credential in Hydrolix

Log into your Hydrolix cluster's UI.

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

Add the access key information you collected above.

Create a New Bucket in Hydrolix

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

Add the information you collected above. Make sure you set the cloud provider to "aws." The Region field is not 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.

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.

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