Load balancers

Load balancers help you distribute incoming traffic across a select group of server instances. Use load balancers to utilize your resources efficiently and ensure that your servers are always available.

A Nebula load balancer consists of three parts:

  • a load balancer instance: the main resource that receives and manages network traffic
  • a server group: collects a set of servers with a defined load balancing method
  • a listener: handles requests that come in through a specific port and directs those to a server group

A load balancer's resources are mutually dependent: the load balancer instance requires a server group to work, and server groups require listeners that connect each server to the load balancer.

We recommend that you create these resources in this order: load balancer first, then server groups, then listeners.

Create load balancers

You can create load balancers directly in the Console.

To create load balancers, you first need to launch your servers, set up a VPC, define security groups, and set up key pairs for secure authentication.

When you create a load balancer, you need to define a unique name and select the appropriate performance and capacity for your use case. Performance and capacity define aspects like a load balancer's bandwidth, maximum number of connections, connections per second, or queries per second.

Then, you have to attach a VPC from your existing configurations. Select the VPC that hosts the servers to which you want to distribute traffic.

You can optionally define a frontend subnet to receive incoming traffic and a backend subnet to route traffic to. To do this, you first need to create these subnets within the VPC that hosts the servers to which you want to distribute traffic.

Once your load balancer is ready, continue with creating server groups.

Manage load balancers

Open the details page of a load balancer directly from the Load balancers page in the Console. This is where you can access the load balancer's IP address. You can also start or stop a load balancer, and edit these properties on the same page:

  • update the name, performance and capacity, associated VPC, and subnets
  • add, edit, or remove listeners through the Listeners tab

Need help?

If you have any technical questions or encounter any problems, get in touch with our Support team! We're here to help, and will provide support if you encounter any issues with NebCompute.