Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Is it possible to host my site www.example.com that sells T-Shirts on multiple services simultaneously e.g. AWS EC2 (or Heroku) & my personal box (let's call it MyBox)?
I would typically serve the user from my MyBox but if it goes down or it's overloaded, the additional traffic would be routed to AWS. How will the databases stay coherent in this case?

share|improve this question
    
The question in the title doesn't completely match the question in the first sentence, and there's two more that would require broad, opinion-based answers... Can you edit it down to just one specific question? –  dan Sep 14 '13 at 6:39
1  
@dan Edited title & detail. –  buffer Sep 14 '13 at 7:32
    
Theoretically, you are looking for a smart load balancer. The load balancer has x MyBox(es) and y AWS_Box(es). Only when MyBox(es) are unreachable/overloaded send traffic to AWS_Box(es). Although I have never played with an LB myself, I assume this should be supported by them. –  TJ- Sep 14 '13 at 12:16
    
Where would the LB run? Ideally at DNS level? –  buffer Sep 14 '13 at 16:13
add comment

1 Answer 1

Check out Scalr, it auto scales servers, https://www.youtube.com/watch?v=DiLXsNtt-JE

It's open source, but they also have a hosted version.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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