{"id":1800,"date":"2019-08-07T07:24:32","date_gmt":"2019-08-07T07:24:32","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=1800"},"modified":"2022-03-04T09:10:17","modified_gmt":"2022-03-04T09:10:17","slug":"elastic-load-balancers","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/elastic-load-balancers\/","title":{"rendered":"Elastic Load Balancers"},"content":{"rendered":"\n<p>In this, we will understand the Elastic Load Balancers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"> <strong>SOA-C01 exam is updated to <a href=\"https:\/\/www.testpreptraining.ai\/aws-certified-sysops-administrator-associate-practice-exam\" target=\"_blank\" rel=\"noreferrer noopener\">AWS Certified SysOps Administrator &#8211; Associate\u00a0(SOA-C02).<\/a><\/strong> <\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>What are  Elastic Load Balancers?<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>They allows us to balance load between different servers.<\/li><li>Types<ul><li>Application Load Balancer: Layer 7. support advanced request routing based on HTTP request characteristics like path, headers, etc.<\/li><\/ul><ul><li>Network Load Balancer: Very High Performance, Layer 4, Most expensive. Support millions of request per second.<\/li><\/ul><ul><li>Classic Load Balancer: Dumber Layer 7, Legacy. Also supports Layer 4. The only thing supported at Layer 7 is X-Forwarded-For and sticky sessions.<\/li><\/ul><\/li><li>ELB responds with HTTP 504 Gateway Timeout when the application does not respond.<\/li><li>The DNS names for the load balancers are {LB-name}.{region}-elb.amazonaws.com<\/li><li>The healthcheck statuses for instances behind LB can be InService or OutOfService.<\/li><li>When a healtcheck for an instance fails, the load balancer stops sending traffic to that instance.<\/li><li>When configuring ELB health checks, bear in mind that you may want to create a file like healthcheck.html or point the ping path of the health check to the main index file in your application<\/li><li>Remember the health check interval is how often a health check will occur<\/li><li>Your Healthy\/Unhealthy thresholds are how many times either will check before marking the origin either healthy or unhealthy<ul><li>Health Check Interval: 10 seconds<\/li><\/ul><ul><li>Unhealthy Threshold: 2<\/li><\/ul><ul><li>Healthy Threshold: 3<\/li><\/ul><ul><li>This means that if the health check interval occurs twice without success, then the source will be marked as unhealthy. This is 2 checks @ 10 seconds per check, so basically after 20 seconds the origin will be marked unhealthy<\/li><\/ul><ul><li>Likewise, if the healthy threshold is marked at 3, then it would be 3 x health check interval or 10 seconds being 30 seconds. After 30 seconds with 3 consecutive success checks, the origin will be marked as healthy. <\/li><\/ul><\/li><li>Enable Cross-Zone Load Balancing will distribute load across all back-end instances, even if they exist in different AZ&#8217;s<\/li><li>ELBs are NEVER given public IP Addresses, only a public DNS name<\/li><li>ELBs can be In Service or Out of Service depending on health check results<\/li><li>Charged by the hour and on a per GB basis of usage<\/li><li>Must be configured with at least one listener<\/li><li>A listener must be configured with a protocol and a port for front end (client to ELB connection), as well as a protocol and port for backed end (ELB to instances connection)<\/li><li>ELBs support HTTP, HTTPS, TCP, and SSL (Secure TCP)<\/li><li>And, ELBs support all ports (1-65535)<\/li><li>ELBs do not support multiple SSL certificates<\/li><li>Classic ELBs support the following ports:<ul><li>25 (SMTP)<\/li><\/ul><ul><li>80 (HTTP)<\/li><\/ul><ul><li>443 (HTTPS)<\/li><\/ul><ul><li>465 (SMTPS)<\/li><\/ul><ul><li>587 (SMTPS)<\/li><\/ul><ul><li>1024-65535<\/li><\/ul><\/li><\/ul>\n\n\n\n<p>ELB Error Messages<\/p>\n\n\n\n<p>HTTP Error Codes:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>200 &#8211; The request has succeeded<\/li><li>3xx &#8211; Redirection<\/li><li>4xx &#8211; Client Error (404 not found)<\/li><li>5xx &#8211; Server Error<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td>Application Load Balancer Limit<\/td><td>Default Limit<\/td><\/tr><\/thead><tbody><tr><td>Load balancers per region:<\/td><td>20<\/td><\/tr><tr><td>Target groups per region:<\/td><td>50<\/td><\/tr><tr><td>Listeners per load balancer:<\/td><td>10<\/td><\/tr><tr><td>Targets per load balancer:<\/td><td>1000<\/td><\/tr><tr><td>Subnets per Availability Zone per load balancer:<\/td><td>1<\/td><\/tr><tr><td>Security groups per load balancer:<\/td><td>5<\/td><\/tr><tr><td>Rules per load balancer (excluding defaults:<\/td><td>10<\/td><\/tr><tr><td>No. of times a target can be registered per LB:<\/td><td>100<\/td><\/tr><tr><td>Load balancers per target group:<\/td><td>1<\/td><\/tr><tr><td>Targets per target group:<\/td><td>1000<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td>Classic Load Balancer Limit<\/td><td>Default Limit<\/td><\/tr><\/thead><tbody><tr><td>Load balancers per region:<\/td><td>20<\/td><\/tr><tr><td>Listeners per load balancer:<\/td><td>100<\/td><\/tr><tr><td>Subnets per Availability Zone per load balancer: <\/td><td>1<\/td><\/tr><tr><td>Security groups per load balancer:<\/td><td>\n  5\n  <\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this, we will understand the Elastic Load Balancers. SOA-C01 exam is updated to AWS Certified SysOps Administrator &#8211; Associate\u00a0(SOA-C02). What are Elastic Load Balancers? They allows us to balance load between different servers. Types Application Load Balancer: Layer 7. support advanced request routing based on HTTP request characteristics like path, headers, etc. Network Load&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":383,"menu_order":49,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[7,314],"class_list":["post-1800","page","type-page","status-publish","hentry","category-amazon-aws","tag-aws","tag-elastic-load"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Elastic Load Balancers - Testprep Training Tutorials<\/title>\n<meta name=\"description\" content=\"Enhance your knowledge level by learning about the Elastic Load Balancers for AWS Certification Exam Preparation Now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/elastic-load-balancers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Elastic Load Balancers - Testprep Training Tutorials\" \/>\n<meta property=\"og:description\" content=\"Enhance your knowledge level by learning about the Elastic Load Balancers for AWS Certification Exam Preparation Now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/elastic-load-balancers\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-04T09:10:17+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/elastic-load-balancers\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/elastic-load-balancers\/\",\"name\":\"Elastic Load Balancers - Testprep Training Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2019-08-07T07:24:32+00:00\",\"dateModified\":\"2022-03-04T09:10:17+00:00\",\"description\":\"Enhance your knowledge level by learning about the Elastic Load Balancers for AWS Certification Exam Preparation Now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/elastic-load-balancers\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/elastic-load-balancers\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/elastic-load-balancers\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AWS Certified SysOps Administrator &#8211; Associate (SOA-C01)\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Elastic Load Balancers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Elastic Load Balancers - Testprep Training Tutorials","description":"Enhance your knowledge level by learning about the Elastic Load Balancers for AWS Certification Exam Preparation Now!","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:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/elastic-load-balancers\/","og_locale":"en_US","og_type":"article","og_title":"Elastic Load Balancers - Testprep Training Tutorials","og_description":"Enhance your knowledge level by learning about the Elastic Load Balancers for AWS Certification Exam Preparation Now!","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/elastic-load-balancers\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2022-03-04T09:10:17+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/elastic-load-balancers\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/elastic-load-balancers\/","name":"Elastic Load Balancers - Testprep Training Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2019-08-07T07:24:32+00:00","dateModified":"2022-03-04T09:10:17+00:00","description":"Enhance your knowledge level by learning about the Elastic Load Balancers for AWS Certification Exam Preparation Now!","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/elastic-load-balancers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/elastic-load-balancers\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/elastic-load-balancers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"AWS Certified SysOps Administrator &#8211; Associate (SOA-C01)","item":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-sysops-administrator-associate\/"},{"@type":"ListItem","position":3,"name":"Elastic Load Balancers"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/1800","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=1800"}],"version-history":[{"count":5,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/1800\/revisions"}],"predecessor-version":[{"id":51980,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/1800\/revisions\/51980"}],"up":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/383"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=1800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=1800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=1800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}