This topic describes how to create an Internet-facing Classic Load Balancer (CLB) instance. After you create an Internet-facing CLB instance, the system allocates a public IP address to the CLB instance. Then, you can resolve your domain names to the public IP address.

Background information

You can add multiple listeners and backend servers to a CLB instance.

Procedure

  1. Log on to the CLB console.
  2. On the Instances page, click Create CLB.
  3. On the buy page, configure the CLB instance based on your requirements.
    In this example, the CLB instance is configured based on the following information:
    • Region: CLB does not support cross-region deployment by default. Make sure that the CLB instance and the Elastic Compute Service (ECS) instances that are specified as backend servers are deployed in the same region. In this example, China (Qingdao) is selected.
    • Zone Type: To implement zone-disaster recovery, multi-zone CLB instances are available in most regions. If the primary zone is down or becomes unavailable, CLB triggers a failover to redirect requests to servers in the secondary zone within about 30 seconds. When the primary zone recovers, CLB automatically switches traffic back to servers in the primary zone.

      In this example, China North 1 Zone C is selected as the primary zone, and China North 1 Zone B is selected as the secondary zone.

    • Instance Name: Enter a name for the instance or use the instance name that is automatically created by the system.
    • LoadBalancerSpec: Small Ⅰ (slb. s1.small) is selected. A CLB instance of this specification supports a maximum of 5,000 concurrent connections, 3,000 connections per second (CPS), and 1,000 queries per second (QPS).
    • Instance Type: Public Network is selected.
    • IP Version: IPv4 is selected.
    • Billing Method: Pay by Traffic is selected.
    • Quantity: The value is set to 1.
    • Resource Group: Default Resource Group is selected.
  4. Click Buy Now.
  5. On the Confirm Order page, select I have read and agree to Server Load Balancer Agreement of Service, and click Activate Now.

    You can resolve your domain names to the public IP address of the CLB instance. This way, your CLB instance can provide services over the Internet. For more information, see Resolve a domain name.