# Creating a Shared Load Balancer

#### Prerequisites

You have prepared everything required for creating a load balancer. For details, see Preparations for Creating a Load Balancer.

Load balancers receive requests from clients and route the requests to backend servers, which answer to these requests over the private network.

#### Creating a Shared Load Balancer

1. Log in to the management console.
2. In the upper left corner of the page, click and select the desired region and project.
3. Hover on in the upper left corner to display Service List and choose Network > Elastic Load Balancing.

4. On the Load Balancers page, click Create Elastic Load Balancer. Configure the parameters based on Table 1.

   Table 1 Parameters for creating a shared load balancer
   Parameter | Description | Example Value
   --- | --- | ---
   Region | Specifies the region. Resources in different regions cannot communicate with each other over internal networks. For lower network latency and faster access to resources, select the nearest region. | N/A

   Network Type

   Specifies the network type of a load balancer.
   - Public network: The load balancer routes requests from the clients to backend servers over the Internet.
   - Private network: The load balancer routes requests from the clients to backend servers in the same VPC.

   Private network

   VPC | Specifies the VPC where the load balancer works. Select an existing VPC or create one. For more information about VPC, see the Virtual Private Cloud User Guide. | N/A
   Subnet | Specifies the subnet that the load balancer belongs to. | N/A

   Private IP Address

   Specifies how you want the IP address to be assigned.
   - Automatically-assigned IP address: The system automatically assigns an IPv4 address to the load balancer.
   - Manually-specified IP address: Manually specify an IPv4 address to the load balancer.

   Automatically-assigned IP address

   EIP

   Specifies the public IP address that will be bound to the load balancer for receiving and forwarding requests over the Internet.

   The following options are available:
   - New EIP: The system will automatically assign an EIP.
   - Use existing: Select an existing EIP.

   New EIP

   Bandwidth | Specifies the bandwidth when a new EIP is used, in the unit of Mbit/s. | 10 Mbit/s
   Name | Specifies the load balancer name. | elb-yss0
   Description | Provides supplementary information about the load balancer. | N/A

   Tag

   Identifies load balancers so that they can be easily found. A tag consists of a tag key and a tag value. The tag key marks a tag, and the tag value specifies specific tag content.

   For details about the naming specifications, see Table 2.

   - Key: elb_key1
   - Value: elb-01

   Table 2 Naming rules of load balancer tags
   Item | Requirement | Example Value
   --- | --- | ---

   Tag key

   - Cannot be left blank.
   - Must be unique for the same load balancer.
   - Can contain a maximum of 36 characters.
   - Cannot contain asterisks (*), angle brackets (< and >), backslashes (\), equal signs (=), commas (,), vertical bars (|), or slashes (/).
   - Can contain only the following character types:
     - Uppercase letters
     - Lowercase letters
     - Digits
     - Special characters, including hyphens (-) and underscores (_)

   elb_key1

   Tag value

   - Can contain a maximum of 43 characters.
   - Cannot contain asterisks (*), angle brackets (< and >), backslashes (\), equal signs (=), commas (,), vertical bars (|), or slashes (/).
   - Can contain only the following character types:
     - Uppercase letters
     - Lowercase letters
     - Digits
     - Special characters, including hyphens (-) and underscores (_)

   elb-01

5. Click Create Now.
6. Confirm the configuration and submit your request.

Parent topic: Load Balancer