TurnKey Linux Virtual Appliance Library

Two Servers, One Data

andrew.king's picture


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

There probably is

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

Great Advice

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

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)