Updated on 2024-03-05 GMT+08:00

How Is an EIP Billed?

EIPs can be billed on a pay-per-use basis.
Table 1 EIP billing description

Billing Mode

Billed By

Billing Item

Billing Item Description

Impact of EIP Operations on Billing Items

Pay-per-use

Bandwidth

  • Bandwidth
  • EIP retention
If a pay-per-use EIP is billed by bandwidth:
  • Bandwidth: You are billed based on your specified bandwidth size and usage duration. There is no limit on how much traffic you can use.

    After the EIP is purchased, you can change your specified bandwidth size. The bandwidth you use will not exceed the bandwidth you specified.

  • EIP retention: If an EIP is not released, it will continue to be billed even if it is not bound to an instance.

After an EIP is purchased:

  • If the EIP is not bound to any instance, both the EIP and its bandwidth will be billed.
  • If the EIP is bound to an instance, only the bandwidth will be billed.

    The bandwidth will be billed regardless of if the instance bound to the EIP is running or not.

  • After the EIP is unbound from an instance, the bandwidth will continue to be billed. Unless it is released, the EIP will still be billed.
  • If the EIP is released, both the EIP and its bandwidth will not be billed.

Traffic

  • Traffic
  • EIP retention
If a pay-per-use EIP is billed by traffic:
  • Traffic: You are billed based on your EIP type and the total amount of traffic going out of the cloud.

    The bandwidth size you set is only used to limit the maximum data transfer rate. To prevent high fees caused by burst traffic, specify a proper bandwidth size when you buy an EIP.

    If an EIP billed by traffic uses a dedicated bandwidth, only the bandwidth used in the outbound direction will be billed.

  • EIP retention: If an EIP is not released, it will continue to be billed even if it is not bound to an instance.

After an EIP is purchased:

  • If the EIP is not bound to an instance, you will be billed for the EIP itself, but not for traffic.
  • If the EIP is bound to an instance, only the used traffic will be billed.

    If the instance bound to the EIP stops running and there is no traffic generated, there will be no traffic or EIP fees.

  • After the EIP is unbound from an instance, the traffic will not be billed but the EIP will still be billed.
  • If the EIP is released, the EIP will not be billed.

Shared bandwidth

  • Shared bandwidth
  • EIP retention
If a pay-per-use EIP is added to a shared bandwidth:
  • Share bandwidth: Only the shared bandwidth will be billed. There will be no additional bandwidth or traffic costs for EIPs added to the shared bandwidth.
  • EIP retention: If an EIP is not released, it will continue to be billed even if it is not bound to an instance.
After an EIP is purchased:
  • Shared bandwidth
    • No operations on the EIP will affect the billing of a shared bandwidth.

      For example, if you have released the EIP but have not deleted the shared bandwidth, the shared bandwidth will still be billed.

    • After a shared bandwidth is deleted, it will no longer be billed.
  • EIP retention
    • If the EIP is not bound to an instance, the EIP will still be billed.
    • If the EIP is unbound from an instance, the EIP will be billed to keep it allocated to your account unless it is released.
    • If the EIP is released or bound to an instance, the EIP will not be billed.
To save money, you can add multiple EIPs in the same region to a shared bandwidth. A shared bandwidth can be billed on a pay-per-use basis. For details, see Table 2. Currently, only pay-per-use EIPs can be added to a shared bandwidth.
  • You can add an EIP to a shared bandwidth when buying the EIP.
  • You can also add an existing EIP to a shared bandwidth. After the EIP is added to a shared bandwidth, there will be no additional bandwidth or traffic cost. You will only be billed for the shared bandwidth.
Table 2 Shared bandwidth billing details

Billing Mode

Billed By

Billing Item

Billing Item Description

Pay-per-use

Bandwidth

Bandwidth

You are billed based on your specified bandwidth size and usage duration. There is no limit on how much traffic you can use.

After a shared bandwidth is purchased, you can change your specified bandwidth size. The bandwidth you use will not exceed the bandwidth you specified.