- Print
- PDF
Creating and managing Network Load Balancer
- Print
- PDF
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:
- Access NAVER Cloud Platform console.
- Click Services > Networking > Load Balancer, in order.
- Click the Load Balancer menu.
- Click [Create Load Balancer] > [Create Network Load Balancer] in order.
- 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)
- Select the protocol that the basic listener of Load Balancer will operate by.
- Set up the port that the basic listener of Load Balancer will bind to.
- 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.
- 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.
- 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.
- 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.
- 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:
- Click Services > Networking > Load Balancer in order on the NAVER Cloud Platform console.
- Click the Load Balancer menu.
- 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.
- 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.
- Load balancing performance can be changed.
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.
Network Load Balancer can't add or delete a rule.
To move listeners to the change settings page, follow these steps:
- Click Services > Networking > Load Balancer in order on the NAVER Cloud Platform console.
- Click the Load Balancer menu.
- 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:
- Click the [Add listener] button on the change listener settings screen.
- Select the protocol for the listener you wish to add.
- Enter the port number that the listener will bind to.
- Select the Target Group the listener's traffic will be forwarded to.
- Click the [OK] button.
Change listener
To change listeners, follow these steps:
- Click the [Change listener] button on the change listener settings screen.
- See add listener to apply the changes.
- Click the [OK] button.
Delete listener
- 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:
- Select the listener you wish to delete on the Set listener screen.
- Click the [Delete listener] button.
- 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:
- Select the listener you wish to view on the set listener screen.
- Click the [View/Change rules] button.
- Move to the View/Change rules screen.
Change rules
To change rules, follow these steps:
- Select the listener to make a rule change to on the set listener screen and click the [View/Change rules] button.
- Select the rule to change on the view/change rules screen and click the [Change rules] button.
- 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.
- Change the Target Group at Action and click the [Add] button.
- 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.
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 cycle | Up to 6 hours |
5-minute cycle | Up to 1 day |
30-minute cycle | Up to 1 week |
2-hour cycle | Up to 1 month |
1-day cycle | 1 month exceeded |
To check the monitoring information of the Network Load Balancer, follow these steps:
- Click Services > Networking > Load Balancer in order on the NAVER Cloud Platform console.
- Click the Load Balancer menu.
- 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 to view an extended graph and click the [x] button to download the collected monitoring information as an Excel file.
Delete Network Load Balancer
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:
- Click Services > Networking > Load Balancer in order on the NAVER Cloud Platform console.
- Click the Load Balancer menu.
- Select a Load Balancer to delete and click the [Delete Load Balancer] button.
- 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.