This section provides detailed information about the Load Balancing API, including its functionalities and usage.

Overview

Load Balancing is a crucial component for ensuring high availability and performance of applications. The Load Balancing API allows you to create, manage, and monitor load balancers in your infrastructure.

Key Features

  • High Availability: Distribute incoming traffic across multiple instances to ensure that your application remains accessible even if one instance fails.
  • Scalability: Automatically scale your application based on traffic patterns and resource usage.
  • Health Checks: Monitor the health of your instances and automatically remove unhealthy instances from the load balancer.

Getting Started

Before using the Load Balancing API, you need to have a Ullrai Cloud account.

API Endpoints

Here are the main endpoints for the Load Balancing API:

  • /load-balancers: Create, retrieve, update, and delete load balancers.
  • /load-balancer-instances: Add, remove, and manage instances in a load balancer.
  • /health-checks: Configure and manage health checks for load balancers.

Example Usage

Here's an example of how to create a load balancer using the Load Balancing API:

POST /load-balancers
Content-Type: application/json

{
  "name": "my-load-balancer",
  "protocol": "HTTP",
  "port": 80,
  "health-check-path": "/health"
}

For more detailed examples and usage scenarios, please refer to the Load Balancing API documentation.

Related Resources


Load Balancer Architecture