Item | Bill-by-IP Account | Bill-by-CVM Account |
Whether the network bandwidth under the account can be migrated to other CVM instances | Network billing is based on IP addresses and the network bandwidth can be migrated to other CVM instances. | Network billing is based on the bound cloud resource instance and the network bandwidth cannot be migrated to other cloud resources. |
Elastic IPv6 (EIPv6) billing | IPv6 and IPv4 can be added into the same bandwidth package and billed together. | IPv6 can only be billed separately. |
NAT Gateway public network billing | Multiple public network billing modes are supported, such as billing by traffic and billing by bandwidth package. | Only billing by traffic is supported. |
Whether you need to purchase a public network for CLB's backend CVM instances | No. You only need to purchase bandwidth for the CLB, which facilitates management. | Yes. You need to purchase a public network for all backend CVM instances of the CLB, which complicates management. |
New network-related features | All are supported, such as Premium EIP, Anti-DDoS EIP, CLB Cross-Domain 2.0, and more bandwidth billing modes. | Only the existing features are supported. |
Business Scenario | Console | API | Difference from Bill-by-CVM Account |
Purchasing CVM (public network bandwidth not needed) | Do not select Assign Independent Public IP: | When calling the RunInstances API to create a CVM, pay attention to the InternetAccessible parameter: do not input InternetChargeType, and either do not input InternetMaxBandwidthOut or set it to 0. | Before the upgrade: Purchase public network bandwidth for the CVM, without the need to assign a public IP address simultaneously. After the upgrade: When you purchase CVM, if public network bandwidth is needed, the public IP address must be purchased and assigned at the same time, and the billing mode and bandwidth cap of the public IP address must be set. |
Purchasing CVM or Auto Scaling (AS) service (public network bandwidth needed) | Select Assign Independent Public IP and set the bandwidth billing mode and bandwidth value: | When calling the RunInstances API to create a CVM or the CreateLaunchConfiguration API to create AS service, you need to set the InternetAccessible parameter: InternetChargeType: Set the bandwidth billing mode, and when the billing mode is set to BANDWIDTH_PACKAGE, specify the bandwidth package ID in BandwidthPackageId. InternetMaxBandwidthOut: Set the public network bandwidth cap. PublicIpAssigned: Set it to true to assign a public IP address. | |
Purchasing EIPs | You need to set the billing mode and bandwidth cap: | When calling the AllocateAddresses API to create an EIP, you need to set bandwidth-related parameters: InternetChargeType: Set the bandwidth billing mode, defaulting to TRAFFIC_POSTPAID_BY_HOUR. InternetMaxBandwidthOut: Set the public network bandwidth cap. If not provided, the default value of 1 Mbps will be used. | Before the upgrade: No bandwidth-related parameters are available when you purchase an EIP. After the upgrade: You need to set the bandwidth billing mode and bandwidth cap when purchasing an EIP. Note: If an EIP is bound to a NAT Gateway, ensure that the total bandwidth cap of all EIPs on the NAT is not lower than the bandwidth of the NAT Gateway. Otherwise, it may lead to packet loss due to EIPs exceeding limits and inefficient usage of NAT Gateway bandwidth. |
Purchasing public network CLBs | You need to set the network billing mode and bandwidth cap: | When calling the CreateLoadBalancer API to create a public network CLB, you need to set the InternetAccessible parameter: InternetChargeType: Set the bandwidth billing mode. InternetMaxBandwidthOut: Set the public network bandwidth cap. If not provided, the default value of 10 Mbps will be used. | Before the upgrade: No bandwidth-related parameters are available when you purchase a CLB. After the upgrade: You need to set the bandwidth billing mode and bandwidth cap when purchasing a public network CLB. |
Changing the billing mode of the EIP or CLB billed by traffic to bandwidth package billing after the upgrade | Create a bandwidth package and add the corresponding EIP or CLB resources to the bandwidth package. | - |
Was this page helpful?