Create an Application Load Balancer for AWS

Updated 4 months ago by Archana Singh

A load balancer serves as the single point of contact for clients. The load balancer distributes incoming application traffic across multiple targets, such as EC2 instances, in multiple Availability Zones. This increases the availability of your application.

An Application Load Balancer makes routing decisions at the application layer (HTTP/HTTPS), supports path-based routing, and can route requests to one or more ports on each container instance in your cluster.

Before You Begin

Create a New Application Load Balancer

Perform the following steps to create a new Application Load Balancer in AWS.

  1. In Cloud Costs, select the project that you created in the previous step.
  2. In Cloud Costs, in Load Balancer, click + New Load Balancer.
  3. Select AWS Cloud Provider.
  4. Select the Cloud Connector where you want to use the Load Balancer from the drop-down list and click Apply Selected.
  5. Once you've selected your AWS connector, click Continue.
  6. In Create a new Application Load Balancer, in Provide a name for the Load balancer, enter a name for your Load Balancer.
  7. Select your preferred DNS provider and perform the mapping. You can select Route 53 or Others.
    1. Route 53: You can use Amazon Route 53 as the DNS service for your domain, such as example.com. When Route 53 is your DNS service, it routes internet traffic to your website by translating friendly domain names (such as www.example.com) into the numeric IP addresses (such as 192.0.2.1) that computers use to connect to each other.
      Select the Route 53 hosted zone from the drop-down list.
    2. Others: When using Other DNS providers like GoDaddy, HostGator, and so on, map your custom domain to the hostname. To map your custom domain to hostname, you need to perform the following steps:
      1. Add a CNAME record with your custom domain qa.yourcompany.co as the host.
      2. Point the record to your Harness domain 27-nginx-test-1.gateway.harness.io.
      3. Save your settings. It may take a full day for the settings to propagate across the global Domain Name System.
  8. Enter Domain name. The Application Load Balancer does not have a domain name associated with it. The rule directs traffic to resources through the Load balancer. Hence the Load balancer requires a domain name to be accessed by the rule.
  9. Click Continue.
  10. Select region from the drop-down list to install the Access Point.
  11. (Optional) Select a certificate from the drop-down list.
  12. Select VPC.
  13. Select security groups.
  14. Once you're done, click Save Load Balancer.
    Your Load Balancer is listed under the Load Balancer Manager.


Please Provide Feedback