a1web
By:
a1web

Shared storage between Ubuntu servers

September 24, 2014 5.1k views

What process or program do you recommend for storing files on a shared folder between multiple servers? I have multiple Ubuntu servers that need to see the same file structure in real-time. Copying items to Amazon S3 is not an option. The servers are able to "talk" to each other across the private network. My thought is to make a dedicated droplet for just file storage and then symlink the other servers to the shared folder. Your advice is appreciated.

2 comments
2 Answers
by Etel Sverdlov
This tutorial covers setting up an NFS mount on Ubuntu 12.04. NFS mounts work to share a directory between several virtual servers. This has the advantage of saving disk space, as the home directory is only kept on one virtual private server, and others can connect to it over the network. When setting up mounts, NFS is most effective for permanent fixtures that should always be accessible.

Also check Kerberos to secure your nfs server

Have another answer? Share your knowledge.