

{"id":22516,"date":"2018-08-13T08:30:43","date_gmt":"2018-08-13T08:30:43","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=22516"},"modified":"2018-08-13T08:30:43","modified_gmt":"2018-08-13T08:30:43","slug":"aws-elb","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/aws-elb\/","title":{"rendered":"Learn AWS ELB | 3 Major Types of Load Balancer in AWS"},"content":{"rendered":"<p>In our previous tutorial, we studied the\u00a0<strong>AWS Elastic Beanstalk<\/strong>. Now we are going to learn AWS ELB or <em>Amazon Elastic Load Balance.\u00a0<\/em><\/p>\n<p>In this <strong>Amazon<\/strong> load balance tutorial, we will cover types of load balancer in AWS:\u00a0<span id=\":3n.co\" class=\"tL8wMe EMoHub\" dir=\"ltr\">Classic Load Balancers,\u00a0<\/span><span id=\":3o.co\" class=\"tL8wMe EMoHub\" dir=\"ltr\">Application Load Balancers, and\u00a0<\/span><span id=\":3p.co\" class=\"tL8wMe EMoHub\" dir=\"ltr\">Network Load Balancers.<\/span><\/p>\n<p>So, let&#8217;s start the AWS ELB Tutorial.<\/p>\n<h2>What is AWS ELB?<\/h2>\n<p><strong>AWS ELB (Amazon Elastic Load Balance)<\/strong> helps to distribute the application traffic to various different targets such as EC2 instances. The vacant targets which are ready to collect the traffic are monitored by Amazon ELB whether they are healthy or not and the traffic is sent to the healthy one.<\/p>\n<p>AWS ELB comes in three versions which perform different tasks.<\/p>\n<ul>\n<li>The Version 1 provides detailed instructions for using <em>Classic Load Balancers<\/em>.<\/li>\n<li>2nd version provides detailed instructions for using <em>Application Load Balancers<\/em>.<\/li>\n<li>3rd provides detailed instructions for using <em>Network Load Balancers<\/em>.<\/li>\n<\/ul>\n<h2>Types of Load Balancer in AWS<\/h2>\n<p>These are the unique Versions of AWS ELB, let&#8217;s discuss them one by one:<\/p>\n<h3>a. Classic Load Balancers<\/h3>\n<p>Classic Load Balancers distribute upcoming traffic to different EC2 instances in multiple Availability Zones. During this process, there is a chance of the fault tolerance of your application. These Load Balancers detect healthy and unhealthy instance and direct the traffic towards only healthy ones.<\/p>\n<p>It also helps in a way such that without disrupting the flow of requests to your application you can add or remove instances from your load balancers as your need changes.<\/p>\n<p>AWS ELB can calculate the majority of workloads automatically. Protocol and port which a person configures are used to detect the connection requests from clients it also forwards requests to one or more registered instances.<\/p>\n<p>The number of instances can be modified. Health checks can be monitored so that the load balancer only sends requests to the healthy instances.<\/p>\n<div id=\"attachment_22526\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Classic-Load-balancers.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-22526\" class=\"wp-image-22526 size-medium\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Classic-Load-balancers-300x265.png\" alt=\"Learn AWS ELB | 3 Major Types of Load Balancer in AWS\" width=\"300\" height=\"265\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Classic-Load-balancers-300x265.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Classic-Load-balancers-150x133.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Classic-Load-balancers.png 352w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-22526\" class=\"wp-caption-text\">Learn AWS ELB &#8211; Classic Load Balancers<\/p><\/div>\n<p><strong>Benefits of Load Balancers-<\/strong><\/p>\n<ul>\n<li>Provides Support to TCP and SSL listeners.<\/li>\n<li>Support to Sticky Session.<\/li>\n<li>Support to EC2- Classic.<\/li>\n<\/ul>\n<h3>b. Application Load Balancers<\/h3>\n<p>After receiving the request Application Load Balancer analyzes the rules provide by the listener in priority order and determines the rule which has to apply. After that, it selects a target from the target group for the rule action.<\/p>\n<p>An Application Load Balancer functions at the Open Systems Interconnection (OSI) model which is the seventh layer of the OSI model.<\/p>\n<p>The User can analyze the rules of the listener and can modify it by sending it to different target groups based on the content of the application traffic even when the target is associated with multiple target groups.<\/p>\n<p>Addition and removal of tags can do from the load balancers as per your needs. This can done without breaking the flow of your requests of the application.<\/p>\n<div id=\"attachment_22527\" style=\"width: 571px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/APplication-Load-Balancer.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-22527\" class=\"wp-image-22527 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/APplication-Load-Balancer.png\" alt=\"Learn AWS ELB | 3 Major Types of Load Balancer in AWS\" width=\"561\" height=\"252\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/APplication-Load-Balancer.png 561w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/APplication-Load-Balancer-150x67.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/APplication-Load-Balancer-300x135.png 300w\" sizes=\"auto, (max-width: 561px) 100vw, 561px\" \/><\/a><p id=\"caption-attachment-22527\" class=\"wp-caption-text\">AWS ELB\u00a0&#8211;\u00a0Application Load Balancers<\/p><\/div>\n<p><strong>Benefits of Application Load balancers- <\/strong><\/p>\n<ul>\n<li>Load Balancer\u2019s performance improve in Application Load Balancer.<\/li>\n<li>Access logs containing information compress such that they may not require the additional space.<\/li>\n<li>Provides benefit for registering targets by IP address, including targets outside the VPC for the load balancer.<\/li>\n<\/ul>\n<h3>c. Network Load Balancers<\/h3>\n<p>It is the fourth layer of the Open System Interconnection Model. After the load balancer receives a connection request, it selects a target from the group which targets for the default rule.<\/p>\n<p>After enabling the availability zone Elastic Load Balancer creates the load balancer node in the availability zone. Each load balancer node automatically distributes traffic across the registered targets in its Availability Zone only.<\/p>\n<p>Cross-zone Load Balancing enables to distribute traffic across the registered targets in all enabled Availability Zones.<\/p>\n<p>Enabling Multiple Availability Zone can cause harm by increasing the fault tolerance of the applications and it will happen if each target group has at least one target in each enabled Availability Zone.<\/p>\n<p>The problem can overcome in such a way that if one or more target groups do not have a healthy target in an Availability Zone, the IP address for the corresponding subnet from DNS is removed. If a person attempts again the request fails.<\/p>\n<div id=\"attachment_22524\" style=\"width: 168px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/network-load-balancer.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-22524\" class=\"wp-image-22524 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/network-load-balancer.png\" alt=\"Learn AWS ELB | 3 Major Types of Load Balancer in AWS\" width=\"158\" height=\"131\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/network-load-balancer.png 158w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/network-load-balancer-150x124.png 150w\" sizes=\"auto, (max-width: 158px) 100vw, 158px\" \/><\/a><p id=\"caption-attachment-22524\" class=\"wp-caption-text\">AWS ELB &#8211; NLB<\/p><\/div>\n<p><strong>Benefits of Network Load Balancers-<\/strong><\/p>\n<ul>\n<li>NLB Provides the Support for static IP addresses for the load balancer.<\/li>\n<li>Provides support for registering targets by IP address which includes target outside the VPC for the Load Balancer.<\/li>\n<li>Provides support for monitoring the health of each service independently.<\/li>\n<\/ul>\n<p>So, this was all about AWS ELB Tutorial. Hope you like our explanation.<\/p>\n<h2>Conclusion<\/h2>\n<p>Hence, in AWS ELB tutorial, we studied the load balancer distributes traffic evenly across the Availability Zones that you enable for your load balancer. AWS Elastic Load Balance is one of the effective ways to manage and deploy the application as it is fast, reliable, and efficient.<\/p>\n<p>Load Balancer simplifies and improves the security of your application and hence provides security which makes it a reliable function. Furthermore, if you have any doubt regarding AWS ELB, feel free to ask in the comment box.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our previous tutorial, we studied the\u00a0AWS Elastic Beanstalk. Now we are going to learn AWS ELB or Amazon Elastic Load Balance.\u00a0 In this Amazon load balance tutorial, we will cover types of load&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":22530,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[491,495,1002,1386,1456,1513,2540,15367],"class_list":["post-22516","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aws","tag-amazon-elastic-load-balancer","tag-amazon-elb","tag-application-load-balancers","tag-aws-classic-load-balancer","tag-aws-elastic-loadbalance","tag-aws-load-balance","tag-classic-load-balancers","tag-versions-aws-load-balance"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Learn AWS ELB | 3 Major Types of Load Balancer in AWS - DataFlair<\/title>\n<meta name=\"description\" content=\"AWS ELB-What is Elastic Load Balance,Types of Load Balancer,Classic Load Balancers, Application Load Balancers,Network Load Balancers,Benefits of Amazon ELB\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/aws-elb\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Learn AWS ELB | 3 Major Types of Load Balancer in AWS - DataFlair\" \/>\n<meta property=\"og:description\" content=\"AWS ELB-What is Elastic Load Balance,Types of Load Balancer,Classic Load Balancers, Application Load Balancers,Network Load Balancers,Benefits of Amazon ELB\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/aws-elb\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-13T08:30:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Versions-AWS-Load-Balance-01.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Learn AWS ELB | 3 Major Types of Load Balancer in AWS - DataFlair","description":"AWS ELB-What is Elastic Load Balance,Types of Load Balancer,Classic Load Balancers, Application Load Balancers,Network Load Balancers,Benefits of Amazon ELB","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/aws-elb\/","og_locale":"en_US","og_type":"article","og_title":"Learn AWS ELB | 3 Major Types of Load Balancer in AWS - DataFlair","og_description":"AWS ELB-What is Elastic Load Balance,Types of Load Balancer,Classic Load Balancers, Application Load Balancers,Network Load Balancers,Benefits of Amazon ELB","og_url":"https:\/\/data-flair.training\/blogs\/aws-elb\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-08-13T08:30:43+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Versions-AWS-Load-Balance-01.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/aws-elb\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/aws-elb\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Learn AWS ELB | 3 Major Types of Load Balancer in AWS","datePublished":"2018-08-13T08:30:43+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/aws-elb\/"},"wordCount":856,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/aws-elb\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Versions-AWS-Load-Balance-01.jpg","keywords":["amazon elastic load balancer","Amazon ELB","Application Load Balancers","aws classic load balancer","AWS Elastic Loadbalance","AWS Load Balance","Classic Load Balancers","Versions AWS Load Balance"],"articleSection":["AWS Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/aws-elb\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/aws-elb\/","url":"https:\/\/data-flair.training\/blogs\/aws-elb\/","name":"Learn AWS ELB | 3 Major Types of Load Balancer in AWS - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/aws-elb\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/aws-elb\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Versions-AWS-Load-Balance-01.jpg","datePublished":"2018-08-13T08:30:43+00:00","description":"AWS ELB-What is Elastic Load Balance,Types of Load Balancer,Classic Load Balancers, Application Load Balancers,Network Load Balancers,Benefits of Amazon ELB","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/aws-elb\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/aws-elb\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/aws-elb\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Versions-AWS-Load-Balance-01.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Versions-AWS-Load-Balance-01.jpg","width":1200,"height":628,"caption":"Learn AWS ELB | 3 Major Types of Load Balancer in AWS"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/aws-elb\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"AWS Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/aws\/"},{"@type":"ListItem","position":3,"name":"Learn AWS ELB | 3 Major Types of Load Balancer in AWS"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/22516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=22516"}],"version-history":[{"count":0,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/22516\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/22530"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=22516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=22516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=22516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}