 It is March of 2024 and both TrueNAS core and TrueNAS scale have deprecated having built in minio or S3 object storage emulation that allows you to use your TrueNAS server as an S3 storage device. But they have moved it to being an application. This is why they deprecated it because applications are easier to update than updating the TrueNAS appliance itself. So this was done for security reasons. When they first did it, there were some bugs I will admit to have complained about that have now been addressed where certificates weren't working properly. Now that all this has been fixed, let's get started and show you how to set it up in TrueNAS scale. Are you an individual or forward-thinking company looking for expert assistance with network engineering, storage or virtualization projects? Perhaps you're an internal IT team seeking help to proactively manage, monitor or secure your systems. We offer comprehensive consulting services tailored to meet your specific project needs. Whether you require fully managed or co-managed IT services, our experienced team is ready to step in and help. We specialize in supporting businesses that need IT administration or IT team seeking an extra layer of support to enhance their operations. To learn more about any of our services, head over to our website and fill out the hire us form at loren systems.com. Let us start crafting the perfect IT solution for you. If you want to show some extra love for our channel, check out our swag store and affiliate links down below that will lead you to discounts and deals for products and services we've discussed on this channel. With the ad read out of the way, let's get you back to the content that you really came here for. Now the first thing I want to talk about is certificates because we got to go here to credentials and certificates and I created a certificate authority called MinIO and then I created a certificate called MinIO. These are just self-signed certificates. If you wanted to have a signed certificate, there are options here under the ACME DNS. You can use Cloudflare Route 53 OVH or your own shell script to do this. Diving in further to this is out of scope. So is a reverse proxy. Those are other options you can have for this, but you can put certificates in here. I'm simply going to go the self-signed certificate route. And as I said, it's as simple as adding the authority, follow the questions and then go ahead and add the certificate here. You can just use the true and ask default certificate. That is an option. I just prefer to have a dedicated certificate for the MinIO. Next, we want to go over to our data sets and I'm going to create it here on this particular pool called SSDC. So let's go ahead and add a data set. We're going to call that data set MinIO YouTube demo. I'll just give it the same comment. We'll leave everything here at default and then scroll down here. We want to change the share type to application. That's important because this is going to be dedicated to the S3 app and this will set the permissions automatically. So we're going to hit and hit save here. Now we can go over to the applications, go to discover apps, type in min, you'll find the MinIO high performance native object storage. Go ahead and choose install. And we'll give it a name demo. You can have more than one. So if you wanted this dedicated to the first demo and call it demo one, another demo and call it demo two or maybe more aptly calling it something like Synology, you can have an instance provided you don't reuse supports for each one, but we're just going to call this one demo because we're only going to do one instance for this demonstration here. We'll scroll down, leave these things all at default. And now we have to set a root password and root user will give it the name bucket list. And we'll use this as our password. Then we're going to scroll down a little further, we're going to leave these at default because it's the only instance I have but these can be changed to something different you want. And here is our TrueNAS default certificate, but I'm going to choose the MinIO certificate. And then we're going to scroll down further. And we're going to enable host path volume. And we're going to choose that particular pool and this MinIO YouTube demo as the data set. And we'll scroll down here to the bottom and simply click install. All right, now the application is up to date, we're going to go ahead and click on the web portal and use the credentials that we put in. And we're going to go ahead and create a bucket. And we'll call this bucket xcpng because that's what I'm going to use as a test. I'm not going to worry about any of the other functions in here, but we'll head and create a bucket. And while we're here is I want to do another test with Synology. So we'll create a bucket for Synology. And now we have two buckets here. I'm not going to spend a lot of time going through all the functions here because you can find this all in the documentation of MinIO and all the extra features you can do. I just wanted to get the basics covered here to get you this far, but you can create specific access keys and get granular with permissions that's all built in here as well. Now I'm going to go over here to my demo system and just show you that it works. We're going to go ahead and create an Amazon web services S3. We'll give it the name S3 YouTube demo. We'll scroll down here. We got to give it an endpoint. I'm doing this by IP address. So this is the IP address of the churnass server and colon 9000 is the port. That's the default port setup for the MinIO instance. And we're going to head and allow an unauthorized certificate so we don't get an error. The bucket name we created was xcpng. The directory I want this in is just going to be called backups. The access ID, I didn't create a new one. So I'm just going to use the credentials we created for MinIO, which was bucket list and this password. And we can hit save configuration. We can see that it's green and then we can do the test remote and it appears to work correctly. It is able to write to this. So now I'm able to use these backups. This works much the same with Synology. We're going to go here to hit plus. Go ahead and do next. Choose S3 storage. We want to change it to custom server URL. Server address is going to be the same. For Synology, we put an HTTPS in front of that. We want to choose version B4. Access key is bucket list. The secret is that same password. And when we hit the pull downs, there's our xcpng and Synology buckets. We want to choose the Synology one and you can call this whatever you want. Go ahead and hit next. And we can choose what we want to back up on this particular system. Give the task a name next. I like the smart recycle option. Go ahead and hit next. Done. Say yes. And you can see now our Synology is backing up. All right. Our Synology has successfully done the backup and we can go back over to MinIO and see the reported usage or we can go to our object browser and see the different objects in this particular bucket. I didn't run a xcpng backup so there's still no objects in there. But this pretty much gives you an idea how you can use this. Now, one more thing I want to note over here in our TrueNAS, if we go to data sets and we look at that data set we created, the MinIO YouTube demo data, you'll see it says owner 473 and group 473. This is the user for MinIO. You don't have to do anything or create this user. It's already there. But if you change it, you will break it. Just want to note if you're wondering why that appeared there is it doesn't use the normal apps. It actually creates its own user. Nothing you have to do, just something I wanted to note. Now, I did this video using TrueNAS scale 2310. But I have tested the beta 24, which is due to be out in about a month from now. And maybe you're watching this in the future when it's already out. The creation process looks the same in the beta. So if the video needs an update, let me know in the comments down below, or maybe I'll have already got a new video out. Also worth noting, MinIO is really cool. Really nice open source project has a lot of documentation. I kept it simple by only covering the getting started. But yes, there's a whole lot more you can do with MinIO. Leave some comments down below if there's something else you want me specifically to cover, or maybe this let me know what your use case is for it and what you have tied to your S3 object storage. Like and subscribe to see more content from this channel. Head over to my forums, forums.lorensystems.com, to have a more in depth discussion about this or other topics you've seen on the channel. And thanks.