Skip to main content

Create and manage DSRNLB

Direct Server Return Network Load Balancer (DSRNLB) processes traffic at the transport layer, which corresponds to layer 4 of the OSI model. Packets received from the client are delivered to a target within the target group, and the response is sent directly back to the client without passing through the load balancer. This behavior is referred to as Direct Server Return (DSR).
The DSRNLB listener supports TCP and UDP protocols and is linked to a single default target group. All traffic received through the listener is routed to the default target group.
This guide explains how to create a DSRNLB and manage it, including listing, monitoring, modifying, and configuring security group settings.

Create load balancer

Follow the steps below to create a DSRNLB.

  1. Go to the KakaoCloud Console > Beyond Networking Service > Load Balancing > Load balancer menu.

  2. Click the Create load balancer button in the top right corner.

  3. In the Create load balancer screen, under Select type, choose Direct Server Return Network Load Balancer.

  4. Enter the required configuration and click the Create button. To add more listeners, click Add new listener.

    Image Create load balancer

    SectionFieldDescription
    Basic infoLoad balancer nameName of the load balancer
    Description (optional)0–100 characters
    NetworkVPCSelect from available VPCs in the project
    SubnetList of subnets in the selected VPC
    ListenerProtocolTCP, UDP
    PortEnter a value between 1 and 65535
caution

DSRNLB requires that the port of the listener and the port of the targets in the connected target group be identical. Additional configuration is also required on the target instance. A target group connected to one listener cannot be reused by another listener within the same DSRNLB.
For further configuration of the target instance, refer to Create and manage target group.

View load balancer list

  1. Go to the KakaoCloud Console > Beyond Networking Service > Load Balancing > Load balancer menu.

  2. View the list of load balancers. Use filters to narrow your search if needed.

    ItemDescription
    Load balancer nameDisplays the user-defined name and assigned ID
    Provisioning statusIndicates whether the load balancer is active, being modified, or being deleted
    Operational statusIndicates whether the load balancer is currently available
    TypeApplication, Network, or Direct Server Return
    Private IPAutomatically assigned private IP address
    Public IPUser-assigned public IP address
    VPCVPC containing the load balancer
    Availability zoneZone selected during creation
    Created dateLoad balancer creation date
    [More] iconAllows name change, public IP association/disassociation, access log settings, and deletion
info

The private IP of the DSRNLB is required when configuring target instances. Make sure to check this information in advance.

View load balancer details

  1. Go to the KakaoCloud Console > Beyond Networking Service > Load Balancing > Load balancer menu.

  2. Select the load balancer you want to inspect.

  3. On the detail screen, check tabs for general info, listeners, and monitoring data.

    TabDescription
    DetailsView general details of the load balancer
    ListenerView the list and configuration details of attached listeners
    MonitoringView metrics for up to 7 days
    - Inbound traffic (bytes/sec): Data received via listener
    - Outbound traffic (bytes/sec): Data sent via listener
    - CPS (Connections Per Second): Number of connections handled per second
    - Concurrent sessions: Number of simultaneous active sessions

Rename load balancer

  1. Go to the KakaoCloud Console > Beyond Networking Service > Load Balancing > Load balancer menu.

  2. Click the [More] icon next to the load balancer you want to rename.

  3. Select Rename load balancer from the menu.

  4. In the Rename load balancer popup, update the name or description and click Apply.

Associate public IP

  1. Go to the KakaoCloud Console > Beyond Networking Service > Load Balancing > Load balancer menu.

  2. Click the [More] icon next to the load balancer to associate with a public IP.

  3. Select Associate public IP from the menu.

  4. In the Associate public IP popup, configure the allocation option and click Apply.

    • Create and automatically assign a new public IP: Allocates and links a new public IP
    • Select from existing public IP list: Links an existing public IP

Disassociate public IP

  1. Go to the KakaoCloud Console > Beyond Networking Service > Load Balancing > Load balancer menu.

  2. Click the [More] icon next to the load balancer to disassociate a public IP.

  3. Select Disassociate public IP from the menu.

  4. In the Disassociate public IP popup, choose whether to delete the public IP, then click Disassociate.

Configure access log

Access logging is an optional feature and is disabled by default. You can enable or disable access logging using the steps below.

Enable access log

To enable access logging:

  1. Go to the KakaoCloud Console > Beyond Networking Service > Load Balancing > Load balancer menu.

  2. Click the [More] icon next to the load balancer.

  3. Select Configure access log from the menu.

  4. In the popup, click [Disabled] to enable logging.

  5. Select a bucket for storing access logs. You can enable encryption for the bucket. For enhanced security, it is recommended to choose Enable. For details on bucket creation, see Create and manage bucket.

  6. Select an access key ID. It must be set with No expiration. To create one, refer to Credentials.

    info
    • Save your secret access key securely when generating an access key.
    • Charges may apply based on the volume of logs stored. You can configure Lifecycle settings on the bucket to limit retention. See Configure lifecycle.
  7. Enter the matching secret access key and click Apply.

Disable access log

To disable access logging:

  1. Go to the KakaoCloud Console > Beyond Networking Service > Load Balancing > Load balancer menu.

  2. Click the [More] icon next to the load balancer.

  3. Select Configure access log from the menu.

  4. In the popup, click [Enabled] to turn off access logging.

Delete load balancer

  1. Go to the KakaoCloud Console > Beyond Networking Service > Load Balancing > Load balancer menu.

  2. Click the [More] icon next to the load balancer you want to delete.

  3. Select Delete load balancer from the menu.

  4. In the Delete load balancer popup, enter the confirmation phrase and click Delete.