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.
SchemeWhether the Load Balancer is reachable from the internet. Internet facing exposes a public IP; Internal is reachable only from inside the VPC. Required, and cannot be changed after the Load Balancer is created.
SubnetThe network for the Load Balancer. Select an existing subnet from the list, or leave blank if no specific network planning is required. The Scheme decides the subnet type: Internet facing uses a routed subnet, Internal uses an isolated subnet.
Public IPShown only when the Scheme is Internet facing. Assign a public IP so the Load Balancer can be reached from the internet. With Internal, the field is hidden and no public IP is assigned.
Private IPEnter a specific private IP within the subnet. Leave blank to assign one automatically.

Scheme​

The Scheme decides whether the Load Balancer is exposed to the internet. Choose it before you fill in the rest of Step 1 — it changes which fields the form shows.

Create Load Balancer - Scheme

SchemePublic IPSubnet typeExternal members in the Server Pool
Internet facingShown — you assign a public IPRoutedAllowed
InternalHidden — no public IP is assignedIsolatedNot supported

You can still switch the Scheme while you are on Step 1. If you switch to Internal after adding an external member in Step 2, the wizard keeps your choice and shows a reminder under the Scheme box:

You have external members configured. Go to Step 2 to remove them before continuing.

You cannot move on to Step 3 until those external members are removed.

note

On VMware-based VPCs, the Scheme field is locked to Internet facing, because every Load Balancer subnet there is routed. Load Balancers created before this field existed are recorded as Internet facing.

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, on an Internet facing Load Balancer, add an external member (Instance, IP Address, Subnet, Port, Weight).
Internal Load Balancers and external members

An Internal Load Balancer only serves traffic inside the VPC, so it does not accept external members. Add external member is disabled when the Scheme is Internal, and the wizard blocks Next while an external member is still configured:

Internal load balancers do not support external members. Please remove external members to continue.

Either remove the external members, or go back to Step 1 and set the Scheme to Internet facing.

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.