Storage guide

Connect a bucket on your MinIO server

If you run your own MinIO server, connect a bucket on it with a MinIO user whose policy allows only that bucket. This guide uses the MinIO client, mc, because the web console differs between MinIO versions.

Before you start

  • Your MinIO server must be reachable from the internet over HTTPS, with a valid certificate, on port 443, 8443 or 9000. We cannot connect to private addresses, such as 192.168.1.10, or to other ports.
  • The MinIO client (mc) on your computer, and an admin key for the server.

Step by step

  1. Add your server to mc with an admin key:
    mc alias set myminio https://minio.example.com ADMIN_ACCESS_KEY ADMIN_SECRET_KEY
  2. Create a bucket, or use one you have:
    mc mb myminio/media
  3. Save the policy below as corehost-policy.json and replace your-bucket-name with your bucket name (media in this example).
    {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "CoreHostListBucket",
          "Effect": "Allow",
          "Action": [
            "s3:ListBucket",
            "s3:ListBucketMultipartUploads"
          ],
          "Resource": "arn:aws:s3:::your-bucket-name"
        },
        {
          "Sid": "CoreHostReadWriteObjects",
          "Effect": "Allow",
          "Action": [
            "s3:GetObject",
            "s3:PutObject",
            "s3:DeleteObject",
            "s3:AbortMultipartUpload",
            "s3:ListMultipartUploadParts"
          ],
          "Resource": "arn:aws:s3:::your-bucket-name/*"
        }
      ]
    }
  4. Create the policy and a user for CoreHost, then attach the policy to the user. Choose a long secret of your own in place of A_LONG_RANDOM_SECRET.
    mc admin policy create myminio corehost-one-bucket corehost-policy.json
    mc admin user add myminio corehost-storage A_LONG_RANDOM_SECRET
    mc admin policy attach myminio corehost-one-bucket --user corehost-storage
  5. In the CoreHost control panel, go to Your storage and add a connection. Choose MinIO, fill in the fields as shown below and save.
  6. We save the connection and test it straight away. The result is one sentence, for example "Connected. 4 folders found. We can write here." If something is wrong, it says what, such as a key that was refused or a bucket that was not found.
  7. Open the app that should use the storage, go to its Storage section and attach the connection. Pick the folder in your storage, the path in the app (/mnt/storage unless the app needs another) and Read only if the app only needs to read. The folder appears in the running app within about 15 seconds, without a restart.

What to fill in

In Your storage, add a connection, choose MinIO and fill in these fields.

Name
Any name you like, for example MinIO media
Endpoint
Your server address, for example minio.example.com or minio.example.com:9000
Region
us-east-1, unless you set another region on your server
Bucket
The bucket name, media in the example
Access key ID
The user you created, corehost-storage in the example
Secret access key (kept encrypted, never shown again)
The secret you chose for that user
Folder (optional)
Leave it empty to use the whole bucket. You pick the folder for each app when you attach it.
Cache size (optional)
2, 5, 10 or 20 GiB. The default suits most apps. Pick a larger size for a media library that plays the same files again.
Read only (optional)
Tick it if the key or account can only read, so the test does not try to write

After you save, we never show a secret again: the panel shows only its last four characters. To change one, enter the new value. A secret you leave empty when you edit the connection keeps the stored one.

Good to know

  • MinIO uses us-east-1 as its region unless you changed it. If the test fails although the keys are right, check that Region matches your server.
  • The same policy works on other S3-compatible servers that support AWS style policies.

What your provider charges

Costs depend on where your MinIO server runs. Files your app reads travel from your server to ours, which may count towards your host's transfer allowance.

Backups

Connected storage is not part of CoreHost backups, which cover the app's own data only. Back up what is in your storage with your provider. Detaching a folder or removing a connection never deletes anything in your storage. How connected storage works.

Using the folder in your app

The folder appears at /mnt/storage unless you chose another path. Point the app at it, or at a folder inside it, for example a music or audiobook library. The overview has tips for media apps and explains the cache and what happens if your storage cannot be reached.

Sources

  1. MinIO Docs, mc alias set: adding a server to mc
  2. MinIO Docs, mc mb: creating a bucket
  3. MinIO Docs, mc admin policy create: creating a policy from an IAM-compatible JSON file
  4. MinIO Docs, mc admin user add: creating a user and its secret
  5. MinIO Docs, mc admin policy attach: attaching a policy to a user

We checked these steps against the provider's own documentation on 2 December 2026. Consoles change, so if something here is out of date, email support@corehost.io and we will correct it. MinIO is an independent company. CoreHost is not affiliated with MinIO, and this page is not endorsed by it.

Put your library to work

Every new account starts with $5 of credit, no card needed. Deploy an app such as Navidrome or Audiobookshelf, then connect your storage from the control panel.

Browse the apps