Creating and managing Network Load Balancer
    • PDF

    Creating and managing Network Load Balancer

    • PDF

    Article Summary

    Available in VPC

    Network Load Balancer is a Load Balancer specialized in load distribution for high-capacity networks. It automatically adjusts its performance according to the scale of customer's service. It logs the client IP as is and provides 2 types of Load Balancing algorithm(Round Robin and Hash).

    Create Network Load Balancer

    To create a Network Load Balancer, follow these steps:

    1. Access NAVER Cloud Platform console.
    2. Click Services > Networking > Load Balancer, in order.
    3. Click the Load Balancer menu.
    4. Click [Create Load Balancer] > [Create Network Load Balancer] in order.
    5. When the create Load Balancer screen appears, proceed with the following steps in order:

    1. Create Load Balancer

    Enter the information for the Network Load Balancer you wish to create and click the [Next] button.

    • Network: select the network type for Load Balancer.

      • Private IP: it processes the load division from the internal server using a Private IP within VPC. It cannot be accessed from outside.
      • Public IP: the Public IP is set to allow calling from outside VPC or Internet. It processes the load division. You can utilize it by connecting with domains or CDN services of the customers using the random domain provided with the Public IP.
    • Load control capacity: the capacity is adjusted automatically depending on the service even without selecting a separate Load control capacity.

    • Target VPC: select the VPC to create a Load Balancer in.

    • Select subnet: select the Zone and Subnet to use to create the Load Balancer.

      Caution
      • The selected Zone and Subnet cannot be changed after creating the Load Balancer.
      • Create and select a dedicated Subnet. If the Load Balancer is located in the same Subnet with the server, it does not process the load to the server.
      • You can only select the Subnet included in the selected VPC you chose as Target VPC.
        • If you chose Private IP, you can only select the Subnet created with a Private Load Balancer Subnet.
        • If you chose Public IP, you can only select the Subnet created with Public Load Balancer Subnet.
        • For more information about creating Subnets, see Create Subnet.
      • You do not need to create separate Subnets for each Load Balancer, however, we recommend a Subnet in the C Class (255.255.255.0) scale.
    • Public IP: select a Public IP that you possess or subscribe a new Public IP.

    2. Create Load Balancer (set listener)

    1. Select the protocol that the basic listener of Load Balancer will operate by.
    2. Set up the port that the basic listener of Load Balancer will bind to.
    3. Click the [Add] button.
      • A listener is added.
      • Repeat steps 1 to 3 to add multiple listeners.
      • For the Singapore Region, you can add only one listener when creating a Load Balancer. If you need to add listeners, create a Load Balancer and see add listener to add a listener.
      • In order to delete an added listener, click the [Delete] button.
    4. Click the [Next] button.

    3. Select Target Group

    Select the Target Group to apply load balancing and click the [Next] button.

    • To do this, the Target Group need to be created in advance. If there is no created Target Group, click the [Create Target Group] button to create a Target Group. (See create Target Group)
    • Among Target Groups created, only Target Groups that can be connected are displayed.
      • The Target Groups for Network Load Balancer varies by the protocol type of the listener.
    Caution
    • Network Load Balancer operates as Direct Server Return (DSR) for distributed processing with higher performance.
      However, using a Private IP Network Load Balancer may occur a communication restriction under the following circumstances:
      • When a server that belongs to the Target Group requests the same Network Load Balancer
      • When a client attempt request the same port as the Private IP Network Load Balancer or Target Group's server
    • The bandwidth of Load Balancer Subnet must be added to ACG of the bound server and NACL as an access source and allowed port.
    Note
    • Network Load Balancer distributes loads by the 5-tuple Hash algorithm as the following: As a result, once a new request comes into Load Balancer, it can be forwarded to other servers as the source port changes.
      • Source IP
      • Source Port
      • Destination IP
      • Destination Port
      • Protocol

    4. View setting information

    Check the setting information for Load Balancer and click the [Create Load Balancer] button.

    Manage Network Load Balancer

    You can change the Load Balancer and set listeners for the created Network Load Balancer and check the monitoring information as a graph.

    Note
    • You can change the server applied to Load Balancer in the Target Group menu. For more information, see Target setting.
    • Network Load Balancers cannot change the Subnet. If you want to change the Subnet, create a Load Balancer again.

    Set Network Load Balancer

    To check the setting information and change the setting for Load Balancer, follow these steps:

    1. Click Services > Networking > Load Balancer in order on the NAVER Cloud Platform console.
    2. Click the Load Balancer menu.
    3. Select the Load Balancer to check or change the setting information and click the [Change Load Balancer settings] button.
      • The change Load Balancer settings popup window appears and you can view the setting information of the Load Balancer.
    4. After applying changes, click the [OK] button.
      • Load balancing performance can be changed.
        • Network Load Balancer created before the deployment on March 21, 2024 can be selected from Small/Medium/Large depending on the load control capacity.
        • Each size can handle at least 100,000/200,000/400,000 loads, respectively, based on connections per minute (CPS).
        • Network Load Balancer created after the deployment on March 21, 2024 can adjust the load control capacity automatically.

    Set listener

    You can check the registered listeners on the change listener settings screen and add/change/delete them. You can view and change the rules.

    Note

    Network Load Balancer can't add or delete a rule.

    To move listeners to the change settings page, follow these steps:

    1. Click Services > Networking > Load Balancer in order on the NAVER Cloud Platform console.
    2. Click the Load Balancer menu.
    3. Select the Load Balancer to change the listener setting and click the [Change listener settings] button.
      • When you move to the change listener settings screen, the listeners you set upon creating the Load Balancer show up as a Default.

    Add listener

    To add listeners, follow these steps:

    1. Click the [Add listener] button on the change listener settings screen.
    2. Select the protocol for the listener you wish to add.
    3. Enter the port number that the listener will bind to.
    4. Select the Target Group the listener's traffic will be forwarded to.
    5. Click the [OK] button.

    Change listener

    To change listeners, follow these steps:

    1. Click the [Change listener] button on the change listener settings screen.
    2. See add listener to apply the changes.
    3. Click the [OK] button.

    Delete listener

    Note
    • At least 1 listener must remain, so if 1 listener is added the listener can't be deleted. If you wish to delete the 1 remaining listener, add listeners before deleting it.
    • Only if the Load Balancer is in the Operating status, you can delete a listener.

    To delete a listener, follow these steps:

    1. Select the listener you wish to delete on the Set listener screen.
    2. Click the [Delete listener] button.
    3. Check the content on the delete listener popup window and click the [Delete] button.
      • The selected listener is deleted.

    View rules

    You can view the registered rules on the view/change rules screen.

    Rules have the following characteristics:

    • Each rule consists of actions (Network Load Balancers do not take conditions)
    • You cannot delete the Default rules
    • The rules are applied in the priority order and the unapplied traffic operates following the Default rules

    To view registered rules, follow these steps:

    1. Select the listener you wish to view on the set listener screen.
    2. Click the [View/Change rules] button.
      • Move to the View/Change rules screen.

    Change rules

    To change rules, follow these steps:

    1. Select the listener to make a rule change to on the set listener screen and click the [View/Change rules] button.
    2. Select the rule to change on the view/change rules screen and click the [Change rules] button.
    3. Apply the changes.
      • Change the Target Group at Action and click the [Add] button.
        • Weightings can't be changed.
      • Click the [X] button to delete the added target group.
    4. Click the [OK] button.

    Network Load Balancer monitoring

    You can check the regularly collected information for Concurrent connection, Connection per Second, Traffic In, Available Host Count and Unavailable Host Count for the selected period each as a graph.

    Note

    The collection cycle varies, depending on the selected period. Monitoring information collected by handling load balancing can be set up and checked from at least 1 minute to last year.

    Aggregation cycle (Interval)Search Period
    1-minute cycleUp to 6 hours
    5-minute cycleUp to 1 day
    30-minute cycleUp to 1 week
    2-hour cycleUp to 1 month
    1-day cycle1 month exceeded

    To check the monitoring information of the Network Load Balancer, follow these steps:

    1. Click Services > Networking > Load Balancer in order on the NAVER Cloud Platform console.
    2. Click the Load Balancer menu.
    3. Select a Load Balancer to monitor and click the [Monitoring] button.
      • The basic monitoring popup window for the Load Balancer pops up and shows the monitoring information as graphs.
      • Select the period to check the monitoring information collected for the selected period.
      • Click the [Refresh] button to refresh the graphs.
      • Click i_loadbalancer_enlargement to view an extended graph and click the [x] button to download the collected monitoring information as an Excel file.

    Delete Network Load Balancer

    Caution

    If you delete a Load Balancer, rules set to the Route Table are deleted together. If you are using the Route Table rules in another service, it may not function normally upon deleting a Load Balancer.

    To delete a Network Load Balancer, follow these steps:

    1. Click Services > Networking > Load Balancer in order on the NAVER Cloud Platform console.
    2. Click the Load Balancer menu.
    3. Select a Load Balancer to delete and click the [Delete Load Balancer] button.
    4. Check the content in the delete Load Balancer popup window and click the [Delete] button.
      • The selected Load Balancer is deleted.
      • The public IP in use can be returned together. The unreturned IPs can be re-assigned.

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.