<?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/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	
	>
<channel>
	<title>
	Comments on: Failover DNS and Route 53 = Zero Downtime	</title>
	<atom:link href="https://davekz.com/failover-dns-and-route-53/feed/" rel="self" type="application/rss+xml" />
	<link>https://davekz.com/failover-dns-and-route-53/</link>
	<description>The Trials and Tribulations of a Programming Ninja</description>
	<lastBuildDate>Sat, 21 Oct 2017 03:41:12 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.5</generator>
	<item>
		<title>
		By: Jason Barone		</title>
		<link>https://davekz.com/failover-dns-and-route-53/#comment-51008</link>

		<dc:creator><![CDATA[Jason Barone]]></dc:creator>
		<pubDate>Sat, 21 Oct 2017 03:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.david.kryzaniak.com/?p=313#comment-51008</guid>

					<description><![CDATA[Agreed with the 2 comments above.  Not every company respects TTL on your dns and it will be some time before the original equipment stops receiving requests.  One decent option is to fail over DNS and wait 48 hours while having both systems live.  After 48 hours, monitor traffic on the old system and then you can possibly avoid a large percentage of your customers experiencing downtime.  I dunno, what do you guys think of that solution?]]></description>
			<content:encoded><![CDATA[<p>Agreed with the 2 comments above.  Not every company respects TTL on your dns and it will be some time before the original equipment stops receiving requests.  One decent option is to fail over DNS and wait 48 hours while having both systems live.  After 48 hours, monitor traffic on the old system and then you can possibly avoid a large percentage of your customers experiencing downtime.  I dunno, what do you guys think of that solution?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dario Nascimento		</title>
		<link>https://davekz.com/failover-dns-and-route-53/#comment-50059</link>

		<dc:creator><![CDATA[Dario Nascimento]]></dc:creator>
		<pubDate>Thu, 05 Oct 2017 13:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.david.kryzaniak.com/?p=313#comment-50059</guid>

					<description><![CDATA[Underlining the Dan Esparza comment. 
DNS is not a high availability solution, it&#039;s a fault tolerance solution. You will have downtime and probably many applications, e.g. Java, which don&#039;t refresh their DNS cache easily or don&#039;t respect the TTL, will crash. If you aim for zero downtime, you need a Proxy Load Balance. However, that LB may fail. 
If HA is a real concern, then you want to use Anycast (CloudFlare, Akamai, Google Global Load Balancer are options)]]></description>
			<content:encoded><![CDATA[<p>Underlining the Dan Esparza comment.<br />
DNS is not a high availability solution, it&#8217;s a fault tolerance solution. You will have downtime and probably many applications, e.g. Java, which don&#8217;t refresh their DNS cache easily or don&#8217;t respect the TTL, will crash. If you aim for zero downtime, you need a Proxy Load Balance. However, that LB may fail.<br />
If HA is a real concern, then you want to use Anycast (CloudFlare, Akamai, Google Global Load Balancer are options)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Muhammad Azhar		</title>
		<link>https://davekz.com/failover-dns-and-route-53/#comment-48570</link>

		<dc:creator><![CDATA[Muhammad Azhar]]></dc:creator>
		<pubDate>Tue, 05 Sep 2017 06:20:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.david.kryzaniak.com/?p=313#comment-48570</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://davekz.com/failover-dns-and-route-53/#comment-45307&quot;&gt;Miguel&lt;/a&gt;.

It would only cost you $0.50 per month for a single health check that you have created. It won&#039;t be $4320.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://davekz.com/failover-dns-and-route-53/#comment-45307">Miguel</a>.</p>
<p>It would only cost you $0.50 per month for a single health check that you have created. It won&#8217;t be $4320.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dan Esparza		</title>
		<link>https://davekz.com/failover-dns-and-route-53/#comment-46865</link>

		<dc:creator><![CDATA[Dan Esparza]]></dc:creator>
		<pubDate>Thu, 02 Mar 2017 17:40:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.david.kryzaniak.com/?p=313#comment-46865</guid>

					<description><![CDATA[The title is misleading -- DNS updates alone will not result in zero downtime.  Browsers, operating systems and other DNS servers cache DNS information all the time.  To truly have zero downtime will involve some kind of high availability proxy, like HA Proxy or a Cisco load balancer.]]></description>
			<content:encoded><![CDATA[<p>The title is misleading &#8212; DNS updates alone will not result in zero downtime.  Browsers, operating systems and other DNS servers cache DNS information all the time.  To truly have zero downtime will involve some kind of high availability proxy, like HA Proxy or a Cisco load balancer.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Miguel		</title>
		<link>https://davekz.com/failover-dns-and-route-53/#comment-45307</link>

		<dc:creator><![CDATA[Miguel]]></dc:creator>
		<pubDate>Wed, 17 Aug 2016 07:39:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.david.kryzaniak.com/?p=313#comment-45307</guid>

					<description><![CDATA[Hi, excuse me, about the health checks I don&#039;t understand understand what counts as a &quot;health check&quot;, for example, if I need to check http status of a single server every 5 minutes then there is 8640 health checks in a month (and I need to pay 0.50 per health check / month 4320 USD?)? Or it&#039;s only 1 health check because it&#039;s the same server all the time? Thanks in advance.]]></description>
			<content:encoded><![CDATA[<p>Hi, excuse me, about the health checks I don&#8217;t understand understand what counts as a &#8220;health check&#8221;, for example, if I need to check http status of a single server every 5 minutes then there is 8640 health checks in a month (and I need to pay 0.50 per health check / month 4320 USD?)? Or it&#8217;s only 1 health check because it&#8217;s the same server all the time? Thanks in advance.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: David Kryzaniak		</title>
		<link>https://davekz.com/failover-dns-and-route-53/#comment-378</link>

		<dc:creator><![CDATA[David Kryzaniak]]></dc:creator>
		<pubDate>Fri, 13 Sep 2013 17:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.david.kryzaniak.com/?p=313#comment-378</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://davekz.com/failover-dns-and-route-53/#comment-377&quot;&gt;Greg McEwan-Marriott&lt;/a&gt;.

That&#039;s a tricky problem... Before I get into the technical option, have you considered CloudFlare?

First, I&#039;m not sure Route53 is going to help much. Instead, you&#039;re going to need an Elastic Load Balancer http://aws.amazon.com/elasticloadbalancing. This truly splits traffic between instance. 50% of the traffic goes to &#039;EC2-One&#039; and 50% of the traffic goes to &#039;EC2-Two&#039;. Route53 Failover is more for &quot;When EC2-One goes offline, switch all traffic to EC2-Two&quot;.

With traffic split, you can get away with several (2 or more) slower EC2 instances. To keep your 2 (or more) servers in sync you need to have 1 database (My example: http://www.dave.kz/wp-relational-database-service/) and you need to RSYNC the files between the 2 machines. Here&#039;s decent example of the whole setup: http://cykod.com/blog/post/2010-09-blogging-in-the-cloud-scaling-wordpress3]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://davekz.com/failover-dns-and-route-53/#comment-377">Greg McEwan-Marriott</a>.</p>
<p>That&#8217;s a tricky problem&#8230; Before I get into the technical option, have you considered CloudFlare?</p>
<p>First, I&#8217;m not sure Route53 is going to help much. Instead, you&#8217;re going to need an Elastic Load Balancer <a href="http://aws.amazon.com/elasticloadbalancing" rel="nofollow ugc">http://aws.amazon.com/elasticloadbalancing</a>. This truly splits traffic between instance. 50% of the traffic goes to &#8216;EC2-One&#8217; and 50% of the traffic goes to &#8216;EC2-Two&#8217;. Route53 Failover is more for &#8220;When EC2-One goes offline, switch all traffic to EC2-Two&#8221;.</p>
<p>With traffic split, you can get away with several (2 or more) slower EC2 instances. To keep your 2 (or more) servers in sync you need to have 1 database (My example: <a href="http://www.dave.kz/wp-relational-database-service/" rel="nofollow ugc">http://www.dave.kz/wp-relational-database-service/</a>) and you need to RSYNC the files between the 2 machines. Here&#8217;s decent example of the whole setup: <a href="http://cykod.com/blog/post/2010-09-blogging-in-the-cloud-scaling-wordpress3" rel="nofollow ugc">http://cykod.com/blog/post/2010-09-blogging-in-the-cloud-scaling-wordpress3</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Greg McEwan-Marriott		</title>
		<link>https://davekz.com/failover-dns-and-route-53/#comment-377</link>

		<dc:creator><![CDATA[Greg McEwan-Marriott]]></dc:creator>
		<pubDate>Fri, 13 Sep 2013 16:02:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.david.kryzaniak.com/?p=313#comment-377</guid>

					<description><![CDATA[Going to try this.... sounds good ty.... One question, our site is a very very busy social buddypress site running on wordpress multisite... A) How would we keep the 2 servers, as in content in DB synced? and i don&#039;t mean replicating, if you have a social site e.g FB, how would you create failsafe fallover in AWS on EC2 then? 

The other issue I have is we run EC2 instance costing us a bit as we are running a larger server, so creating another instance would double our costs? Would really need some advice here]]></description>
			<content:encoded><![CDATA[<p>Going to try this&#8230;. sounds good ty&#8230;. One question, our site is a very very busy social buddypress site running on wordpress multisite&#8230; A) How would we keep the 2 servers, as in content in DB synced? and i don&#8217;t mean replicating, if you have a social site e.g FB, how would you create failsafe fallover in AWS on EC2 then? </p>
<p>The other issue I have is we run EC2 instance costing us a bit as we are running a larger server, so creating another instance would double our costs? Would really need some advice here</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Lucky		</title>
		<link>https://davekz.com/failover-dns-and-route-53/#comment-188</link>

		<dc:creator><![CDATA[Lucky]]></dc:creator>
		<pubDate>Wed, 29 May 2013 08:58:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.david.kryzaniak.com/?p=313#comment-188</guid>

					<description><![CDATA[Halo David, Thanks a lot for information that you share through this article. actually,if you don&#039;t mind i would like to ask for your help david. I&#039;m planning to create a failover from one aws account to another aws account with the help of Route 53 feature. I have tried your explanation, by inputting one elastic ip as primary and other elastic ip from other aws account as secondary so that when the health check assign failure the site will goes to my seconday aws account. but still i can&#039;t get the failover function works properly in my aws account. please kindly inform me about how to manage it so that the failover can work properly in my aws account. thank you very much david.]]></description>
			<content:encoded><![CDATA[<p>Halo David, Thanks a lot for information that you share through this article. actually,if you don&#8217;t mind i would like to ask for your help david. I&#8217;m planning to create a failover from one aws account to another aws account with the help of Route 53 feature. I have tried your explanation, by inputting one elastic ip as primary and other elastic ip from other aws account as secondary so that when the health check assign failure the site will goes to my seconday aws account. but still i can&#8217;t get the failover function works properly in my aws account. please kindly inform me about how to manage it so that the failover can work properly in my aws account. thank you very much david.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: David Kryzaniak		</title>
		<link>https://davekz.com/failover-dns-and-route-53/#comment-60</link>

		<dc:creator><![CDATA[David Kryzaniak]]></dc:creator>
		<pubDate>Fri, 03 May 2013 16:08:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.david.kryzaniak.com/?p=313#comment-60</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://davekz.com/failover-dns-and-route-53/#comment-57&quot;&gt;CP&lt;/a&gt;.

Hmm... I&#039;d guess there&#039;s something wrong with your health check (but it&#039;s hard to tell with out seeing it). Does /index.php work? Doubt that will change anything, but it&#039;s worth a shot. I can take a look if you&#039;d like. Shoot me an email at (my first name which starts and ends in the letter &quot;D&quot;)@kryzaniak.com]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://davekz.com/failover-dns-and-route-53/#comment-57">CP</a>.</p>
<p>Hmm&#8230; I&#8217;d guess there&#8217;s something wrong with your health check (but it&#8217;s hard to tell with out seeing it). Does /index.php work? Doubt that will change anything, but it&#8217;s worth a shot. I can take a look if you&#8217;d like. Shoot me an email at (my first name which starts and ends in the letter &#8220;D&#8221;)@kryzaniak.com</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: CP		</title>
		<link>https://davekz.com/failover-dns-and-route-53/#comment-57</link>

		<dc:creator><![CDATA[CP]]></dc:creator>
		<pubDate>Thu, 02 May 2013 16:33:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.david.kryzaniak.com/?p=313#comment-57</guid>

					<description><![CDATA[Thanks for the article David, very informative.....however, I have not been successful in setting up the failover between Primary and Secondary following a configuration almost identical to yours. I am attempting to have Primary and Secondary in different regions, but from a Route 53 perspective this shouldn&#039;t have any impact on the configuration AFAIK. What is happening is that the Secondary is always the active server, even if the Primary is actually healthy. My health check appears to be correct....only difference between your and mine is the IPs, and I set the path to / instead of /index.html.  I can take the Primary URL that is composed by the health check and plug it into my browser, and the Primary site comes up fine, but if I try to browse by the real host name  whose IP is now determined by Route 53 health check, the Secondary site always comes up. My best guess is that the health check is failing, but have no idea why. I&#039;ve tried Googling for an answer, but I  guess the failover feature is still new enough that there aren&#039;t many posts related to people&#039;s experiences using it yet. Anyways, if anybody has any suggestions, I&#039;d appreciate you posting them!]]></description>
			<content:encoded><![CDATA[<p>Thanks for the article David, very informative&#8230;..however, I have not been successful in setting up the failover between Primary and Secondary following a configuration almost identical to yours. I am attempting to have Primary and Secondary in different regions, but from a Route 53 perspective this shouldn&#8217;t have any impact on the configuration AFAIK. What is happening is that the Secondary is always the active server, even if the Primary is actually healthy. My health check appears to be correct&#8230;.only difference between your and mine is the IPs, and I set the path to / instead of /index.html.  I can take the Primary URL that is composed by the health check and plug it into my browser, and the Primary site comes up fine, but if I try to browse by the real host name  whose IP is now determined by Route 53 health check, the Secondary site always comes up. My best guess is that the health check is failing, but have no idea why. I&#8217;ve tried Googling for an answer, but I  guess the failover feature is still new enough that there aren&#8217;t many posts related to people&#8217;s experiences using it yet. Anyways, if anybody has any suggestions, I&#8217;d appreciate you posting them!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Page Caching using disk: enhanced 

Served from: davekz.com @ 2024-07-11 06:17:26 by W3 Total Cache
-->