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?

  • 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

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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