Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running two or more Ubuntu Servers on Amazon EC2. They are all connected to an Elastic Load Balancer so all of the files on each server must be the same. Is there a way that I can just SFTP files to one Ubuntu server and have the files automatically sync across all servers?

share|improve this question
Welcome to the world of Linux System Administration. There's darn near as many ways to do this as stars in the sky. Pick one and dig through it and then look at some others and figure out which works best for your particular needs. – Magellan Nov 8 '12 at 21:21
up vote 3 down vote accepted

There are many synchronization methods or distributed file system solutions out there. Take a look at rsync and its friends for some of the most common sync methods. GlusterFS is a common distributed NAS/filestore solution.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.