After you create an Application Load Balancer (ALB) instance, you can modify its zone deployment, edition, DNS records, and bandwidth settings as your business requirements change.
Change zones
Adding or removing zones updates the ALB deployment to include or exclude the specified zones. For Internet-facing ALB instances, each zone requires an associated elastic IP address (EIP), and the EIPs may change when you modify zones.
Limits
If an ALB instance is deployed in one or two zones, you cannot reduce the number of zones.
EIPs allocated to different zones of the same ALB instance must be of the same type.
Only pay-as-you-go (pay-by-data-transfer) EIPs that are not associated with Internet Shared Bandwidth instances can be associated with an ALB instance. Subscription EIPs and pay-as-you-go EIPs that use the pay-by-bandwidth metering method are not supported.
After you associate an EIP with an ALB instance, you can then associate an Internet Shared Bandwidth instance with the ALB instance in the ALB console.
Effective time
Zone changes take effect immediately. If network latency is high, wait a few minutes.
Billing impact
When you change the zones of an Internet-facing ALB instance, the associated EIPs may change. Check your bills for actual EIP charges. For more information, see EIP billing.
Procedure
Log on to the ALB console.
In the top navigation bar, select the region where the ALB instance is deployed.
On the Instances page, find the ALB instance and choose in the Actions column.
In the Modify Zone/Subnet dialog box, select or clear zones and vSwitches, then click OK.
NoteIf no vSwitch is available, click Create vSwitch in the drop-down list. For more information, see Create and manage a VPC.
For Internet-facing ALB instances:
Assign an EIP to each selected zone.
If you select Purchase EIP, a pay-as-you-go EIP that uses the pay-by-data-transfer metering method is created. The EIP uses BGP (Multi-ISP) lines and is protected by Anti-DDoS Origin Basic.
Remove or restore DNS records
Removing or restoring DNS records for individual zones controls whether traffic is routed to those zones. Use this feature to simulate zone disaster recovery scenarios and verify the high availability of your ALB deployment.
When you remove a DNS record, the A record that resolves the ALB domain name to the zone IP address is deleted. The zone status changes from Enabled to DNS Removed, and the system stops probing the availability of that IP address.
When you restore a DNS record, a new A record is added that resolves the ALB domain name to the zone IP address. The zone status changes back to Enabled, and traffic is forwarded through that zone again.
After you remove a DNS record, traffic that directly accesses the zone through its IP address continues to be forwarded, and the load balancer capacity unit (LCU) consumption is still calculated.
Zone status reference
Status | Description | Available action |
Enabled | The ALB instance uses the zone IP address to forward traffic. | Remove DNS |
DNS Removed | The DNS record for the zone IP address has been removed. | Resume DNS |
If only one zone is in the Enabled state, you cannot remove its DNS record.
Limits
Only ALB upgraded instances support DNS record removal and restoration.
NoteBefore the upgrade, ALB instances in static IP mode supported this feature, while ALB instances in dynamic IP mode did not.
If only one zone of an ALB instance is in the Enabled state, you cannot remove its DNS record.
Effective time
DNS record removal and restoration take effect immediately. If network latency is high, wait a few minutes.
Billing impact
None.
Procedure
Log on to the ALB console.
In the top navigation bar, select the region where the ALB instance resides.
On the Instances page, click the ID of the ALB instance.
On the Instance Details tab, go to the Zone section and perform one of the following operations:
Remove a DNS record
In the Actions column of the target zone, click Remove DNS. In the message that appears, confirm the impacts and click Remove DNS.
NoteThis operation affects only the current ALB instance. Other instances in the zone are not affected.
Removing a DNS record deletes the A record that resolves the ALB domain name to the zone IP address. Proceed with caution.
After removal, the zone status changes to DNS Removed and the system stops probing the IP address availability.
Restore a DNS record
In the Actions column of a zone in the DNS Removed state, click Resume DNS. In the message that appears, confirm the impacts and click Resume DNS.
NoteAfter the DNS record is restored, an A record is added that resolves the ALB domain name to the zone IP address. Traffic destined for the ALB domain name is forwarded through this zone.
After restoration, the zone status changes to Enabled and the IP address availability is probed.
Change the edition
ALB provides three editions: basic, standard, and WAF-enabled. You can upgrade or downgrade the edition at any time. The instance continues to forward traffic during the change.
For edition feature comparisons, see Functions and features.
For resource quotas by edition, see ALB quotas.
Limits
You cannot downgrade a standard ALB instance to a basic ALB instance.
You can downgrade a WAF-enabled ALB instance to a standard ALB instance, but not to a basic ALB instance.
For limits on WAF-enabled ALB instances, see Activate and manage WAF-enabled ALB instances.
Effective time
The new edition takes effect immediately in most cases. If network latency is high, wait a few minutes.
Billing impact
Different editions have different fee structures. Check your bills for actual charges. For more information, see Billing rules.
Upgrading to the WAF-enabled edition incurs a security protection fee for Web Application Firewall (WAF) 3.0. For more information, see Subscription WAF 3.0 instances and Pay-as-you-go WAF 3.0 instances.
If no WAF instance exists in your Alibaba Cloud account when you purchase a WAF-enabled ALB instance, a pay-as-you-go WAF 3.0 instance is automatically created.
Procedure
Log on to the ALB console.
In the top navigation bar, select the region where the ALB instance is deployed.
On the Instances page, find the instance and choose in the Actions column.
On the Application Load Balancer | Upgrade/Downgrade page, set Edition to Standard or WAF Enabled, review the Terms of Service, and click Buy Now.
Verify the result
Return to the Instances page and confirm that the edition of the ALB instance is updated.
Modify the maximum bandwidth
The maximum bandwidth of an Internet-facing ALB instance depends on how it is configured:
Without Internet Shared Bandwidth: The maximum bandwidth is the sum of the maximum bandwidths of the EIPs associated with each zone. For pay-by-data-transfer EIPs, this value is an upper limit for reference only and is not guaranteed.
With Internet Shared Bandwidth: The maximum bandwidth of the Internet Shared Bandwidth instance serves as the effective maximum bandwidth for the ALB instance.
To increase the bandwidth, associate an Internet Shared Bandwidth instance with the ALB instance, or modify the maximum bandwidth of an existing Internet Shared Bandwidth instance through the Internet Shared Bandwidth console.
Limits
The line types of the EIPs must match the line type of the Internet Shared Bandwidth instance.
Both subscription and pay-as-you-go Internet Shared Bandwidth instances are supported.
Effective time
The association takes effect immediately. If network latency is high, wait a few minutes.
Billing impact
You are charged for the Internet Shared Bandwidth instance. For more information, see Billing overview.
Procedure
Log on to the ALB console.
In the top navigation bar, select the region where the ALB instance is deployed.
On the Instances page, find the ALB instance and associate an Internet Shared Bandwidth instance by using one of the following methods:
Choose in the Actions column, or click Associate in the Internet Shared Bandwidth column.
Click the ID of the ALB instance. On the Instance Details tab, find the Billing Information section and click Associate with Internet Shared Bandwidth.
In the Associate with EIP Bandwidth Plan dialog box, select an Internet Shared Bandwidth instance and click OK.
NoteIf no Internet Shared Bandwidth instance is available, click Purchase Internet Shared Bandwidth in the drop-down list. For details, see Create an Internet Shared Bandwidth instance.
API reference
API | Description |
Change the zones of an ALB instance. | |
Change the edition of an ALB instance. | |
Remove a DNS record for an ALB instance. | |
Restore a DNS record for an ALB instance. | |
Associate an Internet Shared Bandwidth instance with an ALB instance. |