Skip to main content

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:

  1. Go to Beyond Networking Service > Load Balancing > Load Balancer in the KakaoCloud Console.

  2. Click the [Create load balancer] button at the top right.

  3. Select the DSRNLB (Direct Server Return Network Load Balancer) type.

  4. 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.

    Image Create load balancer

    SectionItemDescription
    Basic informationLoad balancer nameName of the load balancer
    Description (Optional)0-100 characters
    NetworkVPCSelect from the available VPCs in the project
    SubnetProvides a list of subnets in the selected VPC
    ListenerProtocolTCP, UDP
    PortRange from 1 to 65535
caution

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

  1. Go to Beyond Networking Service > Load Balancing > Load Balancer in the KakaoCloud Console.

  2. Check the list of Load Balancers. Use filters to easily search for the desired load balancer if necessary.

    SectionDescription
    Load balancer nameDisplays the name entered during creation and the assigned ID
    Provisioning statusInformation on whether the load balancer was created successfully or is being modified or deleted
    Operating statusInformation on whether the created load balancer is available
    TypeApplication or Network
    Private IPAutomatically assigned private IP address of the load balancer
    Public IPPublic IP address assigned by the user
    VPCVPC to which the load balancer belongs
    AZAvailability zone selected during creation
    Created atDate of load balancer creation
    [More] iconProvides functions for name change, public IP connect/disconnect, access log settings, and deletion
info

When setting additional target instance, the private IP information of DSRNLB is required. Please check this information in advance.

View load balancer details

  1. Go to Beyond Networking Service > Load Balancing > Load Balancer in the KakaoCloud Console.

  2. Select a load balancer.

  3. Check the detailed information on each tab of the detailed screen.

    SectionDescription
    DetailsView detailed information of the load balancer
    ListenerCheck the list of added listeners and view listener details
    MonitoringView 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

Modify Load balancer name/description

  1. Go to Beyond Networking Service > Load Balancing > Load Balancer in the KakaoCloud Console.
  2. Select a load balancer on Load Balancer tab, and then click [More] icon > Rename load balancer.
  3. In the popup, change the name or description and click the [Apply] button.

Associate public IP

  1. Go to Beyond Networking Service > Load Balancing > Load Balancer in the KakaoCloud Console.
  2. Select a load balancer on the Load Balancer tab, and then click [More] icon > Associate public IP.
  3. In the popup, configure the options and click the [Apply] button.

Disassociate public IP

  1. Go to Beyond Networking Service > Load Balancing > Load Balancer in the KakaoCloud Console.
  2. Select a load balancer on the Load Balancer, and then click [More] icon > Disassociate public IP.
  3. 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:

  1. Go to Beyond Networking Service > Load Balancing > Load Balancer in the KakaoCloud Console.

  2. Select the [More] icon and Configure access log.

  3. In the popup, change the state to [Enabled].

  4. 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.
  5. Select the access key ID. The selected access key ID must be set to not have an expiration date. For details, refer to Create 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.
  6. 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.

  1. Go to Beyond Networking Service > Load Balancing > Load Balancer in the KakaoCloud Console.
  2. Select a load balancer on the Load Balancer, and then click [More] icon > Configure access log.
  3. In the popup, change the state.

Delete load balancer

  1. Go to Beyond Networking Service > Load Balancing > Load Balancer in the KakaoCloud Console.
  2. Select the [More] icon.
  3. Select Delete load balancer and click the [Delete] button.