I have 2 instances in different zones, and I want make for they same www root folder. How I can do this?
ps EBS could attached just for one zone.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you use Amazon VPS to manage your servers across different availability zones, I guess you could use NFS to mount a common doc root across all your instances running your webservers (assuming you’re running Linux).
So basically after you have setup NFS, mount the directory on your individual EC2 instances running httpd and point the docroot to the mounted directory.
See http://www.migrate2cloud.com/blog/how-to-setup-nfs-server-on-aws-ec2 to get an idea of what this would entail.
I have not personally attempted this myself so take what I said with a grain of Na2Cl