Forum: 

Two Servers, One Data

Pionium's picture

Hi,

Is it possible to have two different server instances sharing one data area (EBS? S3? Other?)

I'd like to have a web server running on a Lamp stack, and another server running a compute intensive web service that provides data files for the web server, and I don't want the web server to be slowed down by the processing of the other service

Thanks in advance
 

Jeremy Davis's picture

Although I don't have enoungh experience with AWS to be entirely sure.

A simple app I use a lot with my servers (VMs running on local hardware) is sshfs. It allows you to connect to and mount a remote filesystems via SSH. It may not be the best way to go, but it should work.

Also I think if you wish to connect betweeen AWS instances you can use the private IPs (rather than the public ones) and you will not be charged (or at least charged less) for data transfer. I haven't tested that though...

Pionium's picture

Thanks for your pointers Jeremy. I'll start looking into your suggestions. These seem like great ideas. I'll let you know how I get on.

Thanks again

Post new comment