AWS Elastic Load Balancing - Getting started with Application Load Balancer | Scribe

    AWS Elastic Load Balancing - Getting started with Application Load Balancer

    • Hafeez Baig |
    • 27 steps |
    • 3 minutes
    information ordinal icon

    Refer to the following guide to learn how to use IAM in the cloud\ <https://scribehow.com/shared/Creating_an_IAM_User_and_User_Group_in_AWS_Management_Console__hWNiiXlcRJKFqYZZEJD-cg> Refer to this guide to learn how to create a Classic Load Balancer<https://scribehow.com/shared/AWS_Elastic_Load_Balancing__Getting_started_with_Classic_Load_Balance__edZk6AUORPir-vDtdkVHtg>

    1

    Sign in to **AWS Management Console** as an **IAM User** **Pre-requisite** - Ensure you have selected the AWS region closest to your location\ For this guide, we will be using us-east-2 (Ohio) as a preferred choice

    2

    Type **EC2** in the search bar and click on **EC2** to view the EC2 Dashboard

    3

    On the EC2 dashboard click on **Load Balancers** from the left bar to view the Load Balancers

    4

    Click on the **Create load balancer** button from the top right of the page

    5

    Scrolling down, select the **Application Load Balancer** and click the **Create** button

    6

    Scroll to the **Basic configuration** section. Give the name "**my-application-load-balancer**" Select the Scheme as "**Internet-facing**" and choose the IP address type as "**IPv4**"

    7

    Navigate to the Mappings section and choose all the default and available subnets

    8

    Scroll to the **Security groups** section and click on **create a new security group** link

    9

    Create Security group wizard will open, Give the name "**application-load-balancer-sg**" and the description as "**application-load-balancer-sg**"

    10

    Scroll to the **Inbound rules section** and click on the **Add rule** button

    11

    Select the new Inbound rule Type as **HTTP**

    12

    Select the Source as "**Anywhere-IPv4**'

    13

    Scroll to the end of the page and click on **Create security group** button

    14

    The security group has been successfully created

    15

    Return to the Load Balancer creation page and click on the refresh icon in the **Security groups** section to view the updated Security groups

    16

    Click and select the Security group we created, named "**application-load-balancer-sg**"

    17

    Scroll to the **Listeners and routing** section, then click on **Create target group** link

    information ordinal icon

    **What is Target Group?** A target group in AWS is a logical grouping of targets, usually instances or IP addresses, that serve as the destination for traffic from a load balancer. Target groups are used in conjunction with AWS Elastic Load Balancing services to distribute incoming traffic across multiple targets based on configured rules and health checks. This allows for better scalability, availability, and fault tolerance of applications hosted on AWS.

    18

    Create Target group wizard will open, Give the name "**my-target-group**"