Skip to main content

Create and manage NLB

Network Load Balancer (NLB) operates at the transport layer (OSI Layer 4) and handles traffic. The NLB listener can be configured to use TLS, TCP, and UDP protocols, and it connects to a default target group. All traffic incoming to the listener is routed to the default target group.
The following guide explains how to create, list, monitor, and manage NLBs, including changing their settings.

Create load balancer

To create an NLB, follow these steps:

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

  2. Click the [Create Load Balancer] button at the top right.

  3. In the Create Load Balancer screen, select Network Load Balancer from the Type dropdown.

  4. Enter the required settings and click the [Create] button. If additional listeners are needed, click the [Add New Listener] button to create new listeners.

    Image Create Load Balancer

    FieldItemDescription
    Basic InformationLoad balancer nameName of the load balancer
    Load balancer description (optional)0~100 characters
    NetworkVPCChoose a VPC available in the project
    SubnetList of subnets in the selected VPC
    ListenerProtocolTCP, UDP, TLS
    PortEnter a port in the range of 1 to 65535

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 if needed to easily search for the desired load balancer.

    FieldDescription
    Load balancer nameName and ID assigned when created
    Provisioning statusInformation on whether the load balancer has been successfully created or is being modified/deleted
    Operational statusInformation on whether the load balancer is in an available state
    TypeApplication, Network, Direct Server Return
    Private IPAutomatically assigned private IP address for the load balancer
    Public IPPublic IP address assigned by the user
    VPCVPC containing the load balancer
    Availability zoneAvailability zone selected during creation
    Creation dateDate the load balancer was created
    [More] iconProvides options for renaming, connecting/disconnecting public IP, setting access logs, and deleting

View load balancer details

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

  2. Select the load balancer whose details you want to view.

  3. In the detailed view, you can check the following tabs for information on the load balancer, listeners, and monitoring:

    FieldDescription
    DetailsView the detailed information of the load balancer
    ListenerView the list of added listeners and detailed information for each
    MonitoringView monitoring data for up to 7 days
    - Inbound traffic (bytes/sec): Network traffic coming into the listener
    - Outbound traffic (bytes/sec): Network traffic sent from the listener
    - CPS (Connections Per Second): The number of connections processed by the listener per second
    - Concurrent Session: The number of sessions maintained by the listener simultaneously

Rename load balancer

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

  2. In the Load Balancer list, click the [More] icon for the load balancer whose name you want to change.

  3. From the [More] menu, click Rename load balancer.

  4. In the Rename load balancer popup, change 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. In the Load Balancer list, click the [More] icon for the load balancer to which you want to associate a public IP.

  3. From the [More] menu, click Associate public IP.

  4. In the Associate public IP popup, set the allocation options and click [Apply].

    • Create a new public IP and automatically assign: Assign and connect a new public IP
    • Select from existing public IPs: Connect an existing public IP

Disassociate public IP

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

  2. In the Load Balancer list, click the [More] icon for the load balancer from which you want to disassociate the public IP.

  3. From the [More] menu, click Disassociate public IP.

  4. In the Disassociate public IP popup, select whether to delete the public IP, then click [Disassociate].

Configure access log

Access logs are an optional feature and are disabled by default. The following explains how to enable or disable access logs.

Enable access log

To enable access logs, follow these steps:

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

  2. In the Load Balancer list, click the [More] icon for the load balancer for which you want to enable access logs.

  3. From the [More] menu, click Access log settings.

  4. In the Access log settings popup, click Disable.

  5. In the Access log settings popup, select the bucket where the access logs will be stored. You can choose to enable encryption for security. It is recommended to select Enable and create the bucket for security. For detailed instructions on creating an Object Storage bucket, refer to the Object Storage > Create and Manage Buckets guide.

  6. In the Access log settings popup, select the access key ID. The expiration date of the access key ID should be set to Not set. For more information on creating access keys, refer to the Credentials guide.

    info
    • When creating an access key, securely store the secret access key.
    • Enabling access logs will incur charges for bucket usage. You can set a retention period for access logs using the bucket's lifecycle settings. For more details, refer to Object Storage > Configure Lifecycle Settings.
  7. In the Access log settings popup, enter the secret access key associated with the access key ID and click [Apply].

Disable access log

To disable access logs, follow these steps:

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

  2. In the Load Balancer list, click the [More] icon for the load balancer for which you want to disable access logs.

  3. From the [More] menu, click Access log settings.

  4. In the Access log settings popup, click Enable.

Delete load balancer

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

  2. In the Load Balancer list, click the [More] icon for the load balancer you want to delete.

  3. From the [More] menu, click Delete load balancer.

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