Run S3 Object Storage on FreeNAS and TrueNAS

S3 is an object storage provided by many major cloud providers including Amazon Web Services™ and is well suited for storing unstructured data like multimedia files (video, audio, photos) and big data. TrueNAS and FreeNAS run Minio object storage as a native service, allowing NAS storage to act as an S3 storage target with standard S3 APIs.

The video below and the more-detailed quick guide discuss how to set up the S3 service on FreeNAS, as well as how to connect several S3 tools to the storage.

With Plugins, Jails, Docker, VMs, S3 object storage, and cost savings of up to 80% compared to renting cloud storage, FreeNAS and TrueNAS are the perfect storage platforms for developers and web service providers.


  1. Eduard

    This procedure doesn’t work on Truenas – the access credentials are not transferred from GUI to the minio configuration text file.

    • Joe

      May need to check the version. Using 11.1U5 and beyond works and the config will work at the Minio web portal log in.

  2. Sven

    I really miss the ability to create more than one instance of Minio. Minio itself does not support multiple accesskeys/rights so you have to use multiple instances to keep permissions seperated. I know it is possible to use docker to add more instances, but it is more clean to support it directly from FreeNAS/TrueNAS.

    • Joe

      Agree with that! It is possible using the command line to create multiple instances. Since they could close when the terminal is closed, we wouldn’t recommend, but for testing purposes, in FreeNAS 11.2 you can use ‘export MINIO_ACCESS_KEY=’ ‘export MINIO_SECRET_KEY=’ then ‘minio server http://:9000/dataset‘. This is unsupported at the moment, but perfectly usable if you need to set up a few more test groups. These groups should stay in the FreeNAS even if they get closed, but again this isn’t the supported way of doing things, so do NOT recommend putting any critical data in an instance just running from command line.


    This was much easier than I thought it would be! S3 combined with a local SMB share makes my life easier but I am missing the last piece:
    How can I access the S3 storage when all development is based on the amazon-sdk? That only allows you to access the actual amazon regions.
    Am I missing something?

  4. Anthony

    What ports are necessary to open to allow devices to access the buckets from the outside.


Submit a Comment

Your email address will not be published. Required fields are marked *