开发者

How make a one and the same www root folder in Amazon EC2?

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 fo开发者_开发知识库r one zone.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜