Create and manage DSRNLB
Direct Server Return Network Load Balancer (DSRNLB) processes traffic at OSI Layer 4, the transport layer. After packets sent from the client to the DSRNLB are delivered to the targets in the target group, responses to that traffic are sent directly to the client without passing through the load balancer. This behavior is called Direct Server Return (DSR).
The listener of a DSRNLB can use the TCP and UDP protocols and connects to one default target group. All traffic entering the listener is routed to the default target group.
The following describes how to manage DSRNLB, including creating it, viewing the list, monitoring, changing information, and configuring security groups.
Create load balancer
The following describes how to create a DSRNLB.
- Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
- Click the [Create load balancer] button at the top right.
- In Select type, choose Direct Server Return Network Load Balancer.
- Configure the information required to create the load balancer, and then click the [Create] button.
Category Item Description Basic information Load balancer name Name of the load balancer Load balancer description Description of the load balancer Network VPC Select from the VPCs available in the project Subnet Displays the list of subnets in the selected VPC Listener Protocol TCP,UDPPort Enter a value in the range 1 to 65535 Detailed settings Idle timeout: Set the idle timeout
For DSRNLB, the listener port and the port number of the targets in the target group connected to that listener must be set to the same value, and additional configuration is required on the target instances. In addition, a target group already connected to a listener cannot be connected to another listener of the same DSRNLB.
For additional configuration on the target instances, see Create and manage target groups.
View load balancer list and basic information
You can view the list of load balancers and their basic information.
- Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
- Check the list of load balancers.
Category Description Name Name entered when created ID ID assigned when created Provisioning status Indicates whether the load balancer was created successfully or whether modification or deletion is in progress Operating status Indicates whether the created load balancer is available for use Type Type of the load balancer Private IP Private IP address automatically assigned to the load balancer Public IP Public IP address assigned by the user VPC VPC that includes the load balancer Availability zone Availability zone selected when created Created at Date when the load balancer was created
The private IP information of the DSRNLB is required for additional configuration on the target instances. Check this information in advance.
View load balancer details
You can view detailed information about the load balancer.
- Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
- Select the load balancer for which you want to view details.
- Check the information in each tab.
- Details tab
- Listener tab
- Monitoring tab
Item Description Name User-defined name used to identify the load balancer ID ID automatically assigned when the load balancer is created Provisioning status Progress status of resource creation and configuration Operating status Current operating status indicating whether it can process actual traffic Load balancer type Type of the load balancer Access log Whether request/response log collection is enabled for the load balancer VPC Information about the VPC to which the load balancer belongs VPC ID ID of the connected VPC Subnet Information about the subnet where the load balancer is deployed Subnet ID ID of the connected subnet Public IP Public IP address for external internet communication Private IP Private IP address for internal network communication Listener Number of created listeners Availability zone Availability zone where the load balancer is deployed Created at Date and time when the load balancer was created Item Description Protocol:Port Protocol and port number received by the listener ID ID of the listener Provisioning status Status of applying the listener settings Operating status Current operating status of the listener Minimum TLS version Minimum allowed TLS protocol version Default SSL certificate Default SSL certificate used for HTTPS communication Default action Traffic processing method performed by default when a request is received Number of added rules Number of rules additionally configured besides the default action Item Description Query period Set the period for viewing monitoring data Auto refresh Whether monitoring data is automatically refreshed Display mode Configure graph or data display format Traffic metrics Traffic-related statistics such as request count and throughput Status metrics Status-related statistics such as healthy/unhealthy responses
Rename load balancer
- Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
- In the Load balancer menu on the left, select [⋮] > Rename for the target load balancer.
- Enter the information in the pop-up window, and then click the [Change] button.
Modify load balancer attributes
- Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
- In the Load balancer menu on the left, select [⋮] > Modify attributes for the target load balancer.
- Complete the modifications and then click the [Modify] button.
Associate public IP
- Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
- In the Load balancer menu on the left, select [⋮] > Associate public IP for the target load balancer.
- Complete the settings in the pop-up window, and then click the [Associate] button.
- Create a new public IP and assign automatically: When creating and associating a new public IP
- Select from existing public IP list: When associating an existing public IP
Disassociate public IP
- Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
- In the Load balancer menu on the left, select [⋮] > Disassociate public IP for the target load balancer.
- Select the public IP to disassociate in the pop-up window, and then click the [Disassociate] button.
Configure access log
Access Log is an optional feature and is set to disabled by default.
The following describes how to enable or disable access logs.
Enable access log
The following describes how to enable access logs.
- Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
- In the Load balancer menu on the left, click [⋮] > Configure access log for the target load balancer.
- In the pop-up window, set access log to Enabled.
- Select the bucket where access logs will be stored. You can configure whether encryption is used for the selected bucket.
- Encrypting the bucket is recommended for security.
- For more information about creating an Object Storage bucket, see Object Storage > Create and manage buckets.
- Select the Access key ID.
- The selected access key ID must have its expiration period set to
No expiration. For creating an access key, see Credentials.
info- When creating an access key, you must store the secret access key separately.
- When access logs are enabled, bucket usage charges apply for log storage. In this case, you can set the retention period for access logs using the Lifecycle settings of the bucket. For more information, see Object Storage > Configure Lifecycle.
- The selected access key ID must have its expiration period set to
- Enter the Secret access key paired with the access key ID, and then click the [Save] button.
Disable access log
The following describes how to disable access logs.
- Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
- In the Load balancer menu on the left, click [⋮] > Configure access log for the target load balancer.
- In the pop-up window, select Disabled for access log, and then click the [Save] button.
Delete load balancer
- Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
- In the Load balancer menu on the left, click [⋮] > Delete load balancer for the target load balancer.
- Enter the delete confirmation text in the pop-up window, and then click the [Delete] button.