Create and manage DSRNLB
Direct Server Return Network load balancer (DSRNLB) handles traffic at the transport layer (Layer 4) of the OSI model. When packets sent from a client to DSRNLB are forwarded to a target within a target group, the responses are sent directly back to the client, bypassing the Load Balancer. This process is known as Direct Server Return (DSR).
DSRNLB's listener can select the TCP
and UDP
protocols and connects to one default target group. All traffic flowing into the listener is routed to the default target group.
The methods for creating, listing, monitoring, modifying information, and setting security group for managing DSRNLB are as follows.
Create load balancer
To create a DSRNLB, follow these steps:
-
Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
-
Click the [Create load balancer] button at the top right.
-
Select the DSRNLB (Direct Server Return Network Load Balancer) type.
-
Enter the settings and click the [Create] button. If additional listeners are needed, click the [Add new listener] button to create up to 150 listeners per project.
Create load balancer
Section Item Description Basic information Load balancer name Name of the load balancer Description (Optional) 0-100 characters Network VPC Select from the available VPCs in the project Subnet Provides a list of subnets in the selected VPC Listener Protocol TCP
,UDP
Port Range from 1 to 65535
For DSRNLB, the listener port and the port number of the target within the target group connected to this listener must be the same, and additional settings are required on the target instance. Also, a target group already connected to a listener cannot be connected to another listener of the same DSRNLB.
For additional settings on the target instance, please refer to Create and manage target group.
View load balancer list
-
Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
-
Check the list of Load Balancers. Use filters to easily search for the desired load balancer if necessary.
Section Description Load balancer name Displays the name entered during creation and the assigned ID Provisioning status Information on whether the load balancer was created successfully or is being modified or deleted Operating status Information on whether the created load balancer is available Type Application or Network Private IP Automatically assigned private IP address of the load balancer Public IP Public IP address assigned by the user VPC VPC to which the load balancer belongs AZ Availability zone selected during creation Created at Date of load balancer creation [More] icon Provides functions for name change, public IP connect/disconnect, access log settings, and deletion
When setting additional target instance, the private IP information of DSRNLB is required. Please check this information in advance.
View load balancer details
-
Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
-
Select a load balancer.
-
Check the detailed information on each tab of the detailed screen.
Section Description Details View detailed information of the load balancer Listener Check the list of added listeners and view listener details Monitoring View monitoring results for up to 7 days
- Inbound traffic (bytes/sec): Amount of network traffic flowing into the listener
- Outbound traffic (bytes/sec): Amount of network traffic sent out from the listener
- CPS (Connections Per Second): CPS value of the listener, representing the number of connections per second processed by the listener
- Concurrent sessions: Number of sessions simultaneously maintained by the listener
Rename Load balancer
- Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
- Select a load balancer on Load Balancer tab, and then click [More] icon > Rename.
- In the popup, change the name or description and click the [Apply] button.
Associate public IP
- Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
- Select a load balancer on the Load Balancer tab, and then click [More] icon > Associate public IP.
- In the popup, configure the options and click the [Apply] button.
Disassociate public IP
- Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
- Select a load balancer on the Load Balancer, and then click [More] icon > Disassociate public IP.
- In the popup, select whether to delete the public IP and click the [Disassociate] button.
Configure access log
Access log is an optional feature and is disabled by default. The methods for enabling/disabling access log are as follows.
Enable access log
To enable access log, follow these steps:
-
Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
-
Select the [More] icon and Configure access log.
-
In the popup, change the state to [Enabled].
-
Select the bucket to store access logs.
- You can set whether to use encryption for the selected bucket. For security, it is recommended to select
Enabled encryption
. For more information on creating Object Storage buckets, refer to Object Storage > Create and manage buckets.
- You can set whether to use encryption for the selected bucket. For security, it is recommended to select
-
Select the access key ID. The selected access key ID must be set to not have an expiration date. For details, refer to Get access key.
info- When creating an access key, keep the secret access key separately.
- Enabling access log will incur bucket usage charges for log storage. In this case, you can set the access log retention period through the bucket's life cycle settings. For more information, refer to Object Storage > Configure life cycle.
-
Enter the secret access key that pairs with the access key ID and click the [Apply] button.
Disable access log
Follow these steps to disable access log.
- Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
- Select a load balancer on the Load Balancer, and then click [More] icon > Configure access log.
- In the popup, change the state.
Delete load balancer
- Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
- Select the [More] icon.
- Select Delete load balancer and click the [Delete] button.