{"id":44,"date":"2023-05-10T15:29:43","date_gmt":"2023-05-10T15:29:43","guid":{"rendered":"http:\/\/18.139.116.96\/?p=44"},"modified":"2023-09-18T22:48:35","modified_gmt":"2023-09-18T14:48:35","slug":"aws-blog-post-1","status":"publish","type":"post","link":"http:\/\/blogs.zurien.com\/?p=44","title":{"rendered":"AWS Elastic Load Balancer(ELB)"},"content":{"rendered":"\n<p>Let&#8217;s talk about AWS basic networking! We will be introducing instances and test the web applications. Then, we will provision AWS Elastic Load balancer (ELB). ELB has 3 Types: Application, Network and Gateway Load Balancer but we will be focusing more on Application Load Balancer.<\/p>\n\n\n\n<p>Upon creation of these Application load balancer we will associate the Virtual Private Cloud(VPC), Security Groups (SG), Target groups and many more!<\/p>\n\n\n\n<p><strong>AWS Application Load Balancer Configuration<\/strong><\/p>\n\n\n\n<p>Here is a guide or steps to create ELB, Application Load Balancer:<\/p>\n\n\n\n<p><em>Basic Configuration, Network Mapping<\/em> <em>and Security Group:<\/em><\/p>\n\n\n\n<ol>\n<li>Go to EC2 managment console page and on the left pane, click Load Balancer under Load Balancing<\/li>\n\n\n\n<li>By default, there are no Load Balancers created. Click Create Load Balancer located on the upper right of the main pane.<\/li>\n\n\n\n<li>This takes you to the Load Balancer creation page. Select Application Load Balancer since our application runs in HTTP\/HTTPS<\/li>\n\n\n\n<li>Assign Load Balancer name, select the VPC used the EC2 instances, Select Availability Zone (s) and their public subnets.<\/li>\n\n\n\n<li>Under Security Group (SG), create a new one if necessary. Otherwise, select the correct SG for your ELB.<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p><em>Listeners and Routing<\/em><\/p>\n\n\n\n<ol>\n<li>Select HTTP Protocol and Port 80 (This can be HTTPS\/443)<\/li>\n\n\n\n<li>Since we still don&#8217;t Target Port, we will create one. Click Create Target Group. This will open a new tab.<\/li>\n\n\n\n<li>Choose Instance as target type and assign Target group name. Make sure protocol\/port are HTTP\/80. Make sure correct VPC is applied and click Next. This will take you to Register targets page.<\/li>\n\n\n\n<li>Select EC2 instance name where you Load Balancer will forward the traffic to. Make sure port is set to 80 and click Include as pending below.<\/li>\n\n\n\n<li>Verify new target is added with the Health Status Pending and click Create target group.<\/li>\n\n\n\n<li>Back to Listening and routing, select the newly created Target group (hit refresh icon if its still not available) and click Create load balancer. <\/li>\n\n\n\n<li>Click View load balancer. You will see the status is in Provisioning state as it may take a minute or two for the load balancer to be created.<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p><em>Test Elastic Load Balancer<\/em><\/p>\n\n\n\n<ol>\n<li>From the same page, click the Application Load Balancer name<\/li>\n\n\n\n<li>You will see the DNS name, this is the actual URL we will be using to test the load balancer.<\/li>\n\n\n\n<li>Copy the URL and paste it to the web browser address bar<\/li>\n\n\n\n<li>You should get the same page of our EC2. Make sure that the page is using Load Balancer DNS URL.<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Click below to access the video version and consider subscribing<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"AWS Networking - Elastic Load Balancer (ELB) Part 1\" width=\"800\" height=\"450\" src=\"https:\/\/www.youtube.com\/embed\/IsvQk_1QhAk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s talk about AWS basic networking! We will be introducing instances and test the web applications. Then, we will provision AWS Elastic Load balancer (ELB). ELB has 3 Types: Application, Network and Gateway Load Balancer but we will be focusing more on Application Load Balancer. Upon creation of these Application load balancer we will associate [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":223,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[3],"jetpack_featured_media_url":"http:\/\/blogs.zurien.com\/wp-content\/uploads\/2023\/05\/AWS-Networking-Elastic-Load-Balancer-ELB-Thumbnail3.jpg","rttpg_featured_image_url":{"full":["http:\/\/blogs.zurien.com\/wp-content\/uploads\/2023\/05\/AWS-Networking-Elastic-Load-Balancer-ELB-Thumbnail3.jpg",1080,608,false],"landscape":["http:\/\/blogs.zurien.com\/wp-content\/uploads\/2023\/05\/AWS-Networking-Elastic-Load-Balancer-ELB-Thumbnail3.jpg",1080,608,false],"portraits":["http:\/\/blogs.zurien.com\/wp-content\/uploads\/2023\/05\/AWS-Networking-Elastic-Load-Balancer-ELB-Thumbnail3.jpg",1080,608,false],"thumbnail":["http:\/\/blogs.zurien.com\/wp-content\/uploads\/2023\/05\/AWS-Networking-Elastic-Load-Balancer-ELB-Thumbnail3-150x150.jpg",150,150,true],"medium":["http:\/\/blogs.zurien.com\/wp-content\/uploads\/2023\/05\/AWS-Networking-Elastic-Load-Balancer-ELB-Thumbnail3-300x169.jpg",300,169,true],"large":["http:\/\/blogs.zurien.com\/wp-content\/uploads\/2023\/05\/AWS-Networking-Elastic-Load-Balancer-ELB-Thumbnail3-1024x576.jpg",800,450,true],"1536x1536":["http:\/\/blogs.zurien.com\/wp-content\/uploads\/2023\/05\/AWS-Networking-Elastic-Load-Balancer-ELB-Thumbnail3.jpg",1080,608,false],"2048x2048":["http:\/\/blogs.zurien.com\/wp-content\/uploads\/2023\/05\/AWS-Networking-Elastic-Load-Balancer-ELB-Thumbnail3.jpg",1080,608,false]},"rttpg_author":{"display_name":"user","author_link":"http:\/\/blogs.zurien.com\/?author=1"},"rttpg_comment":7,"rttpg_category":"<a href=\"http:\/\/blogs.zurien.com\/?cat=1\" rel=\"category\">Uncategorized<\/a>","rttpg_excerpt":"Let&#8217;s talk about AWS basic networking! We will be introducing instances and test the web applications. Then, we will provision AWS Elastic Load balancer (ELB). ELB has 3 Types: Application, Network and Gateway Load Balancer but we will be focusing more on Application Load Balancer. Upon creation of these Application load balancer we will associate&hellip;","_links":{"self":[{"href":"http:\/\/blogs.zurien.com\/index.php?rest_route=\/wp\/v2\/posts\/44"}],"collection":[{"href":"http:\/\/blogs.zurien.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blogs.zurien.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blogs.zurien.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blogs.zurien.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=44"}],"version-history":[{"count":9,"href":"http:\/\/blogs.zurien.com\/index.php?rest_route=\/wp\/v2\/posts\/44\/revisions"}],"predecessor-version":[{"id":984,"href":"http:\/\/blogs.zurien.com\/index.php?rest_route=\/wp\/v2\/posts\/44\/revisions\/984"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/blogs.zurien.com\/index.php?rest_route=\/wp\/v2\/media\/223"}],"wp:attachment":[{"href":"http:\/\/blogs.zurien.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=44"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blogs.zurien.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=44"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blogs.zurien.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=44"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}