Skip to main content

Create a Load Balancer

In the menu, select Load Balancer > Load Balancer, then click Create Load Balancer. The console opens a 5-step wizard:

  1. Basic Information
  2. Server Pool & Health Check
  3. Listener
  4. Recommended alarm
  5. Review & Create

The system creates one default Server Pool and one default Listener from the values you provide in the wizard.

Step 1. Basic Information

Create Load Balancer - Basic Information

FieldDescription
NameName of the Load Balancer. Only letters, numbers, underscore, hyphens, spaces, and dot are allowed. Can be changed later.
DescriptionOptional description.
TagsOptional tags applied to the Load Balancer.
SubnetThe network for the Load Balancer. Select an existing subnet from the list, or leave blank if no specific network planning is required.
Public IPAssign a public IP if the Load Balancer must be reachable from the internet. Default is None (internal Load Balancer).
Private IPEnter a specific private IP within the subnet. Leave blank to assign one automatically.

Size

Select the package that suits your workload. All packages are high-availability (24/7).

SizeHigh AvailabilityActive ConnectionApplication Throughput
StarterYes5002,000 requests/s
Basic-1Yes1,0005,000 requests/s
Basic-2Yes2,00010,000 requests/s
StandardYes4,00020,000 requests/s
Advanced-1Yes6,00030,000 requests/s
Advanced-2Yes8,00040,000 requests/s
PremiumYes12,00080,000 requests/s

Click Next to continue.

Step 2. Server Pool & Health Check

Create Load Balancer - Server Pool and Health Check

Server Pool

FieldDescription
Server pool nameName of the Server Pool. Default is Default server pool.
DescriptionOptional description.
ProtocolProtocol the Server Pool uses (for example, HTTP).
TLSEnable TLS for a secure connection with backend servers. Enable when the Listener uses the TERMINATED_HTTPS protocol.
Add serverAdd members to the pool — choose instances within the VPC or add an external member (Instance, IP Address, Subnet, Port, Weight).

Advanced Settings

FieldDescription
AlgorithmRequest-distribution algorithm: Round Robin, Least Connection, or Source IP.
Sticky sessionKeep a client's requests on the same server: None, App Cookie, HTTP Cookie, or Source IP.

Health Check Settings

FieldDefaultDescription
ProtocolHTTPProtocol of the health monitor.
URL Path/Must begin with a forward slash (/).
HTTP MethodGETHTTP method used for health-check requests.
Expected Code200HTTP status codes that declare a member healthy.
Max retries down31–10. Failed checks before a member is marked down.
Max retries31–10. Successful checks before a member is marked up.
Delay (s)5Time between probes.
Timeout (s)5Maximum time to wait for a probe response.

Click Next to continue.

Step 3. Listener

Create Load Balancer - Listener

FieldDescription
Listener nameName of the Listener. Default is Default listener.
DescriptionOptional description.
ProtocolProtocol the Listener uses to receive requests.
PortPort the Listener listens on (for example, 80).
Server poolThe pool that requests are routed to (linked to the pool from Step 2).
Allow CIDRsCIDRs allowed to access this Listener. All other traffic is denied. One CIDR per line. Default 0.0.0.0/0.
Deny CIDRsCIDRs denied access, even if included in the allow list. One CIDR per line.
HTTP Headers insertionsHeaders inserted into requests to members: X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto.

Advanced Settings

FieldDefaultDescription
Member connect timeout (s)5Backend member connection timeout.
Client data timeout (s)50Frontend client inactivity timeout.
Member data timeout (s)50Backend member inactivity timeout.
TCP inspect timeout (s)0Time to wait for additional TCP packets for content inspection.
Connection limit-1Maximum connections for this Listener. -1 means unlimited.

Click Next to continue.

Create Load Balancer - Recommended alarm

The wizard suggests two Cloud Guard alarms to detect overload conditions:

AlarmMetricCondition
Active connectionActive connectionGreater than 1,000
Drop packetDrop packet In/Out per second (packet/s)Greater than 50

For each alarm, select a Notify to recipient (required if you keep the alarm). If you do not have a recipient yet, use Create recipient here to add one (Email, Telegram, Slack, and Teams are supported). Remove an alarm with its delete icon if you do not want it.

Click Next to continue.

Step 5. Review & Create

Create Load Balancer - Review and Create

Review the full configuration (read-only). To change anything, click Previous. When ready, click Create Load Balancer.

Check the status

After creation, the console returns to the Load Balancer list. Each Load Balancer, Listener, Server Pool, and Member has its own status.

Load Balancer list with status

ObjectProvisioning statusOperating status
Load BalancerActive: created successfully. Creating: initialising. Updating: being updated. Deleting: being deleted. Error/Pending: an error occurred — contact support.Healthy: all members healthy. Unhealthy: at least one member unhealthy. Offline: all members unhealthy. No healthcheck: no health check configured.
ListenerSame as Load BalancerN/A
Server PoolSame as Load BalancerSame as Load Balancer
MemberN/AHealthy: available to receive requests. Unhealthy: unavailable.

The list also shows the Public IP, Private IP, Tags, Size, and Created at of each Load Balancer.

note

Load Balancer creation may take a moment. Wait until the provisioning status is Active before continuing.