{"id":7362,"date":"2018-05-02T22:16:40","date_gmt":"2018-05-02T14:16:40","guid":{"rendered":"http:\/\/rmohan.com\/?p=7362"},"modified":"2018-05-02T22:16:40","modified_gmt":"2018-05-02T14:16:40","slug":"application-load-balancer","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=7362","title":{"rendered":"Application Load Balancer"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Create an Application Load Balancer<br \/>\nThe Application Load Balancer is a flavor of the Elastic Load Balancing (ELB) service. It works more or less the same as a Classic Load Balancer, however, it has several additional features and some new concepts you need to understand so this Lab will covers those first.<br \/>\nAWS has great documentation to help you get started, so let&#8217;s start by referencing it:<\/p>\n<p>The load balancer serves as the single point of contact for clients. You add one or more listeners to your load balancer.<\/p>\n<p>A listener checks for connection requests from clients, using the protocol and port that you configure, and forwards requests to one or more target groups, based on the rules that you define. Each rule specifies a target group, condition, and priority.<br \/>\nWhen the condition is met, the traffic is forwarded to the target group. You must define a default rule for each listener, and you can add rules that specify different target groups based on the content of the request (also known as content-based routing).<br \/>\nEach target group routes requests to one or more registered targets, such as EC2 instances, using the protocol and port number that you specify. You can register a target with multiple target groups. You can configure health checks on a per target group basis.<br \/>\nHealth checks are performed on all targets registered to a target group that is specified in a listener rule for your load balancer.<br \/>\nThe following diagram illustrates the basic components. Notice that each listener contains a default rule, and one listener contains another rule that routes requests to a different target group. One target is registered with two target groups.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2018\/05\/component_architecture.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-7363\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2018\/05\/component_architecture.png\" alt=\"\" width=\"555\" height=\"243\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2018\/05\/component_architecture.png 555w, https:\/\/mohan.sg\/wp-content\/uploads\/2018\/05\/component_architecture-300x131.png 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2018\/05\/component_architecture-150x66.png 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2018\/05\/component_architecture-400x175.png 400w\" sizes=\"(max-width: 555px) 100vw, 555px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Create an Application Load Balancer The Application Load Balancer is a flavor of the Elastic Load Balancing (ELB) service. It works more or less the same as a Classic Load Balancer, however, it has several additional features and some new concepts you need to understand so this Lab will covers those first. AWS [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7362"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7362"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7362\/revisions"}],"predecessor-version":[{"id":7364,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7362\/revisions\/7364"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}