Skip to main content

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.

  1. Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
  2. Click the [Create load balancer] button at the top right.
  3. In Select type, choose Direct Server Return Network Load Balancer.
  4. Configure the information required to create the load balancer, and then click the [Create] button.
    CategoryItemDescription
    Basic informationLoad balancer nameName of the load balancer
    Load balancer descriptionDescription of the load balancer
    NetworkVPCSelect from the VPCs available in the project
    SubnetDisplays the list of subnets in the selected VPC
    ListenerProtocolTCP, UDP
    PortEnter a value in the range 1 to 65535
    Detailed settingsIdle timeout: Set the idle timeout
caution

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.

  1. Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
  2. Check the list of load balancers.
    CategoryDescription
    NameName entered when created
    IDID assigned when created
    Provisioning statusIndicates whether the load balancer was created successfully or whether modification or deletion is in progress
    Operating statusIndicates whether the created load balancer is available for use
    TypeType of the load balancer
    Private IPPrivate IP address automatically assigned to the load balancer
    Public IPPublic IP address assigned by the user
    VPCVPC that includes the load balancer
    Availability zoneAvailability zone selected when created
    Created atDate when the load balancer was created
info

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.

  1. Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
  2. Select the load balancer for which you want to view details.
  3. Check the information in each tab.
    ItemDescription
    NameUser-defined name used to identify the load balancer
    IDID automatically assigned when the load balancer is created
    Provisioning statusProgress status of resource creation and configuration
    Operating statusCurrent operating status indicating whether it can process actual traffic
    Load balancer typeType of the load balancer
    Access logWhether request/response log collection is enabled for the load balancer
    VPCInformation about the VPC to which the load balancer belongs
    VPC IDID of the connected VPC
    SubnetInformation about the subnet where the load balancer is deployed
    Subnet IDID of the connected subnet
    Public IPPublic IP address for external internet communication
    Private IPPrivate IP address for internal network communication
    ListenerNumber of created listeners
    Availability zoneAvailability zone where the load balancer is deployed
    Created atDate and time when the load balancer was created

Rename load balancer

  1. Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
  2. In the Load balancer menu on the left, select [⋮] > Rename for the target load balancer.
  3. Enter the information in the pop-up window, and then click the [Change] button.

Modify load balancer attributes

  1. Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
  2. In the Load balancer menu on the left, select [⋮] > Modify attributes for the target load balancer.
  3. Complete the modifications and then click the [Modify] button.

Associate public IP

  1. Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
  2. In the Load balancer menu on the left, select [⋮] > Associate public IP for the target load balancer.
  3. 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

  1. Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
  2. In the Load balancer menu on the left, select [⋮] > Disassociate public IP for the target load balancer.
  3. 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.

  1. Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
  2. In the Load balancer menu on the left, click [⋮] > Configure access log for the target load balancer.
  3. In the pop-up window, set access log to Enabled.
  4. Select the bucket where access logs will be stored. You can configure whether encryption is used for the selected bucket.
  5. 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.
  6. 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.

  1. Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
  2. In the Load balancer menu on the left, click [⋮] > Configure access log for the target load balancer.
  3. In the pop-up window, select Disabled for access log, and then click the [Save] button.

Delete load balancer

  1. Go to KakaoCloud console > Networking > Load Balancing > Load balancer.
  2. In the Load balancer menu on the left, click [⋮] > Delete load balancer for the target load balancer.
  3. Enter the delete confirmation text in the pop-up window, and then click the [Delete] button.