<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: EC2 Elastic Load Balancing for Fun and Profit</title>
	<atom:link href="http://elwoodicious.com/2009/11/23/ec2-elastic-load-balancing-for-fun-and-profit/feed/" rel="self" type="application/rss+xml" />
	<link>http://elwoodicious.com/2009/11/23/ec2-elastic-load-balancing-for-fun-and-profit/</link>
	<description>Those who can make you believe absurdities can make you commit atrocities. —Voltaire</description>
	<lastBuildDate>Wed, 30 Nov 2011 11:58:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: james</title>
		<link>http://elwoodicious.com/2009/11/23/ec2-elastic-load-balancing-for-fun-and-profit/comment-page-1/#comment-10489</link>
		<dc:creator>james</dc:creator>
		<pubDate>Tue, 29 Jun 2010 11:34:04 +0000</pubDate>
		<guid isPermaLink="false">http://elwoodicious.com/?p=2038#comment-10489</guid>
		<description>If that&#039;s the case then ELB over SSL is not the solution for your needs.</description>
		<content:encoded><![CDATA[<p>If that&#8217;s the case then ELB over SSL is not the solution for your needs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damia Soler</title>
		<link>http://elwoodicious.com/2009/11/23/ec2-elastic-load-balancing-for-fun-and-profit/comment-page-1/#comment-10488</link>
		<dc:creator>Damia Soler</dc:creator>
		<pubDate>Tue, 29 Jun 2010 11:24:33 +0000</pubDate>
		<guid isPermaLink="false">http://elwoodicious.com/?p=2038#comment-10488</guid>
		<description>My concerns are not about statistics, my main concern is about to know from which ip have been done one transaction, web attack or things like this.</description>
		<content:encoded><![CDATA[<p>My concerns are not about statistics, my main concern is about to know from which ip have been done one transaction, web attack or things like this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: james</title>
		<link>http://elwoodicious.com/2009/11/23/ec2-elastic-load-balancing-for-fun-and-profit/comment-page-1/#comment-10487</link>
		<dc:creator>james</dc:creator>
		<pubDate>Tue, 29 Jun 2010 09:41:15 +0000</pubDate>
		<guid isPermaLink="false">http://elwoodicious.com/?p=2038#comment-10487</guid>
		<description>The lack of IP address passing through? It&#039;s a trade off. We rely more on application logging for metrics rather than parsing Apache logs for pageviews and clickstreams. I&#039;d suppose that alternatively one could implement a 3rd party package like Google Analytics to obtain the same functions of AWStats et al. That said, if getting IP addresses in the logs for HTTPS is important then ELB is not the right solution; prior to this we used a simple round-robin method from our DNS provider which worked successfully for a number of years.</description>
		<content:encoded><![CDATA[<p>The lack of IP address passing through? It&#8217;s a trade off. We rely more on application logging for metrics rather than parsing Apache logs for pageviews and clickstreams. I&#8217;d suppose that alternatively one could implement a 3rd party package like Google Analytics to obtain the same functions of AWStats et al. That said, if getting IP addresses in the logs for HTTPS is important then ELB is not the right solution; prior to this we used a simple round-robin method from our DNS provider which worked successfully for a number of years.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damia Soler</title>
		<link>http://elwoodicious.com/2009/11/23/ec2-elastic-load-balancing-for-fun-and-profit/comment-page-1/#comment-10486</link>
		<dc:creator>Damia Soler</dc:creator>
		<pubDate>Tue, 29 Jun 2010 07:55:43 +0000</pubDate>
		<guid isPermaLink="false">http://elwoodicious.com/?p=2038#comment-10486</guid>
		<description>What about lack of logging on SSL load balance??

For me is a problem. How dou deal with that?</description>
		<content:encoded><![CDATA[<p>What about lack of logging on SSL load balance??</p>
<p>For me is a problem. How dou deal with that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: james</title>
		<link>http://elwoodicious.com/2009/11/23/ec2-elastic-load-balancing-for-fun-and-profit/comment-page-1/#comment-9651</link>
		<dc:creator>james</dc:creator>
		<pubDate>Mon, 23 Nov 2009 21:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://elwoodicious.com/?p=2038#comment-9651</guid>
		<description>Aw, fiddlesticks. Well, that puts another wrinkle in testing. I&#039;ll have loop back and wrestle with that a little more as I *think* it is entirely possible for Passenger to crap the bed but Apache keeps on happily serving files. :-/</description>
		<content:encoded><![CDATA[<p>Aw, fiddlesticks. Well, that puts another wrinkle in testing. I&#8217;ll have loop back and wrestle with that a little more as I *think* it is entirely possible for Passenger to crap the bed but Apache keeps on happily serving files. :-/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomo</title>
		<link>http://elwoodicious.com/2009/11/23/ec2-elastic-load-balancing-for-fun-and-profit/comment-page-1/#comment-9650</link>
		<dc:creator>Shlomo</dc:creator>
		<pubDate>Mon, 23 Nov 2009 21:50:56 +0000</pubDate>
		<guid isPermaLink="false">http://elwoodicious.com/?p=2038#comment-9650</guid>
		<description>Aw, crud - the XML tags got munged. How about this:

shlomo$ elb-describe-lbs --show-long
LOAD-BALANCER,testLB,testLB-1819819914.us-east-1.elb.amazonaws.com,&quot;{interval=10,target=TCP:8443,timeout=3,healthy-threshold=2,unhealthy-threshold=2}&quot;,us-east-1a,(nil),&quot;{protocol=HTTP,lb-port=80,instance-port=80, protocol=TCP,lb-port=443,instance-port=8443}&quot;,2009-11-23T21:44:24.420Z</description>
		<content:encoded><![CDATA[<p>Aw, crud &#8211; the XML tags got munged. How about this:</p>
<p>shlomo$ elb-describe-lbs &#8211;show-long<br />
LOAD-BALANCER,testLB,testLB-1819819914.us-east-1.elb.amazonaws.com,&#8221;{interval=10,target=TCP:8443,timeout=3,healthy-threshold=2,unhealthy-threshold=2}&#8221;,us-east-1a,(nil),&#8221;{protocol=HTTP,lb-port=80,instance-port=80, protocol=TCP,lb-port=443,instance-port=8443}&#8221;,2009-11-23T21:44:24.420Z</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomo</title>
		<link>http://elwoodicious.com/2009/11/23/ec2-elastic-load-balancing-for-fun-and-profit/comment-page-1/#comment-9649</link>
		<dc:creator>Shlomo</dc:creator>
		<pubDate>Mon, 23 Nov 2009 21:49:35 +0000</pubDate>
		<guid isPermaLink="false">http://elwoodicious.com/?p=2038#comment-9649</guid>
		<description>Very interesting - thanks for sharing this cool technique!

One issue: An ELB only supports a single health check at a time. So your second health check for up.html overrides the TCP:8443 health check. Here&#039;s the results when I try these commands on my ELB testLB:

shlomo$ elb-create-lb testLB --listener &quot;lb-port=80,instance-port=80,protocol=http&quot; --listener &quot;lb-port=443,instance-port=8443,protocol=tcp&quot; --availability-zones us-east-1a 
DNS-NAME  testLB-1819819914.us-east-1.elb.amazonaws.com

shlomo$ elb-configure-healthcheck testLB --headers --target &quot;HTTP:80/status&quot; --interval 5 --timeout 3 --unhealthy-threshold 2 --healthy-threshold 2 
HEALTH-CHECK  TARGET          INTERVAL  TIMEOUT  HEALTHY-THRESHOLD  UNHEALTHY-THRESHOLD
HEALTH-CHECK  HTTP:80/status  5         3        2                  2

shlomo$ elb-configure-healthcheck testLB --headers --target &quot;TCP:8443&quot; --interval 10 --timeout 3 --unhealthy-threshold 2 --healthy-threshold 2 
HEALTH-CHECK  TARGET    INTERVAL  TIMEOUT  HEALTHY-THRESHOLD  UNHEALTHY-THRESHOLD
HEALTH-CHECK  TCP:8443  10        3        2                  2

shlomo$ elb-describe-lbs --show-xml
    
      
        
          
            testLB
            testLB-1819819914.us-east-1.elb.amazonaws.com
            
              
                HTTP
                80
                80
              
              
                TCP
                443
                8443
              
            
            
              us-east-1a
            
            
            
              TCP:8443
              10
              3
              2
              2
            
            2009-11-23T21:44:24.420Z
          
        
      
      
        795ddb2e-d879-11de-b139-d72195628521
      
    

Only the second health check is retained.</description>
		<content:encoded><![CDATA[<p>Very interesting &#8211; thanks for sharing this cool technique!</p>
<p>One issue: An ELB only supports a single health check at a time. So your second health check for up.html overrides the TCP:8443 health check. Here&#8217;s the results when I try these commands on my ELB testLB:</p>
<p>shlomo$ elb-create-lb testLB &#8211;listener &#8220;lb-port=80,instance-port=80,protocol=http&#8221; &#8211;listener &#8220;lb-port=443,instance-port=8443,protocol=tcp&#8221; &#8211;availability-zones us-east-1a<br />
DNS-NAME  testLB-1819819914.us-east-1.elb.amazonaws.com</p>
<p>shlomo$ elb-configure-healthcheck testLB &#8211;headers &#8211;target &#8220;HTTP:80/status&#8221; &#8211;interval 5 &#8211;timeout 3 &#8211;unhealthy-threshold 2 &#8211;healthy-threshold 2<br />
HEALTH-CHECK  TARGET          INTERVAL  TIMEOUT  HEALTHY-THRESHOLD  UNHEALTHY-THRESHOLD<br />
HEALTH-CHECK  HTTP:80/status  5         3        2                  2</p>
<p>shlomo$ elb-configure-healthcheck testLB &#8211;headers &#8211;target &#8220;TCP:8443&#8243; &#8211;interval 10 &#8211;timeout 3 &#8211;unhealthy-threshold 2 &#8211;healthy-threshold 2<br />
HEALTH-CHECK  TARGET    INTERVAL  TIMEOUT  HEALTHY-THRESHOLD  UNHEALTHY-THRESHOLD<br />
HEALTH-CHECK  TCP:8443  10        3        2                  2</p>
<p>shlomo$ elb-describe-lbs &#8211;show-xml</p>
<p>            testLB<br />
            testLB-1819819914.us-east-1.elb.amazonaws.com</p>
<p>                HTTP<br />
                80<br />
                80</p>
<p>                TCP<br />
                443<br />
                8443</p>
<p>              us-east-1a</p>
<p>              TCP:8443<br />
              10<br />
              3<br />
              2<br />
              2</p>
<p>            2009-11-23T21:44:24.420Z</p>
<p>        795ddb2e-d879-11de-b139-d72195628521</p>
<p>Only the second health check is retained.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

