Get a Quote     (408) 943-4100               TrueNAS Discord      VendOp_Icon_15x15px   Commercial Support Toggle between Light and Dark mode

Configuring S3 Service

  3 minute read.

Last Modified 2022-12-12 11:00 EST

S3 allows you to connect to TrueNAS from a networked client system with the MinIO browser, s3cmd, or S3 browser.

S3 is an object storage protocol that many major cloud providers like Amazon Web Services™ use. On TrueNAS, the service is another way to store files and can be viewed with a web browser. Because S3 is the de facto standard for cloud-based storage, setting up an S3 service allows organizations or online application developers to use TrueNAS to replace or archive expensive cloud storage.

Setting up the S3 service

Having large numbers of files (>100K for instance) in a single bucket with no sub-directories can harm performance and cause stability issues.

Go to the System Settings > Services and find S3, then click to open the Services > S3 screen to configure the service.


First, select a clean dataset, one that does not have existing data files. If you do not have a clean dataset, create a dataset. MinIO manages files as objects that you cannot mix with other dataset files.

Configure the remaining options as needed in your environment and start the service after saving any changes.

Making MinIO Connections

When Enable Browser is selected, test the MinIO browser access by opening a web browser and typing the TrueNAS IP address with the TCP port. You must allow the port entered in the Services > S3 screen Port through the network firewall to permit creating buckets and uploading files. Example:

MinIO supports two different connection methods.

Using s3cmd

Linux or macOS users must have the s3cmd service installed before beginning this setup. On Windows, users can also refer to S3Express for a similar command-line experience.

Ubuntu or other Linux distributions can access the configuration by running s3cmd --configure to walk through critical settings.

Enter the specified access key and the secret key. Enter the TrueNAS IP address followed by TCP port under S3 Endpoint, and reply N to the DNS-style bucket+hostname.

Save the file. On Linux, the default is in the home directory ~/.s3cfg.

If the connection has issues, open .s3cfg again to troubleshoot. In Ubuntu, use nano .s3cfg or vi .s3cfg or gedit .s3cfg depending on the preferred text editor. For other operating systems, .s3cfg file location and editing tools might vary.

Scroll down to the host_bucket area and ensure the configuration removed the %(bucket)s. portion and the address points to the IP_address:TCP_port for the system.

Correct Example

host_base = ``
host_bucket = ``

Incorrect Example

host_base = ``
host_bucket = `%(bucket)s.`

Poll the buckets using s3cmd ls to see the buckets created with the MinIO browser.

For more information on using MinIO with s3cmd, see and

Using S3 Browser (Windows)

The Windows PC S3 browser is another convenient way to connect to the MinIO S3 from TrueNAS.

To set it up, first install the S3 browser.

After installation completes, add a new account.


In the settings, select S3 Compatible Storage as the Account Type, then enter the MinIO access point similar to the s3cmd setup (TrueNAS_IP_address:9000 or other port if set differently). Select the SSL settings appropriate for the particular setup. The S3 browser assumes SSL by default, but it can be unset for a LAN attached session.


It is possible to access, create new buckets, or upload files to created buckets.


Related Content