I found a thing called Minio which can be used as your own Amazon S3 you can deploy on the servers you own.
Uploading a file with Laravel (scalable)
I have a Laravel app which I want to scale on several servers, and I want the user to be able to upload files here. I don't want to use the public disk, nor I want to use any of the Cloud services described in this documentation page:
https://laravel.com/docs/5.4/filesystem
I want to use my own server for file storage.
After the user puts her file in the form, the file will be temporarily uploaded to the app server, and then from there, uploaded the external storage server I want to deploy.
However, I don't know what kind of server to use.
Do I need a FTP/SFTP server? Do I need to use Redis or some kind of load balancer so that files are distributed in many servers? Can Laravel be configured for accessing a load balancer first (I think that documentation page only shows one FTP server)? What other server/protocol is popular to implement for this kind of things? Remember I don't want to use Cloud services, I want to use my own servers.
I have researched a lot and I've rarely seen someone mention FTP, so that's why I'm starting to doubt this would be a professional solution.
Basically I need some kind of "database for files" (as opposed to rows/documents in SQL and NoSQL databases).
Please or to participate in this conversation.