An Application Load Balancer (ALB) instance is an entity that provides load balancing services. To use the load balancing service, you must first create an ALB instance.
- A region is selected for the ALB instance.
To reduce the network latency and increase the downloading speed, we recommend that you select the region that is closest to your customers.
- A virtual private cloud (VPC) is created.
You must create a VPC in the selected region, and deploy the ALB instance and a vServer group in the VPC. For more information about how to create a VPC, see Work with VPCs.
- Log on to the ALB console.
- On the Instances page, click Create ALB Instance.
- On the ALB (Pay-As-You-Go) International Site page, set the following parameters.
Parameter Description Region
Select the region where you want to deploy the ALB instance. Make sure that the ALB instance and Elastic Compute Service (ECS) instances that serve as backend servers are deployed in the same region.
VPC Select the VPC where you want to deploy the ALB instance. Make sure that the ALB instance and ECS instances that serve as backend servers are deployed in the same VPC. Zone Select a zone and a vSwitch. If no vSwitch is available in the selected zone, create a vSwitch as prompted. IP Mode Select an IP mode for the ALB instance.
- Static IP: Only one IP address is available in each zone. The IP address cannot be changed. If you choose the static IP mode, the ALB instance supports at most 100,000 queries per second (QPS).
- Dynamic IP: One or more IP addresses are available in each zone. The number of IP addresses that the ALB instance uses automatically increases along with your workloads. If you choose the dynamic IP mode, the ALB instance is highly scalable.
Edition Select an edition for the ALB instance.
- Basic: Basic ALB instances support basic routing features such as forwarding requests based on domain names, URLs, and HTTP headers.
- Standard: Standard ALB instances support advanced routing features in addition to the features of basic ALB instances. Standard ALB instances support custom TLS security policies, redirection, and rewriting.
For more information about the differences between basic and standard ALB instances, see Features and limits of different editions.
Network Type Select a network type for the ALB instance. The system allocates a public or private IP address to the ALB instance based on the network type that you select.
- Internal: If you create an internal-facing ALB instance, one or more private IP addresses of Alibaba Cloud are allocated to the ALB instance. In this case, you must access the ALB instance through networks of Alibaba Cloud.
- Internet: If you create an Internet-facing ALB instance, one or more public IP addresses are
allocated to the ALB instance. In this case, you can access the ALB instance over
Note Internet-facing ALB instances use elastic IP addresses (EIPs) to provide services over the Internet. When an Internet-facing ALB instance uses an EIP to provide Internet-facing services, you are charged data egress fees. The data egress fees include an EIP fee and a data transfer fee or a bandwidth fee. For more information, see EIP billing.
Billing Method Select a billing method for the ALB instance.
- Pay-By-Data-Transfer: The bandwidth limit is the upper limit of the data transfer rate. The bandwidth limit is not a guaranteed value and is only for reference. In scenarios where demands exceed resource supplies, the bandwidth limit cannot be guaranteed.
- Pay-by-Bandwidth: The bandwidth limit is guaranteed. In scenarios where demands exceed resource supplies, the bandwidth limit is guaranteed.
For more information about how EIPs are billed, see EIP billing.Note This parameter takes effect only when Network Type is set to Internet.
Instance Name Enter a name for the ALB instance. Resource Group Select the resource group to which the ALB instance belongs.
- Click Buy Now and complete the payment.
- Return to the Instances page and select the region where the ALB instance is deployed to view the ALB instance.
What to do next
After the ALB instance is created, you must add a listener to the ALB instance and accept connection requests. Then, the listener can distribute user traffic to the backend servers based on the forwarding rules that use the specified scheduling algorithm.