{"id":265318,"date":"2021-06-03T04:08:00","date_gmt":"2021-06-03T01:08:00","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/why-you-should-use-aws-route-53-over-a-dumb-dns-cloudsavvy-it\/"},"modified":"2021-06-03T04:08:00","modified_gmt":"2021-06-03T01:08:00","slug":"why-you-should-use-aws-route-53-over-a-dumb-dns-cloudsavvy-it","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/why-you-should-use-aws-route-53-over-a-dumb-dns-cloudsavvy-it\/","title":{"rendered":"#Why You Should Use AWS Route 53 Over a \u201cDumb\u201d DNS \u2013 CloudSavvy IT"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a3da7746aa39\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a3da7746aa39\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/why-you-should-use-aws-route-53-over-a-dumb-dns-cloudsavvy-it\/#Route_53_Integrates_with_AWS\" >Route 53 Integrates with AWS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/why-you-should-use-aws-route-53-over-a-dumb-dns-cloudsavvy-it\/#How_Much_Does_Route_53_Cost\" >How Much Does Route 53 Cost?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/buradabiliyorum.com\/en\/why-you-should-use-aws-route-53-over-a-dumb-dns-cloudsavvy-it\/#Setting_Up_Route_53\" >Setting Up Route 53<\/a><\/li><\/ul><\/nav><\/div>\n<p><strong>&#8220;#Why You Should Use AWS Route 53 Over a \u201cDumb\u201d DNS \u2013 CloudSavvy IT&#8221;<\/strong><\/p>\n<div id=\"article-content-area\">\n<img loading=\"lazy\" decoding=\"async\" class=\"type:primaryImage imgchk9 alignnone wp-image-2039 size-full\" data-pagespeed-lazy-src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2019\/09\/7744a78e.png?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"\" width=\"700\" height=\"300\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Your DNS is the service that translates your domain name into an IP address. AWS Route 53 is a smart DNS system that can dynamically change your origin address based on load, and even perform load balancing before traffic even reaches your servers.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Route_53_Integrates_with_AWS\"><\/span>Route 53 Integrates with AWS<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you\u2019re running a small website, you likely have the free DNS service that came with your domain name provider, such as <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.anrdoezrs.net\/links\/3607085\/type\/am\/sid\/2031\/https:\/\/www.namecheap.com\/\">Namecheap<\/a> or <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/redirect.viglink.com\/?key=204a528a336ede4177fff0d84a044482&amp;u=https%3A%2F%2Fwww.godaddy.com%2F\">GoDaddy<\/a>. If you\u2019re running a large site, you might pay extra for a \u201cpremium\u201d DNS provider, like <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.cloudflare.com\/\">Cloudflare<\/a>\u00a0or <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/dyn.com\/\">Dyn<\/a>\u00a0to get better lookup speeds (the time it takes to redirect a user) and faster propagation times (how long it takes for changes to your DNS configuration to take effect).<\/p>\n<p>But both the free and premium DNS systems are, in a sense, \u201cdumb,\u201d compared to AWS\u2019s offering. CloudFlare\u2019s nameservers have no knowledge of your website running on a different service; all they do is provide a map of domain names to IP addresses, so users can make requests to your site.<\/p>\n<p>This is where Route 53 outshines the competition (if you\u2019re running on AWS, that is). Because AWS owns both the server and the DNS system, they\u2019ve made the two play nicely together.\u00a0For example, if your server experiences a crash, a regular DNS would continue to redirect users to the crashed server, because that\u2019s what you told it to do. But Route 53 can perform health checks on your servers, and <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/aws.amazon.com\/about-aws\/whats-new\/2013\/02\/11\/announcing-dns-failover-for-route-53\/?tag=reviewgeek-20\">redirect users to a healthy resource<\/a> while the problem is being fixed.<\/p>\n<p>Route 53 can also prevent problems in the first place by acting similarly to a load balancer, but at the DNS level, by directing a certain percentage of traffic to <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/aws.amazon.com\/about-aws\/whats-new\/2011\/05\/24\/amazon-route53-elb-integration-wrr-ga\/?tag=reviewgeek-20\">different endpoints with predefined weights<\/a>. This means that the traffic is balanced before the user even makes a connection, without going through a central load balancer.This can also be used for high-level A\/B testing, by redirecting traffic to entirely different servers, which could display two different sites.<\/p>\n<p>Route 53 also has integrations with AWS\u2019s Elastic Load Balancer that allow you to map your DNS directly to your existing load balancer, without any additional lookups. Load balancers don\u2019t have static IP addresses, just static hostnames; If you were to map an external DNS to an existing load balancer, users would need to first ask your DNS for the load balancer\u2019s hostname, and then ask AWS\u2019s DNS for the IP address of the load balancer. With Route 53, it\u2019s all handled in one request.<\/p>\n<p>Route 53 can also <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/aws.amazon.com\/blogs\/aws\/latency-based-multi-region-routing-now-available-for-aws\/?tag=reviewgeek-20\">select the lowest latency endpoint you have<\/a>, or a <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/aws.amazon.com\/about-aws\/whats-new\/2014\/07\/31\/amazon-route-53-announces-domain-name-registration-geo-routing-and-lower-pricing\/?tag=reviewgeek-20\">specific geographic location<\/a>, and redirect users there. Really, you should also be using some sort of CDN (like AWS\u2019s CloudFront) if you care about latency, but it\u2019s a nice feature to have.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"How_Much_Does_Route_53_Cost\"><\/span>How Much Does Route 53 Cost?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Route 53 is <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/aws.amazon.com\/route53\/pricing\/?tag=reviewgeek-20\">fairly inexpensive<\/a>, you simply pay:<\/p>\n<ul>\n<li>$0.50 per month for each domain (subdomains are free),<\/li>\n<li>$0.50 per month for each server with a health check ($0.75 for non-AWS servers), and<\/li>\n<li>$0.40 per million queries, or<\/li>\n<li>$0.60 per million queries if you have latency-based routing enabled.<\/li>\n<\/ul>\n<p>However, even though you\u2019re charged for each query, the total will likely be lower than expected. Lookups for Alias (A) records are free, and A records likely comprise most of what your DNS is actually serving. Plus, you\u2019re charged per query, and not per-page-view; users will only need to look up your DNS once per session.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Setting_Up_Route_53\"><\/span>Setting Up Route 53<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To set up Route 53, you\u2019ll need to get your domain over to AWS. You can do this by transfering your domain, or if you\u2019re just getting set up, you can buy it from AWS directly. Note that you may not be able to buy every top-level domain directly from AWS, such as <code>.io<\/code>.<\/p>\n<p>From the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/console.aws.amazon.com\/route53\/home?tag=reviewgeek-20\">Route 53 Management Console<\/a>, select \u201cRegistered Domains,\u201d and choose \u201cTransfer Domain\u201d:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"imgchk9 alignnone wp-image-2034 size-full\" data-pagespeed-lazy-src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2019\/09\/d0584bb8.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Transferring and registering your domain.\" width=\"700\" height=\"300\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Next, you\u2019ll have to unlock your domain from your current provider. The exact method of this may vary, but most should have methods of transferring domains to other providers. The domain will be marked as transferrable, and you will be given an authorization code, which is the key that unlocks the domain.<\/p>\n<p>If you see this error when attempting to transfer, you either haven\u2019t unlocked the domain, or it hasn\u2019t propagated yet. Or, you don\u2019t own the domain in the first place.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"imgchk9 alignnone wp-image-2035 size-full\" data-pagespeed-lazy-src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2019\/09\/d0584bb8-1.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Domain transfer error.\" width=\"700\" height=\"300\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Once the domain is transferable, you\u2019ll be asked for the confirmation code, and the domain should transfer.<\/p>\n<p>Once a new domain is available in your account, AWS will automatically create a hosted zone for you (note that this does cost $0.50 per month, or $6 per year, for each domain you have). This zone controls your domain settings, including all subdomains. Open the hosted zone and create a new record set to add a record.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"imgchk9 alignnone wp-image-2036 size-full\" data-pagespeed-lazy-src=\"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2019\/09\/d0584bb8-2.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"In hosted zone, create new record set to add record.\" width=\"700\" height=\"423\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>You can create a standard A record to alias the domain to an IP address, or give a set of IP addresses and specify weights to balance between them based on latency and health checks. You can also alias a record directly to certain AWS services, such as a VPC endpoint or load balancer.<\/p>\n<p>Once the changes propagate (should be no less than 60 seconds), you\u2019ll be able to access your site through your domain as usual.\n<\/p><\/div>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.cloudsavvyit.com\/2031\/why-you-should-use-aws-route-53-over-a-dumb-dns\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;#Why You Should Use AWS Route 53 Over a \u201cDumb\u201d DNS \u2013 CloudSavvy IT&#8221; Your DNS is the service that translates your domain name into an IP address. AWS Route 53 is a smart DNS system that can dynamically change your origin address based on load, and even perform load balancing before traffic even reaches&#8230;<\/p>\n","protected":false},"author":1,"featured_media":265319,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2019\/09\/7744a78e.png","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-265318","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/265318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=265318"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/265318\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/265319"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=265318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=265318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=265318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}