You can change the network type of an Application Load Balancer (ALB) instance as needed.
Background information
- Differences between an Internet-facing ALB instance and an internal-facing ALB instance:
- Internal-facing ALB instances use private IP addresses to provide services. You can access an ALB instance only within the internal network of Alibaba Cloud.
- Internet-facing ALB instances use public IP addresses to provide services. You can access an ALB instance over the Internet. Internet-facing ALB instances use elastic IP addresses (EIPs) to provide services over the Internet. If you use an Internet-facing ALB instance, you are charged for the EIP, bandwidth, and data transfer.
- After an Internet-facing ALB instance is switched to an internal-facing ALB instance, the EIP is disassociated from the ALB instance. A private IP address is assigned to the ALB instance. The domain name of the ALB instance can be accessed within the internal network.
Billing
- Instance fees for ALB are billed on an hourly basis. If you use an ALB instance for less than 1 hour, the usage duration is rounded up to 1 hour. Network type changes immediately take effect. After you change the network type of an ALB instance, you are charged based on the previous network type within the current hour. The usage duration is rounded up to 1 hour. For more information, see ALB billable items.
- If you want to switch an internal-facing ALB instance to an Internet-facing ALB instance, you must associate an EIP with the ALB instance. In this case, you are charged for data transfer over the Internet. For more information about how EIPs are billed, see EIP billing.