Create and manage ALB
Application Load Balancer (ALB) handles traffic at the application layer, which is layer 7 of the OSI model. ALB Listeners can use the HTTP or HTTPS protocol and connect to a single default target group..
In addition to the default target group, each listener can also add ALB rules to set up routing based on rules.
Create load balancer
Follow these steps to create a load balancer:
-
Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
-
Click the [Create load balancer] button at the top right corner.
-
In the Create load balancer screen, select the ALB(Application Load Balancer) type.
Create load balancer
Category Item Description Basic information Load balancer name Enter the name of the load balancer Description (optional) 0-100 characters Network VPC Select from available VPCs in the project Subnet Provide a list of Subnets from the selected VPC Listener Protocol HTTP
,HTTPS
Port Enter a value between 1 and 65535 Min TLS version Appears only when HTTPS
is selected.
- Choose one fromTLSv1.2
,TLSv1.1
,TLSv1.2
Default SSL certificate Appears only when HTTPS
is selected.
- Select a registered certificate or register a new certificate -
After entering the configuration values, click the [Create] button.
View load balancer list
-
Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
-
Check the list of load balancers.
Category Description Name The name assigned at creation Provisioning status Information on whether the load balancer has been successfully created or is in the process of being modified or deleted Operating status Information on whether the created load balancer is available for use Type Application or Network Private IP The automatically assigned private IP address for the load balancer Public IP The public IP address assigned by the user VPC The VPC containing the load balancer AZ The availability zone selected during creation Created at The date the load balancer was created [More] icon Provides options for renaming, connecting/disconnecting public IP, configuring access log, and deleting
View load balancer details
-
Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
-
Select a load balancer.
-
In the detail view, you can check the details, listeners, and monitoring information on each tab.
Tab Description Details View detailed information of the load balancer Listener View the list of added listeners and their details Monitoring View monitoring results for up to 7 days
- Inbound traffic (bytes/sec): The amount of network traffic incoming to the listener
- Outbound traffic (bytes/sec): The amount of network traffic outgoing from the listener
- CPS (Connections Per Second): The number of connections per second handled by the listener
- Concurrent Session: The number of sessions maintained by the listener simultaneously
Rename load balancer
- Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
- Select a load balancer on Load Balancer tab, and then click [More] icon > Rename.
- In the popup, change the name or description and click the [Apply] button.
Associate public IP
- Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
- Select a load balancer on the Load Balancer tab, and then click [More] icon > Associate public IP.
- In the popup, configure the options and click the [Apply] button.
Disassociate public IP
- Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
- Select a load balancer on the Load Balancer, and then click [More] icon > Disassociate public IP.
- In the popup, select whether to delete the public IP and click the [Disassociate] button.
Configure access log
Access log is an optional feature that is disabled by default. Here’s how to enable or disable access log.
Enable access log
Follow these steps to enable access log.
-
Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
-
Select a load balancer on the Load Balancer, and then click [More] icon > Configure access log.
-
In the popup, change the state to [Enabled].
-
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
Encryption enabled
. For more information on creating Object Storage buckets, refer to Object Storage > Create and manage buckets.
- You can set whether to use encryption for the selected bucket. For security, it is recommended to select
-
Select the access key ID. The selected access key ID must be set to not have an expiration date. For details, refer to Get 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.
-
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.
- Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
- Select a load balancer on the Load Balancer, and then click [More] icon > Configure access log.
- In the popup, change the state.
Delete load balancer
- Go to KakaoCloud Console > Beyond Networking Service > Load Balancing > Load Balancer.
- Select a load balancer on the Load Balancer, and then click [More] icon > Delete load balancer.
- Click the [Delete] button.