NFS Mount versus Private Networking

Posted August 5, 2014 2.8k views

I was wondering if any of you seasoned admins could compare these 2 approaches in terms of speed, bandwidth usage, security etc. I have an idea but don’t really know enough to take action so maybe you could point out advantages and disadvantages of each option in general. Also, more specifically, if I want to serve a few domains with very low traffic from apache in droplet A, while storing the files on droplet B, what ’d you recommend? Thanks in advance.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

The two are unrelated.

Can you describe what problem you’re trying to solve?

(AKA, why can’t you do this on one droplet, what do you hope to achieve with a second one, etc)

The situation is something like that: two small-scale droplets, A and B.
A runs apache and a few low traffic domains.
B runs only mysql and a few other maintenance services.

Both have very low average CPU usage.
As for the disk space, droplet A is starting to run low while droplet B still has a lot of free space. So I could make a NFS mount to access disk B on droplet A and use it to serve one or two low traffic domains. I guess this could be achieved through private networking too. Is this a really bad idea? Thanks again.