Quick Start

BLB BLB

  • API Reference
    • Access control
    • API Service Domain Name
    • Appendix
    • Application BLB Interface
      • Application BLB Instance Related Interfaces
      • Application BLB Listener Related Interfaces
      • Application BLB Security Group Related Interfaces
      • Application BLB Server Group Related Interfaces
    • Application IPv6 BLB Interface
      • Application IPv6 BLB Instance Related Interfaces
      • Application IPv6 BLB Listener Related Interfaces
      • Application IPv6 BLB Security Group Related Interfaces
      • Application IPv6 BLB Server Group Related Interfaces
    • BLB Order Related Interfaces
      • BLB - Resize
      • BLB Charge Shift - Cancel Prepay to Postpay
      • BLB Charge Shift - Postpay to Prepay
      • BLB Charge Shift - Prepay to Postpay
      • BLB Inquiry
      • BLB Unsubscribe Interface
    • Document Update Records
    • Error code
    • Interface Specifications
    • Introduction
    • Load Balancer Dedicated Cluster LBDC Interface
      • LBDC Instance Related Interfaces
    • Service Publishing Point Interface
      • Service Publishing Point Related Interfaces
    • Standard BLB Interface
      • Standard BLB Instance Related Interfaces
      • Standard BLB Listener Related Interfaces
      • Standard BLB Real Server Related Interfaces
      • Standard BLB Security Group Related Interfaces
    • Standard IPv6 BLB Interface
      • Standard IPv6 BLB Related Interfaces
  • FAQs
    • Billing Problems
    • Common Questions Overview
    • Configuration-related questions
    • Fault-related questions
    • General Problems
    • Load Balancer Dedicated Cluster Related Issues
    • Performance-related questions
    • Security Problems
  • Function Release Records
  • Operation guide
    • Access control
    • Access Logs
    • Application BLB instance
    • Application IPv6 Instance
    • BLB metric description
    • Certification
    • Custom configuration
    • Extended domain name
    • General-purpose BLB instance
      • Creating BLB Ordinary Instance
      • Managing BLB Ordinary Instance
    • General-purpose IPv6 BLB instance
    • Identity and access management
    • IP Group Usage Guide
    • Load Balance Dedicated Cluster
    • Load Balancer Frontend and Backend Protocol Correspondence
    • Recording Access Logs Using VPC Flow Logs
    • Service Release Point
    • Tag Management
  • Product Description
    • Application scenarios
    • Basic Architecture
    • Basic concepts
    • Performance Specification Description
    • Product advantages
    • Product features
    • Product Introduction
    • Usage restrictions
  • Product pricing
    • Load Balancer Dedicated Cluster Billing
    • Load Balancer Instance Billing
  • Quick Start
  • SDK
    • GO-SDK
      • Application BLB Instance
      • Initialization
      • Install
      • IPv6 BLB Instance
      • Load Balance Dedicated Cluster (LBDC)
      • Ordinary BLB Instance
      • Overview
      • Service Release Point
      • Version Change Records
    • Java-SDK
      • Application BLB instance
      • General-purpose BLB instance
      • Initialization
      • Install the SDK Package
      • IPv6 BLB Instance
      • Load Balance Dedicated Cluster (LBDC)
      • Overview
      • Service Release Point
      • Version Update Description
    • PHP-SDK
      • Initialization
      • Install
      • Ordinary BLB Instance
      • Overview
    • Python-SDK
      • Application BLB Instance
      • Initialization
      • Install
      • IPv6 BLB Instance
      • Load Balance Dedicated Cluster (LBDC)
      • Ordinary BLB Instance
      • Overview
      • Service Release Point
      • Version Update Description
  • Service Level Agreement (SLA)
    • Description of Baidu AI Cloud Load Balancer Trusted Cloud certification service availability
    • LBDC Service Level Agreement SLA
    • BLB Service Level Agreement (V2.0)
  • Typical Practices
    • BLB Selection Guide
    • Health Check Exception Troubleshooting
    • Implementing BLB Association with Listeners, Real Servers, Security Groups, etc. via Terraform
    • Implementing Multi-Site Hosting via Application BLB
    • Load Balancer Security Protection Strategy
    • Managing BLB via Terraform
    • Obtaining Client Information via Application BLB Instance
    • Using IP Group Function to Mount Real Servers Across VPCs in Different Regions
    • Using IP Group Function to Mount Real Servers Across VPCs in the Same Region
All documents
menu
No results found, please re-enter

BLB BLB

  • API Reference
    • Access control
    • API Service Domain Name
    • Appendix
    • Application BLB Interface
      • Application BLB Instance Related Interfaces
      • Application BLB Listener Related Interfaces
      • Application BLB Security Group Related Interfaces
      • Application BLB Server Group Related Interfaces
    • Application IPv6 BLB Interface
      • Application IPv6 BLB Instance Related Interfaces
      • Application IPv6 BLB Listener Related Interfaces
      • Application IPv6 BLB Security Group Related Interfaces
      • Application IPv6 BLB Server Group Related Interfaces
    • BLB Order Related Interfaces
      • BLB - Resize
      • BLB Charge Shift - Cancel Prepay to Postpay
      • BLB Charge Shift - Postpay to Prepay
      • BLB Charge Shift - Prepay to Postpay
      • BLB Inquiry
      • BLB Unsubscribe Interface
    • Document Update Records
    • Error code
    • Interface Specifications
    • Introduction
    • Load Balancer Dedicated Cluster LBDC Interface
      • LBDC Instance Related Interfaces
    • Service Publishing Point Interface
      • Service Publishing Point Related Interfaces
    • Standard BLB Interface
      • Standard BLB Instance Related Interfaces
      • Standard BLB Listener Related Interfaces
      • Standard BLB Real Server Related Interfaces
      • Standard BLB Security Group Related Interfaces
    • Standard IPv6 BLB Interface
      • Standard IPv6 BLB Related Interfaces
  • FAQs
    • Billing Problems
    • Common Questions Overview
    • Configuration-related questions
    • Fault-related questions
    • General Problems
    • Load Balancer Dedicated Cluster Related Issues
    • Performance-related questions
    • Security Problems
  • Function Release Records
  • Operation guide
    • Access control
    • Access Logs
    • Application BLB instance
    • Application IPv6 Instance
    • BLB metric description
    • Certification
    • Custom configuration
    • Extended domain name
    • General-purpose BLB instance
      • Creating BLB Ordinary Instance
      • Managing BLB Ordinary Instance
    • General-purpose IPv6 BLB instance
    • Identity and access management
    • IP Group Usage Guide
    • Load Balance Dedicated Cluster
    • Load Balancer Frontend and Backend Protocol Correspondence
    • Recording Access Logs Using VPC Flow Logs
    • Service Release Point
    • Tag Management
  • Product Description
    • Application scenarios
    • Basic Architecture
    • Basic concepts
    • Performance Specification Description
    • Product advantages
    • Product features
    • Product Introduction
    • Usage restrictions
  • Product pricing
    • Load Balancer Dedicated Cluster Billing
    • Load Balancer Instance Billing
  • Quick Start
  • SDK
    • GO-SDK
      • Application BLB Instance
      • Initialization
      • Install
      • IPv6 BLB Instance
      • Load Balance Dedicated Cluster (LBDC)
      • Ordinary BLB Instance
      • Overview
      • Service Release Point
      • Version Change Records
    • Java-SDK
      • Application BLB instance
      • General-purpose BLB instance
      • Initialization
      • Install the SDK Package
      • IPv6 BLB Instance
      • Load Balance Dedicated Cluster (LBDC)
      • Overview
      • Service Release Point
      • Version Update Description
    • PHP-SDK
      • Initialization
      • Install
      • Ordinary BLB Instance
      • Overview
    • Python-SDK
      • Application BLB Instance
      • Initialization
      • Install
      • IPv6 BLB Instance
      • Load Balance Dedicated Cluster (LBDC)
      • Ordinary BLB Instance
      • Overview
      • Service Release Point
      • Version Update Description
  • Service Level Agreement (SLA)
    • Description of Baidu AI Cloud Load Balancer Trusted Cloud certification service availability
    • LBDC Service Level Agreement SLA
    • BLB Service Level Agreement (V2.0)
  • Typical Practices
    • BLB Selection Guide
    • Health Check Exception Troubleshooting
    • Implementing BLB Association with Listeners, Real Servers, Security Groups, etc. via Terraform
    • Implementing Multi-Site Hosting via Application BLB
    • Load Balancer Security Protection Strategy
    • Managing BLB via Terraform
    • Obtaining Client Information via Application BLB Instance
    • Using IP Group Function to Mount Real Servers Across VPCs in Different Regions
    • Using IP Group Function to Mount Real Servers Across VPCs in the Same Region
  • Document center
  • arrow
  • BLBBLB
  • arrow
  • Quick Start
Table of contents on this page
  • Deployment strategy
  • Create BCC instance and deploy application server
  • Create a BLB instance with public network access
  • Add real server
  • Add a TCP listener
  • Public Network Access to real server
  • View monitor data

Quick Start

Updated at:2025-10-16

To quickly create a publicly accessible Baidu Load Balancer (BLB) instance and forward client requests to real servers, please refer to this document.

Deployment strategy

  1. Create BCC instance and deploy application server
  2. Create a BLB instance with public network access
  3. Add real server
  4. Add a TCP listener
  5. Public Network Access to real server
  6. View monitor data

Create BCC instance and deploy application server

Create 2 subscription BCC instances:

  1. Sign in to Baidu AI Cloud official website.
  2. Sign in to Baidu AI Cloud Platform:

Description:

  • If no username exists, sign up first. Refer to [Register](UserGuide/Register an account.md#Register a Baidu Account) for operations
  • If a username exists, refer to {Sign in for operations.
  1. After logging in, go to Products > Compute > Baidu Cloud Compute (BCC), and click on Buy Now.
  2. Fill in relevant configuration information according to the page prompts. For details, refer to Create BCC Instance.

Notes Configure the public network access when creating a BLB instance. Thus, you do not need to select public network access when creating a BCC instance.

  1. Once payment is completed following the specified steps, the system will create the Baidu Cloud Compute instance in the backend.
  2. Go to the Instance List page to check the creation status. The instance status will show as "Running" once the creation is successful.
  3. After successful instance creation, the system will notify you via SMS.
  4. After creating the BCC instance, you can Remotely Connect to the Instance via SmartTerm. Taking CentOS as an example, the reference commands for deploying the nginx application server are as follows:
Plain Text
1yum install -y nginx
2systemctl start nginx.service

Create a BLB instance with public network access

  1. Sign in to the console, select Products > Network > Load Balancer, and then click Buy Now. image.png
  2. Choose the billing type and region for the BLB instance.

image.png You can select the bill type and location of BLB instance. The bill type for BLB are mainly divided into prepay and postpay. For details, refer to Load Balancer Instance Billing.

Description:

  • It is generally recommended to purchase the BLB instance and real servers in the same region to simplify configuration and reduce network latency between them.
  • For the required BLB cross-region real server mounting, consider purchasing application BLB instances. Refer to Mount Real Servers in Cross-region VPCs by Using IP Group.
  • Configure public network access: Select Enable or Disable Public network access based on actual conditions.

    • If OFF is selected, it means the public IP will not be bound during the creation of this BLB instance. You can bind a public IP later if needed.
    • If ON is selected, the feature will be enabled, meaning that a public IP will be purchased and bound to the BLB instance during its creation.
  • Purchase Information: Specify the purchase quantity and configure whether to enable auto-release.

Notes When creating a BLB instance, users can directly configure the [Auto-release](BLB/Operation guide/General-purpose BLB instance/Managing BLB Ordinary Instance.md#Automatically release BLB instance) of BLB instance, and the BLB instance will be released automatically at the preset time.

  1. Select BLB instance configuration information image.png

Enter the instance name and specify the BLB instance type, performance, network, and other basic details.

  • Instance Type: BLB. For differences between various types of instances, refer to BLB Selection Guide. Note that a BLB instance type cannot be changed once being created.
  • Network: The Virtual Private Cloud (VPC) to which the BLB being created and its associated BCC cloud resources belong.
  1. Select other information (users can select it as needed) image.png Configure public access: Optional for users. If public access is not enabled, the system will automatically skip this step. Moreover, after enabling public access, users can choose to purchase an EIP or bind an existing EIP.

    Description:

    • Select the option to purchase an EIP. After the BLB instance is successfully created, the system will automatically create and bind an EIP to the instance, requiring no additional action from the user.
    • Bind an existing EIP: Use this option if you already have an EIP available for binding.
  2. Select purchase information: Select the duration, instance count and whether to enable auto-renewal. image.png

    Description: *When creating a BLB instance, users can directly configure the Auto-release of BLB instance, and the BLB instance will be released automatically at the preset time.

  3. Configure public access (optional, if public access is not enabled, the system will automatically skip this step) Configure EIP instance information: For the configuration method of EIP instances, refer to [Create EIP Instance](EIP/Operation guide/EIP Instance/Create instance.md).

image.png

  1. Complete the order confirmation and payment following the system prompts. You will receive an SMS notification upon successful creation.

Add real server

  1. Go to Product & Service > Baidu Load Balance (BLB) to access the Baidu Load Balance (BLB) list.
  2. Click on the link in the Load Balancer ID/Name column to proceed to the Instance Details page.
  3. Click on the Real Server tab to add BCC servers that require load balancing.

image.png image.png

  1. Assign weights to the BCC servers within the BLB instance.

Weight is used to set different request forwarding ratios for different real server instances. The weight value is relative. If it is set to the same value, the forwarding ratio will be identical. image.png

Add a TCP listener

The listener configuration consists of two parts: Configuring Information and Setting Health Check.

  1. Select Product > Network > Load Balancer to enter the BLB console list. The following demonstrates the configuration of a general-purpose BLB instance by adding a TCP listener.
  2. First, select a standard instance in the left sidebar, click the ID link under the Load Balancer ID/First Name column to enter the Instance Details page.
    image.png
  3. Click the Listener Settings tab, then click the Add Listener Settings button. The following demonstrates the basic listener configuration and health check setup by taking a TCP listener as an example. image.png
  • Use the Configure Information page to set up the listener port based on the provided prompts.
  • Set Health Check can be used to set relevant parameters for health checks according to the page prompts. image.png image.png

Public Network Access to real server

In this case, you can access the real server by entering the public EIP address bound to the BLB in a browser. image.png

View monitor data

After configuring the BLB instance, along with its real servers and listeners, you can access its monitoring data. To do so, navigate to the BLB Details page and select the Instance Monitor tab to view various monitoring charts.

image.png

Previous
Product pricing
Next
SDK