Skip to content

Ask AI

Powered by Blaze

Answers come from E2E Cloud documentation. AI can make mistakes.

Connect to a repository with the MinIO CLI or s3cmd

View as Markdown

Connect the MinIO CLI (mc) or s3cmd to a repository from your own computer or from an instance. The repository’s files are in an E2E Object Storage bucket, so any S3-compatible CLI or SDK works. The portal recommends the MinIO CLI.

In TIR, open your project. In the side menu, under Inference, select Model Repository, then select the repository and open the Using CLI tab. It has ready-to-paste commands for the MinIO CLI and for s3cmd, with this repository’s endpoint and keys filled in. The secret key is written out in full, so keep what you copy to yourself.

Setup Minio CLI walks you through installing mc on Linux, macOS, or Windows, then saving the repository’s endpoint and keys under the repository’s name, so you can upload, list, and download files.

The commands have this shape. Replace each placeholder with the value the portal prints.

  • <repository-name> is the name mc saves on your computer for this endpoint and key pair. You can choose any name; it is stored only on your computer.
  • <bucket-name> is the repository’s Bucket Name from the Overview tab.
  • <local-folder> is a folder on your computer.
mc alias set <repository-name> <EOS endpoint> <access key> <secret key>
mc cp -r <local-folder> <repository-name>/<bucket-name>
mc ls <repository-name>/<bucket-name>/
mc cp -r <repository-name>/<bucket-name> <local-folder>

The first command connects, the second uploads a folder, the third lists the files, and the fourth downloads them. For an mc release older than RELEASE.2025-05-21T01-59-54Z, use mc config host add in place of mc alias set. The macOS tab shows this note.

mc config host add <repository-name> <EOS endpoint> <access key> <secret key>

Setup s3cmd gives three blocks to put in your s3cmd settings file. The first sets the host and bucket host to the EOS Endpoint and turns HTTPS on. The second holds your keys. The third turns off the older signature, so s3cmd uses the S3 v4 signature.

host_base = <EOS endpoint>
host_bucket = <EOS endpoint>
use_https = True
access_key = <access key>
secret_key = <secret key>
signature_v2 = False

Copy a folder in, then open the Model Files tab and refresh the page to see the files. You can also list the repository with your tool to confirm the upload finished.

Your tool is now connected. For folder layouts, versions, and the SDK, see Upload model files. For help with a message, see Troubleshooting Model Repository.

Was this page helpful?