{"id":3647,"date":"2023-02-11T02:50:27","date_gmt":"2023-02-11T02:50:27","guid":{"rendered":"https:\/\/exceedthecloud.com\/?p=3647"},"modified":"2023-02-11T02:47:26","modified_gmt":"2023-02-11T02:47:26","slug":"application-load-balancer-alb-hands-on-with-aws-ec2-instances","status":"publish","type":"post","link":"https:\/\/exceedthecloud.com\/?p=3647","title":{"rendered":"Application Load Balancer (ALB) Hands on with AWS EC2 instances"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Choose an Application Load Balancer when you need a flexible feature set for your applications with HTTP and HTTPS traffic. Operating at the request level, Application Load Balancers provide advanced routing and visibility features targeted at application architectures, including microservices and containers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Prerequisite: Having a valid AWS Account (Follow the step in this link to create an AWS Account) <a href=\"https:\/\/exceedthecloud.com\/?p=3419\" target=\"_blank\" rel=\"noreferrer noopener\">How to Sign Up for a new Amazon Web Services Account<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open the page: <a href=\"https:\/\/aws.amazon.com\/account\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/aws.amazon.com\/account\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To complete this lab, create two EC2 instances in different Availability zone<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Launch instance with User data to update and configure service httpd<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"471\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture1-9.png\" alt=\"\" class=\"wp-image-3648\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture1-9.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture1-9-300x226.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Find bellow the content of User data<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\n# Use this for your user data (script from top to bottom)\n# install httpd (Linux 2 version)\nyum update -y\nyum install -y httpd\nsystemctl start httpd\nsystemctl enable httpd\necho \"&lt;h1&gt;Hello World from $(hostname -f)&lt;\/h1&gt;\" &gt; \/var\/www\/html\/index.html\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"473\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture2-9.png\" alt=\"\" class=\"wp-image-3649\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture2-9.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture2-9-300x227.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Confirm the creation of the 2 instances<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"91\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture3-9.png\" alt=\"\" class=\"wp-image-3650\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture3-9.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture3-9-300x44.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">First server instance<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"251\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture4-9.png\" alt=\"\" class=\"wp-image-3651\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture4-9.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture4-9-300x121.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Second server instance<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"266\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture5-8.png\" alt=\"\" class=\"wp-image-3652\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture5-8.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture5-8-300x128.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Create an application load balancer<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Click in the menu \u2013 Load Balancers<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"422\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture6-8.png\" alt=\"\" class=\"wp-image-3653\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture6-8.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture6-8-300x203.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Click on create load balancer<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"127\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture7-8.png\" alt=\"\" class=\"wp-image-3654\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture7-8.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture7-8-300x61.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Choose Application Load balancer \/ Click on Create<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"573\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture8-7.png\" alt=\"\" class=\"wp-image-3655\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture8-7.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture8-7-300x275.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Enter the name of the Load Balancer \/ Choose Internet facing<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"423\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture9-7.png\" alt=\"\" class=\"wp-image-3656\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture9-7.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture9-7-300x203.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Choose at least two Availability Zone and one subnet per zone<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"533\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture10-7.png\" alt=\"\" class=\"wp-image-3657\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture10-7.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture10-7-300x256.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Create a new Security Group to allow only port 80<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"301\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture11-7.png\" alt=\"\" class=\"wp-image-3658\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture11-7.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture11-7-300x145.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Create a target group \/ Click on Create target group<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"422\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture12-5.png\" alt=\"\" class=\"wp-image-3659\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture12-5.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture12-5-300x203.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Enter the Target Group name \/ Protocol version and health checks<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"849\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture13-4.png\" alt=\"\" class=\"wp-image-3660\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture13-4.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture13-4-220x300.png 220w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Choose Available instances to register the target instances \/ Click on Create target group<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"292\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture14-6.png\" alt=\"\" class=\"wp-image-3661\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture14-6.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture14-6-300x140.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Confirm the creation of the Target group<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"267\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture15-4.png\" alt=\"\" class=\"wp-image-3662\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture15-4.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture15-4-300x128.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Go back and choose the newly created Target Group<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"438\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture16-3.png\" alt=\"\" class=\"wp-image-3663\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture16-3.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture16-3-300x211.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Validate the summary and click on Create load balancer<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"342\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture17-3.png\" alt=\"\" class=\"wp-image-3664\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture17-3.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture17-3-300x164.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Confirm the creation of your load balancer<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"202\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture18-2.png\" alt=\"\" class=\"wp-image-3665\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture18-2.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture18-2-300x97.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"288\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture19-1.png\" alt=\"\" class=\"wp-image-3666\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture19-1.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture19-1-300x138.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Copy the load balancer url in a web browser to confirm you have access to your web application<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"216\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture20-1.png\" alt=\"\" class=\"wp-image-3667\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture20-1.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture20-1-300x104.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Stop one instance and validate you still have access to your web application<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"89\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture21-1.png\" alt=\"\" class=\"wp-image-3668\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture21-1.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture21-1-300x43.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">View the health status of your target group<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"270\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture22-1.png\" alt=\"\" class=\"wp-image-3669\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture22-1.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture22-1-300x130.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Confirm you still have access to your web application via the URL of your load balancer<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"243\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture23-1.png\" alt=\"\" class=\"wp-image-3670\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture23-1.png 624w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/Picture23-1-300x117.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Credit: <a href=\"https:\/\/www.udemy.com\/user\/stephane-maarek\/\" target=\"_blank\" rel=\"noreferrer noopener\">Stephane Maarek<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Choose an Application Load Balancer when you need a flexible feature set for your applications with HTTP and HTTPS traffic. Operating at the request level, Application Load Balancers provide advanced routing and visibility features targeted at application architectures, including microservices &hellip; <a href=\"https:\/\/exceedthecloud.com\/?p=3647\">Continued<\/a><\/p>\n","protected":false},"author":1,"featured_media":3671,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"kt_blocks_editor_width":"","_monsterinsights_skip_tracking":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[121,118,123],"tags":[119,120,130,29],"class_list":["post-3647","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-amazon-web-services","category-aws","category-aws-basics","tag-aws","tag-aws-account","tag-ec2","tag-load-balancer"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Choose an Application Load Balancer when you need a flexible feature set for your applications with HTTP and HTTPS traffic. Operating at the request level, Application Load Balancers provide advanced routing and visibility features targeted at application architectures, including microservices and containers. Prerequisite: Having a valid AWS Account (Follow the step in this link to\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Marcelin NDJILA\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/exceedthecloud.com\/?p=3647\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"exceedthecloud.com - Going beyond the cloud, learning new stuffs everyday !\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Application Load Balancer (ALB) Hands on with AWS EC2 instances - exceedthecloud.com\" \/>\n\t\t<meta property=\"og:description\" content=\"Choose an Application Load Balancer when you need a flexible feature set for your applications with HTTP and HTTPS traffic. Operating at the request level, Application Load Balancers provide advanced routing and visibility features targeted at application architectures, including microservices and containers. Prerequisite: Having a valid AWS Account (Follow the step in this link to\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/exceedthecloud.com\/?p=3647\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-02-11T02:50:27+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-02-11T02:47:26+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Application Load Balancer (ALB) Hands on with AWS EC2 instances - exceedthecloud.com\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Choose an Application Load Balancer when you need a flexible feature set for your applications with HTTP and HTTPS traffic. Operating at the request level, Application Load Balancers provide advanced routing and visibility features targeted at application architectures, including microservices and containers. Prerequisite: Having a valid AWS Account (Follow the step in this link to\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?p=3647#blogposting\",\"name\":\"Application Load Balancer (ALB) Hands on with AWS EC2 instances - exceedthecloud.com\",\"headline\":\"Application Load Balancer (ALB) Hands on with AWS EC2 instances\",\"author\":{\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/exceedthecloud.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/alb.jpg\",\"width\":414,\"height\":414,\"caption\":\"IAAS - Infrastructure-as-a-Service - Written on Blue Puzzle Pieces. Information Technology Concept. 3D Render.\"},\"datePublished\":\"2023-02-11T02:50:27+00:00\",\"dateModified\":\"2023-02-11T02:47:26+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?p=3647#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?p=3647#webpage\"},\"articleSection\":\"Amazon Web Services, AWS, AWS Basics, AWS, AWS Account, EC2, Load Balancer\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?p=3647#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/exceedthecloud.com#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/exceedthecloud.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?cat=118#listItem\",\"name\":\"AWS\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?cat=118#listItem\",\"position\":2,\"name\":\"AWS\",\"item\":\"https:\\\/\\\/exceedthecloud.com\\\/?cat=118\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?p=3647#listItem\",\"name\":\"Application Load Balancer (ALB) Hands on with AWS EC2 instances\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/exceedthecloud.com#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?p=3647#listItem\",\"position\":3,\"name\":\"Application Load Balancer (ALB) Hands on with AWS EC2 instances\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?cat=118#listItem\",\"name\":\"AWS\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/#organization\",\"name\":\"exceedthecloud.com\",\"description\":\"Going beyond the cloud, learning new stuffs everyday !\",\"url\":\"https:\\\/\\\/exceedthecloud.com\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?author=1#author\",\"url\":\"https:\\\/\\\/exceedthecloud.com\\\/?author=1\",\"name\":\"Marcelin NDJILA\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?p=3647#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/313fe81244bf3b0904f504f4f7306bd513918093551c74d1201a23374c87e9b2?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Marcelin NDJILA\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?p=3647#webpage\",\"url\":\"https:\\\/\\\/exceedthecloud.com\\\/?p=3647\",\"name\":\"Application Load Balancer (ALB) Hands on with AWS EC2 instances - exceedthecloud.com\",\"description\":\"Choose an Application Load Balancer when you need a flexible feature set for your applications with HTTP and HTTPS traffic. Operating at the request level, Application Load Balancers provide advanced routing and visibility features targeted at application architectures, including microservices and containers. Prerequisite: Having a valid AWS Account (Follow the step in this link to\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?p=3647#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?author=1#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/exceedthecloud.com\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/alb.jpg\",\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?p=3647\\\/#mainImage\",\"width\":414,\"height\":414,\"caption\":\"IAAS - Infrastructure-as-a-Service - Written on Blue Puzzle Pieces. Information Technology Concept. 3D Render.\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/?p=3647#mainImage\"},\"datePublished\":\"2023-02-11T02:50:27+00:00\",\"dateModified\":\"2023-02-11T02:47:26+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/#website\",\"url\":\"https:\\\/\\\/exceedthecloud.com\\\/\",\"name\":\"exceedthecloud.com\",\"description\":\"Going beyond the cloud, learning new stuffs everyday !\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/exceedthecloud.com\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Application Load Balancer (ALB) Hands on with AWS EC2 instances - exceedthecloud.com","description":"Choose an Application Load Balancer when you need a flexible feature set for your applications with HTTP and HTTPS traffic. Operating at the request level, Application Load Balancers provide advanced routing and visibility features targeted at application architectures, including microservices and containers. Prerequisite: Having a valid AWS Account (Follow the step in this link to","canonical_url":"https:\/\/exceedthecloud.com\/?p=3647","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/exceedthecloud.com\/?p=3647#blogposting","name":"Application Load Balancer (ALB) Hands on with AWS EC2 instances - exceedthecloud.com","headline":"Application Load Balancer (ALB) Hands on with AWS EC2 instances","author":{"@id":"https:\/\/exceedthecloud.com\/?author=1#author"},"publisher":{"@id":"https:\/\/exceedthecloud.com\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/alb.jpg","width":414,"height":414,"caption":"IAAS - Infrastructure-as-a-Service - Written on Blue Puzzle Pieces. Information Technology Concept. 3D Render."},"datePublished":"2023-02-11T02:50:27+00:00","dateModified":"2023-02-11T02:47:26+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/exceedthecloud.com\/?p=3647#webpage"},"isPartOf":{"@id":"https:\/\/exceedthecloud.com\/?p=3647#webpage"},"articleSection":"Amazon Web Services, AWS, AWS Basics, AWS, AWS Account, EC2, Load Balancer"},{"@type":"BreadcrumbList","@id":"https:\/\/exceedthecloud.com\/?p=3647#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/exceedthecloud.com#listItem","position":1,"name":"Home","item":"https:\/\/exceedthecloud.com","nextItem":{"@type":"ListItem","@id":"https:\/\/exceedthecloud.com\/?cat=118#listItem","name":"AWS"}},{"@type":"ListItem","@id":"https:\/\/exceedthecloud.com\/?cat=118#listItem","position":2,"name":"AWS","item":"https:\/\/exceedthecloud.com\/?cat=118","nextItem":{"@type":"ListItem","@id":"https:\/\/exceedthecloud.com\/?p=3647#listItem","name":"Application Load Balancer (ALB) Hands on with AWS EC2 instances"},"previousItem":{"@type":"ListItem","@id":"https:\/\/exceedthecloud.com#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/exceedthecloud.com\/?p=3647#listItem","position":3,"name":"Application Load Balancer (ALB) Hands on with AWS EC2 instances","previousItem":{"@type":"ListItem","@id":"https:\/\/exceedthecloud.com\/?cat=118#listItem","name":"AWS"}}]},{"@type":"Organization","@id":"https:\/\/exceedthecloud.com\/#organization","name":"exceedthecloud.com","description":"Going beyond the cloud, learning new stuffs everyday !","url":"https:\/\/exceedthecloud.com\/"},{"@type":"Person","@id":"https:\/\/exceedthecloud.com\/?author=1#author","url":"https:\/\/exceedthecloud.com\/?author=1","name":"Marcelin NDJILA","image":{"@type":"ImageObject","@id":"https:\/\/exceedthecloud.com\/?p=3647#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/313fe81244bf3b0904f504f4f7306bd513918093551c74d1201a23374c87e9b2?s=96&d=mm&r=g","width":96,"height":96,"caption":"Marcelin NDJILA"}},{"@type":"WebPage","@id":"https:\/\/exceedthecloud.com\/?p=3647#webpage","url":"https:\/\/exceedthecloud.com\/?p=3647","name":"Application Load Balancer (ALB) Hands on with AWS EC2 instances - exceedthecloud.com","description":"Choose an Application Load Balancer when you need a flexible feature set for your applications with HTTP and HTTPS traffic. Operating at the request level, Application Load Balancers provide advanced routing and visibility features targeted at application architectures, including microservices and containers. Prerequisite: Having a valid AWS Account (Follow the step in this link to","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/exceedthecloud.com\/#website"},"breadcrumb":{"@id":"https:\/\/exceedthecloud.com\/?p=3647#breadcrumblist"},"author":{"@id":"https:\/\/exceedthecloud.com\/?author=1#author"},"creator":{"@id":"https:\/\/exceedthecloud.com\/?author=1#author"},"image":{"@type":"ImageObject","url":"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/alb.jpg","@id":"https:\/\/exceedthecloud.com\/?p=3647\/#mainImage","width":414,"height":414,"caption":"IAAS - Infrastructure-as-a-Service - Written on Blue Puzzle Pieces. Information Technology Concept. 3D Render."},"primaryImageOfPage":{"@id":"https:\/\/exceedthecloud.com\/?p=3647#mainImage"},"datePublished":"2023-02-11T02:50:27+00:00","dateModified":"2023-02-11T02:47:26+00:00"},{"@type":"WebSite","@id":"https:\/\/exceedthecloud.com\/#website","url":"https:\/\/exceedthecloud.com\/","name":"exceedthecloud.com","description":"Going beyond the cloud, learning new stuffs everyday !","inLanguage":"en-US","publisher":{"@id":"https:\/\/exceedthecloud.com\/#organization"}}]},"og:locale":"en_US","og:site_name":"exceedthecloud.com - Going beyond the cloud, learning new stuffs everyday !","og:type":"article","og:title":"Application Load Balancer (ALB) Hands on with AWS EC2 instances - exceedthecloud.com","og:description":"Choose an Application Load Balancer when you need a flexible feature set for your applications with HTTP and HTTPS traffic. Operating at the request level, Application Load Balancers provide advanced routing and visibility features targeted at application architectures, including microservices and containers. Prerequisite: Having a valid AWS Account (Follow the step in this link to","og:url":"https:\/\/exceedthecloud.com\/?p=3647","article:published_time":"2023-02-11T02:50:27+00:00","article:modified_time":"2023-02-11T02:47:26+00:00","twitter:card":"summary","twitter:title":"Application Load Balancer (ALB) Hands on with AWS EC2 instances - exceedthecloud.com","twitter:description":"Choose an Application Load Balancer when you need a flexible feature set for your applications with HTTP and HTTPS traffic. Operating at the request level, Application Load Balancers provide advanced routing and visibility features targeted at application architectures, including microservices and containers. Prerequisite: Having a valid AWS Account (Follow the step in this link to"},"aioseo_meta_data":{"post_id":"3647","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":{"id":"#aioseo-article-646bc11450cc3","slug":"article","graphName":"Article","label":"Article","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":true,"ai":null,"created":"2023-02-11 02:50:33","updated":"2025-09-03 00:49:42","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/exceedthecloud.com\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/exceedthecloud.com\/?cat=118\" title=\"AWS\">AWS<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tApplication Load Balancer (ALB) Hands on with AWS EC2 instances\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/exceedthecloud.com"},{"label":"AWS","link":"https:\/\/exceedthecloud.com\/?cat=118"},{"label":"Application Load Balancer (ALB) Hands on with AWS EC2 instances","link":"https:\/\/exceedthecloud.com\/?p=3647"}],"jetpack_featured_media_url":"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2023\/02\/alb.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/posts\/3647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3647"}],"version-history":[{"count":5,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/posts\/3647\/revisions"}],"predecessor-version":[{"id":3708,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/posts\/3647\/revisions\/3708"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/media\/3671"}],"wp:attachment":[{"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}