{"id":208806,"date":"2021-03-23T15:00:13","date_gmt":"2021-03-23T12:00:13","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/what-is-high-availability-ha-why-your-business-needs-to-plan-for-it-cloudsavvy-it\/"},"modified":"2021-03-23T15:00:13","modified_gmt":"2021-03-23T12:00:13","slug":"what-is-high-availability-ha-why-your-business-needs-to-plan-for-it-cloudsavvy-it","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/what-is-high-availability-ha-why-your-business-needs-to-plan-for-it-cloudsavvy-it\/","title":{"rendered":"#What Is High Availability (HA)? Why Your Business Needs to Plan for It \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-6a2fb406da514\" 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-6a2fb406da514\" 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\/what-is-high-availability-ha-why-your-business-needs-to-plan-for-it-cloudsavvy-it\/#What_Is_High_Availability\" >What Is High Availability?<\/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\/what-is-high-availability-ha-why-your-business-needs-to-plan-for-it-cloudsavvy-it\/#Components_of_Good_HA_Systems\" >Components of Good HA Systems<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/buradabiliyorum.com\/en\/what-is-high-availability-ha-why-your-business-needs-to-plan-for-it-cloudsavvy-it\/#Auto-Scaling_Redundancy\" >Auto-Scaling &amp; Redundancy<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/buradabiliyorum.com\/en\/what-is-high-availability-ha-why-your-business-needs-to-plan-for-it-cloudsavvy-it\/#247_Monitoring\" >24\/7 Monitoring<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/buradabiliyorum.com\/en\/what-is-high-availability-ha-why-your-business-needs-to-plan-for-it-cloudsavvy-it\/#Automated_BlueGreen_Updates\" >Automated Blue\/Green Updates<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<p><strong>&#8220;#What Is High Availability (HA)? Why Your Business Needs to Plan for It \u2013 CloudSavvy IT&#8221;<\/strong><\/p>\n<div id=\"article-content-area\">\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10244\" src=\"https:\/\/www.cloudsavvyit.com\/thumbcache\/0\/0\/8889ab7db499b961ea88864afb006805\/p\/uploads\/2021\/03\/f03a054e.png\" alt=\"\" width=\"700\" height=\"350\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>Obviously, nobody\u00a0<em>plans<\/em> for downtime. But problems are inevitable, and if you don\u2019t have a plan in place to deal with them im<a href=\"https:\/\/buradabiliyorum.com\/en\/category\/social-mediaa\/\" data-internallinksmanager029f6b8e52c=\"1\" title=\"Social Media\" target=\"_blank\" rel=\"noopener\">media<\/a>tely and automatically, you\u2019re going to lose revenue when your services go down. High Availability will help you plan for the worst-case scenarios.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"What_Is_High_Availability\"><\/span>What Is High Availability?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>High Availability (HA) is the practice of minimizing all server downtime, ideally down to zero. It incorporates many techniques, such as auto-scaling, real-time monitoring, and automated blue\/green update deployments.<\/p>\n<p>The core concept is pretty simple\u2014one server is no server. Two servers are one server. The more redundancy you plan for, the more highly available your service will be. Your service should not experience interruptions even in the event of one of your components going up in flames.<\/p>\n<p>This can be achieved with something as simple as an auto-scaling group, which cloud services like AWS support very well. If a server has a problem, such as a sudden crash, the load balancer will detect it as not responding. It can then divert traffic away from the crashed server to the other servers in the cluster, even spinning up a new instance if it needs the capacity.<\/p>\n<p>This redundant philosophy <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">app<\/a>lies to all levels of your component hierarchy. If you have a microservice to handle the image processing of user-uploaded media, for example, it wouldn\u2019t be a great idea to just run that in the background on one of your machines. If that machine has problems, users might not be able to upload, which counts as partial downtime of your service and can be frustrating for the end user.<\/p>\n<p>Sometimes, you need to <em>guarantee<\/em> availability to clients. If you guarantee a 99.999% availability in a\u00a0service-level agreement (SLA), that means that your service can\u2019t be down for more than five minutes a year. This makes HA necessary from the get-go for many large companies.<\/p>\n<p>For example, services like AWS S3 come with SLAs guaranteeing 99.9999999% (nine 9s) of data redundancy. This basically means that all of your data is replicated across regions, making it safe from everything except the giant-meteor-impacting-your-data-warehouse scenario. Even then, with physical separation, it might be safe from small meteors, or at the very least, safe from the much more realistic warehouse fire or power outage situation.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Components_of_Good_HA_Systems\"><\/span>Components of Good HA Systems<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>What leads to downtime? Barring acts of god, downtime is usually caused by human error or random failure.<\/p>\n<p>Random failures can\u2019t really be planned for, but they can be planned around with redundant systems. They can also be caught while they happen with good monitoring systems that can alert you of problems in your network.<\/p>\n<p>Human error can be planned for. First and foremost, by minimizing the amount of errors with careful test environments. But everyone makes mistakes, even big companies, so you must have a plan in place for when mistakes happen.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Auto-Scaling_Redundancy\"><\/span>Auto-Scaling &amp; Redundancy<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Auto-scaling is the process of automatically scaling the number of servers that you have, usually during the day, to meet peak load, but also under situations of high stress.<\/p>\n<p>One of the primary ways that services go down is the \u201chug of death,\u201d when thousands of users all flock to the site en masse, or traffic spikes in some other way. Without auto-scaling, you\u2019re screwed, as you can\u2019t spin up any more servers and must wait until the load subsides or manually spin up a new instance to meet demand.<\/p>\n<p>Auto-scaling means that you\u2019ll never really have to deal with this issue (though you\u2019ll need to pay for the extra server time you need). This is part of the reason why services like serverless databases and AWS Lambda Functions are so great: They scale extremely well out of the box.<\/p>\n<p>However, it goes beyond just auto-scaling your primary servers\u2014if you have other components or services in your network, those must be able to scale as well. For example, you may need to spin up additional web servers to meet traffic needs, but if your database server is overwhelmed, you\u2019re gonna have a problem as well.<\/p>\n<p>If you\u2019d like to learn more, you can read our article on getting started with AWS auto-scaling.<\/p>\n<p><strong>RELATED:<\/strong> <strong><em>Getting Started with AWS Autoscaling<\/em><\/strong><\/p>\n<h3><span class=\"ez-toc-section\" id=\"247_Monitoring\"><\/span>24\/7 Monitoring<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Monitoring involves tracking logs and metrics on your services in real time. Doing this automatically with automatic alarms can alert you about problems in your network while they\u2019re happening rather than after they affect users.<\/p>\n<p>For example, you could set an alarm to go off when your server hits 90% memory usage, which could indicate a memory leak or a problem with an application being overloaded.<\/p>\n<p>Then you could configure this alarm to tell your auto-scaling group to add another instance or to replace the current instance with a new one.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Automated_BlueGreen_Updates\"><\/span>Automated Blue\/Green Updates<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The most common scenario for errors is a botched update, when your code changes and breaks an unforeseen part of your application. This can be planned for with blue\/green deployments.<\/p>\n<p>A blue\/green deployment is a slow, gradual process that deploys your code changes in stages rather than all at once. For example, imagine that you have 10 servers running the same bit of software behind a load balancer.<\/p>\n<p>A regular deployment might simply update all of them immediately when new changes are pushed, or at least update them one at a time to prevent downtime.<\/p>\n<p>A blue\/green deployment would fire up an 11th server in your auto-scaling group instead, and install the new code changes. Then, once it was \u201cgreen,\u201d or accepting requests and ready to go, it would immediately replace one of the existing \u201cblue\u201d servers in your group. Then you\u2019d rinse and repeat for each server in the cluster. Even if you only had one server, this method of updating would result in\u00a0<em>no downtime<\/em>.<\/p>\n<p>Better yet, you can immediately revert the changes back to the blue servers if problems are detected with your monitoring systems and alarms. This means that even a completely botched update will not take down your service for more than a few minutes, ideally not at all if you have multiple servers and are able to deploy the update slowly. Blue\/green deployments can be configured to only update 10% of your servers every five minutes, for example, slowly rolling out the update over the hour.\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\/10227\/what-is-high-availability-ha-why-your-business-needs-to-plan-for-it\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;#What Is High Availability (HA)? Why Your Business Needs to Plan for It \u2013 CloudSavvy IT&#8221; Obviously, nobody\u00a0plans for downtime. But problems are inevitable, and if you don\u2019t have a plan in place to deal with them immediately and automatically, you\u2019re going to lose revenue when your services go down. High Availability will help you&#8230;<\/p>\n","protected":false},"author":1,"featured_media":208807,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.cloudsavvyit.com\/p\/uploads\/2021\/03\/f03a054e.png","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-208806","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\/208806","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=208806"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/208806\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/208807"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=208806"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=208806"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=208806"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}