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.
- Log on to the CLB console.
- On the Instances page, click Create CLB.
- 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. 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.
- Instance Spec: 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: Internet is selected.
- IP Version: IPv4 is selected.
- Internet Charge Type: By traffic is selected.
- Quantity: The value is set to 1.
- Resource Group: Default Resource Group is selected.
- Click Buy Now.
- 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. For more information, see Resolve a domain name.