<div dir="ltr">Well because I don't really own any of the IP's as well as they are on disparate networks. Amazon's elastic IP solves my problem since I can repoint it at will, however last time amazon had an outage their console went down as well which made that impossible.<div>

<br></div><div>Dave</div></div><div class="gmail_extra"><br clear="all"><div>Dave Cramer</div>
<br><br><div class="gmail_quote">On Mon, Jan 14, 2013 at 3:26 PM, Fernando Duran <span dir="ltr"><<a href="mailto:liberosec-FFYn/CNdgSA@public.gmane.org" target="_blank">liberosec-FFYn/CNdgSA@public.gmane.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im"><br>
>________________________________<br>
> From: Dave Cramer <<a href="mailto:davecramer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org">davecramer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>><br>
>To: <a href="mailto:tlug-lxSQFCZeNF4@public.gmane.org">tlug-lxSQFCZeNF4@public.gmane.org</a><br>
</div>>Sent: Monday, January 14, 2013 2:58:55 PM<br>
>Subject: Re: [TLUG]: High Availability of a web server on a distributed cloud<br>
<div class="im">><br>
><br>
>Well I don't want to use a single provider such as amazon. Which makes things more difficult.<br>
<br>
</div>More difficult how? if it's because you're more dependent of a particular provider/solution I understand. <br>
<br>
<br>
Cheers,<br>
<div class="HOEnZb"><div class="h5"><br>
---------------------<br>
Fernando Duran<br>
<a href="http://www.fduran.com" target="_blank">http://www.fduran.com</a><br>
<br>
<br>
<br>
><br>
><br>
>So the problem is essentially how to duplicate their elastic ip's<br>
><br>
><br>
><br>
>Dave Cramer<br>
><br>
><br>
>On Mon, Jan 14, 2013 at 2:51 PM, Fernando Duran <<a href="mailto:liberosec-FFYn/CNdgSA@public.gmane.org">liberosec-FFYn/CNdgSA@public.gmane.org</a>> wrote:<br>
><br>
>If the application is HTTP a relatively simple solution is to use nginx as a load balancer <a href="http://blog.jsdelivr.com/2013/01/nginx-load-balancing-basics.html" target="_blank">http://blog.jsdelivr.com/2013/01/nginx-load-balancing-basics.html</a> plus some hearbeat/monitoring to detect/alert when a node goes down.<br>


>><br>
>>High availability is an excellent area to learn about networking/scripting/trade-off decisions etc but it's very hard to get right, esp. the first time. I think is very worth it using the cloud provider's solutions, like Amazon's (or Rackspace's) load balancers and autoscaling.<br>


>><br>
>>---------------------<br>
>>Fernando Duran<br>
>><a href="http://www.fduran.com" target="_blank">http://www.fduran.com</a><br>
>><br>
>><br>
>>>________________________________<br>
>>> From: Dave Cramer <<a href="mailto:davecramer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org">davecramer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>><br>
>>>To: <a href="mailto:tlug-lxSQFCZeNF4@public.gmane.org">tlug-lxSQFCZeNF4@public.gmane.org</a><br>
>>>Sent: Monday, January 14, 2013 8:57:39 AM<br>
>>>Subject: [TLUG]: High Availability of a web server on a distributed cloud<br>
>><br>
>>><br>
>>><br>
>>>It is relatively simple to distribute an application to a number of servers and use haproxy to switch ip's. What I can't figure out is how to switch make sure that the IP that points to ha-proxy can be moved easily if that machine fails ?<br>


>>><br>
>>><br>
>>>DNS round robin doesn't exactly work. I have a very limited understanding of BGP is it possible to do without BGP ?<br>
>>><br>
>>><br>
>>><br>
>>>Dave Cramer<br>
>>><br>
>>> <br>
>><br>
>>--<br>
>>The Toronto Linux Users Group.      Meetings: <a href="http://gtalug.org/" target="_blank">http://gtalug.org/</a><br>
>>TLUG requests: Linux topics, No HTML, wrap text below 80 columns<br>
>>How to UNSUBSCRIBE: <a href="http://gtalug.org/wiki/Mailing_lists" target="_blank">http://gtalug.org/wiki/Mailing_lists</a><br>
>><br>
><br>
><br>
> <br>
--<br>
The Toronto Linux Users Group.      Meetings: <a href="http://gtalug.org/" target="_blank">http://gtalug.org/</a><br>
TLUG requests: Linux topics, No HTML, wrap text below 80 columns<br>
How to UNSUBSCRIBE: <a href="http://gtalug.org/wiki/Mailing_lists" target="_blank">http://gtalug.org/wiki/Mailing_lists</a><br>
</div></div></blockquote></div><br></div>