3.6.3. Network Loadbalancer

Select a Load Balancer type

  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
  2. On the navigation bar, choose a region for your load balancer. Be sure to select the same region that you selected for your EC2 instances.
  3. On the navigation pane, under LOAD BALANCING, choose Load Balancers.
  4. Choose Create Load Balancer.
  5. For Network Load Balancer, choose Create.

ELB Type

Configure Your Load Balancer and Listener

  1. For Name, type a name for your load balancer Name must be unique, maximum 32 characters, contain only alphanumeric characters and hyphens, must not begin or end with hyphen, and must not begin with “internal-”
  2. For Schema and IP address type, keep the default values
  3. For Listeners, keep the default.
  4. For Availability Zones, select VPC that you used for your EC2 instances.
  5. Choose Next: Confgiure Security Settings.
  6. For this tutorial, you are not creating an HTTPS listener. Choose Next: Configure Security Groups.

NLB Details

Configure Your Target Group

Create a target group, which is used in request routing.

  1. For Target group, keep te default, New target group.
  2. For Name, type a name for the the new target group.
  3. Keep the default target type(Instance), protocol (HTTP), and port (80)
  4. For Health checks, keep the default settings.
  5. Choose Next: Register Targets.

NLB Routing

Register Targets with Your Target Group

  1. For Instances, select one or more instances.
  2. Keep the default port (80) and choose Add to registered.
  3. When you have finished selecting instances, choose Next: Review.

NLB Targets

Create Your Load Balancer

  1. On the Review page, choose Create.
  2. After you are notified that your load balancer was created, choose Close.