ALB instance overview

Updated at:
Copy as MD

An ALB instance distributes client requests to backend servers based on listener forwarding rules.

DNS name

Starting from 00:00:00 on November 15, 2024 (UTC+8), new ALB instances use upgraded domain names by default: xxx.alb.aliyuncsslb.com (Chinese mainland) and xxx.alb.aliyuncsslbintl.com (outside the Chinese mainland).

New ALB instances do not support direct DNS name access. Create a CNAME record to map your domain to the ALB DNS name.

Instance network type

You can change the network type of an ALB instance between internet-facing and internal.

Item

Internet-facing ALB instance

Internal ALB instance

Use case

Expose backend services to the internet.

Access backend services within a VPC only.

IP address allocation

Assigns an EIP and a private IP address.

You can associate an Anycast EIP with an ALB instance to provide low-latency access for multi-region services.

Assigns only a private IP address.

Access method

Accessible from the internet and private networks.

Accessible from private networks only.

Diagram

image image

Billing

Includes an instance fee, a Load Balancer Capacity Unit (LCU) fee, and internet data transfer fees (charged by EIP).

Includes only an instance fee and an LCU fee.

IP version

IP version

Default IP assignment

Description

IPv4

  • Internet-facing IPv4 instance: 1 public IPv4 address and 1 private IPv4 address.

  • Internal IPv4 instance: 1 private IPv4 address.

  • Accepts traffic from IPv4 clients only (for example, 192.0.2.1).

  • Forwards traffic to IPv4 backends only.

dual-stack

  • Internet-facing dual-stack instance: 1 public IPv4 address, 1 private IPv4 address, and 1 IPv6 address.

  • Internal dual-stack instance: 1 private IPv4 address and 1 IPv6 address.

  • Accepts traffic from both IPv4 (for example, 192.0.2.1) and IPv6 (for example, 2001:db8:1:1:1:1:1:1) clients.

  • Forwards IPv4 and IPv6 client traffic to IPv4 or IPv6 backend services.

    To add IPv6 backends to a dual-stack ALB instance with an IP-type server group, use an upgraded ALB instance.
The dual-stack feature is available only in supported regions.
The network type of a dual-stack instance depends on its IPv4 address: public IPv4 = internet-facing, private IPv4 only = internal.
Dual-stack is available for new instances only. Existing IPv4 instances cannot be upgraded to dual-stack.
Access control list (ACL) entries support IPv4 addresses only.
After an upgrade, an ALB instance allocates private IPv4 and IPv6 service IP addresses from each specified vSwitch.

WAF integration

  • Use service-based integration to enable WAF 3.0 protection for your ALB instance. This creates a WAF-enhanced ALB instance.

    • Supported regions:

      Area

      Region

      China

      China (Chengdu), China (Qingdao), China (Beijing), China (Guangzhou), China (Hangzhou), China (Ulanqab), China (Shanghai), China (Shenzhen), China (Zhangjiakou), China (Hong Kong), China (Heyuan)

      Asia Pacific

      Indonesia (Jakarta), Japan (Tokyo), Malaysia (Kuala Lumpur), Philippines (Manila), Singapore, South Korea (Seoul), Thailand (Bangkok)

      Europe & Americas

      Germany (Frankfurt), US (Silicon Valley), US (Virginia), Mexico

      Middle East

      Saudi Arabia (Riyadh) (Operated by Partner), UAE (Dubai)

    • WAF-enabled ALB instances use the WAF 3.0 SDK integration model. If your account has a WAF 2.0 instance, you must first release the WAF 2.0 instance or migrate to WAF 3.0.

      By default, ALB does not add the X-Forwarded-Proto request header. After you release a WAF 2.0 instance, direct access to the ALB instance may cause service exceptions, such as infinite redirects, because backend servers cannot identify the original request protocol (HTTP or HTTPS). To prevent this issue, you must manually enable the X-Forwarded-Proto request header in the ALB listener settings.

    • Unsupported features: After you enable WAF protection, the following WAF features are not supported: data leakage prevention and automatic Web SDK integration for website crawler protection in Bot Management.

  • Internet-facing Basic and Standard ALB instances support transparent WAF 2.0 integration. Supported regions: China (Hangzhou), China (Shanghai), China (Shenzhen), China (Chengdu), China (Beijing), and China (Zhangjiakou). Internal ALB instances do not support WAF 2.0.

Cross-zone load balancing

By default, cross-zone load balancing is enabled for ALB instances. Incoming requests are distributed to backend services deployed in all selected zones within the specified region. If you disable this feature for a server group, loads are balanced across each single zone.

Instance status

Status

Description

Lock type

Deletion allowed

Modification allowed

Running

The instance runs normally.

Not applicable

  • No, if deletion protection is enabled.

  • Yes, if deletion protection is disabled.

  • No, if modification protection is enabled.

  • Yes, if modification protection is disabled.

Creating

Instance creation in progress.

No

No

Updating Configuration

Configuration update in progress.

No

Creation Failed

Instance creation failed.

Yes

Stopped

The instance is locked. Service is unavailable.

Locked (Overdue Payment): Locked due to overdue payment. Renew your subscription to unlock.

No

Locked (Associated Resources Anomaly): An associated resource (EIP or Internet Shared Bandwidth) is locked due to overdue payment. Renew it to unlock the instance.

No

Locked (Residual): An associated EIP or Internet Shared Bandwidth instance was released due to overdue payment, making the ALB instance unavailable. Release the ALB instance.

Yes

Locked (Security Risks): Locked due to security risks. Request unlocking in the Security Management console.

No