Setting Up an AWS Application Load Balancer (ALB)

Prev Next

How to Set Up an AWS Application Load Balancer

Setting up an Application Load Balancer (ALB) in AWS requires certain prerequisites and a series of steps to ensure proper configuration. Follow this guide to set up your ALB efficiently.

Prerequisites

  • NEA should already be deployed in AWS EC2.

  • NEA should be joined to NMC.

  • A certificate should already be created.

  • Access to DNS to set up the FQDN.

  • Full access to Amazon EC2.

Step-by-Step Guide

Follow these steps:

  1. Log into the AWS Console.

    Begin by logging into your AWS console and navigating to the EC2 section.

  2. Create a Target Group.

    Under “Load Balancing”, navigate to the "Target Groups" section.
    To create a new target group for your instances, click “Create target group”.

     Screenshot showing the creation of a target group

  3. Click Instances.

  4. Enter a Target group name.

  5. Set the protocol to HTTPS.

  6. Configure Health checks settings as needed.

     Screenshot showing target group configuration settings

  7. Click Next.

  8. On the Register Targets page, select the instances you want to include in the target group and register them.
    Click Create target group.

     Screenshot showing the registration of targets

  9. Create a Load Balancer.
    On the EC2 page, click "Load Balancers".
    On the Load balancers page, click Create Load balancer.

     Select the Application Load Balancer type of load balancer and click Create.Screenshot showing the creation of an Application Load Balancer

  10. Configure Load Balancer Settings.

    Enter a Load balancer name.
    Set the IP address type, Network mapping, and Security groups as required.

     Screenshot showing load balancer configuration settings

  11. Add Listeners.

    Add a listener for HTTPS traffic. Configure the Routing action to Forward to target groups.

     Screenshot showing the addition of a listener

  12. Import SSL/TLS Certificate.

    Import the SSL/TLS certificate to secure the load balancer.

     Screenshot showing SSL/TLS certificate import

  13. Finalize and Review.

    Review all the configurations. Click Create load balancer.

     Screenshot showing the final review of load balancer settings

After the load balancer is set up, ensure that it is properly routing traffic and that all security settings are correctly configured.