I have 2 VPS, and I would like set 1 VPS only save upload files. and another 1 only run discourse program.
Is there any way to do it?
Yt.w wants to separate uploaded files to another server, with one VPS for file storage and another for running Discourse. Don suggests using an S3-compatible object storage provider for uploads. Yt.w asks how to achieve this with another Linux server instead of S3. wal suggests several options for sharing files between two Linux servers, including NFS, SMB, SSHFS, and FUSE. However, wal and pfaffman recommend using S3 directly, as it eliminates the need for a second VPS for storage.
I have 2 VPS, and I would like set 1 VPS only save upload files. and another 1 only run discourse program.
Is there any way to do it?
Hello
Seems you looking for Configure an S3 compatible object storage provider for uploads
Hello, I understand it’s possible to save files to S3.
but how about if I want same files to another linux server?
Well to be clear, that’s not exactly the same question as what’s posed in the OP
If you simply want to share files between two Linux servers, there are a lot of options, which may or may not be appropriate for usage with Discourse running on separate VPS. Here’s a couple
In general I would just use S3 directly. You do not need to “run a second VPS just for storage” if you’re using S3
Not really. It would make more sense to have a load balancer and use both systems, but you’d still need assets smh uploads on s3.