Updated on 2025-04-24 GMT+08:00

Shared Bandwidth Overview

A shared bandwidth can be shared by multiple EIPs and controls the data transfer rate on these EIPs in a centralized manner. All ECSs and load balancers that have EIPs bound in the same region can share a bandwidth.

When you host a large number of applications on the cloud, if each EIP uses a bandwidth, a lot of bandwidths are required, which significantly increases bandwidth costs. If all EIPs share the same bandwidth, you can lower bandwidth costs and easily perform system O&M.

  • After QoS is enabled, you can configure the bandwidth limits for each EIP that uses the shared bandwidth.

Advantages

  • Lowered Bandwidth Costs

    Region-level bandwidth sharing and multiplexing reduce bandwidth usage and O&M costs.

  • Flexible Operations

    You can add pay-per-use EIPs (except for 5_gray EIPs of dedicated load balancers) to or remove them from a shared bandwidth regardless of the type of instances that they are bound to.

  • Flexible Billing Modes

    The yearly/monthly and pay-per-use billing modes are provided.

Methods of Using a Shared Bandwidth

You can use the shared bandwidth in either of the two ways shown in the following table.

Table 1 Methods of using a shared bandwidth

Description

Step

Method 1: Assign a shared bandwidth and add your pay-per-use EIPs to the bandwidth.

  1. Assigning a Shared Bandwidth
  2. Adding EIPs to or Removing EIPs from a Shared Bandwidth

Method 2: Assign a shared bandwidth, set Billed By to Shared Bandwidth and select the shared bandwidth when you assign pay-per-use EIPs.

  1. Assigning a Shared Bandwidth
  2. Assigning an EIP

QoS

With QoS enabled, you can configure bandwidth limits for each EIP that uses the shared bandwidth. The bandwidth of each EIP is guaranteed and will not affect the other EIPs that use the same shared bandwidth, improving the shared bandwidth utilization. The minimum bandwidth of the EIP that uses a shared bandwidth can be configured when the shared bandwidth is congested. The maximum bandwidth of the EIP that uses a shared bandwidth can be reached only when the shared bandwidth is not used by any other EIP. The maximum bandwidth cannot exceed the shared bandwidth.

This function supports both IPv4 and IPv6 EIPs. QoS can be enabled only when the shared bandwidth is greater than or equal to 50 Mbit/s. For details about QoS, see QoS.

QoS applies to the following scenarios:
  • After you migrate services to the cloud, you want to allocate bandwidth to each department in a unified manner, implementing proper allocation of bandwidth resources.
  • The peak hours of multiple services are different, and you want to limit the bandwidth of all EIPs that use the same shared bandwidth to ensure efficient use of bandwidth resources.
  • If some services are attacked and occupy too much bandwidth, you need to limit the bandwidth to prevent other services from being affected.

Shared Bandwidth Quotas

  • Each account can have a maximum of 5 shared bandwidths. If you need more shared bandwidths, submit a service ticket to request a quota increase.
  • A maximum of 20 EIPs that are billed on a pay-per-use basis can be added to a shared bandwidth. If you want to add more EIPs to a shared bandwidth, submit a service ticket to request a quota increase.
  • If you want to increase a pay-per-use shared bandwidth that is greater than 1 Gbit/s, the minimum increase is 500 Mbit/s.

Notes and Constraints

  • A shared bandwidth can only be used by resources from its same account.
  • The minimum size of a shared bandwidth that can be purchased is 5 Mbit/s. You can only add pay-per-use EIPs to a shared bandwidth.
  • If a yearly/monthly shared bandwidth is deleted upon expiration, EIPs sharing the bandwidth will be removed from the bandwidth and be billed based on the mode before they are added to the shared bandwidth.
  • A dedicated bandwidth cannot be changed to a shared bandwidth and vice versa. However, you can purchase a shared bandwidth for pay-per-use EIPs.
    • Add an EIP to a shared bandwidth and then the EIP will use the shared bandwidth.
    • Remove the EIP from the shared bandwidth and then the EIP will use the dedicated bandwidth.
  • If you want to submit a service ticket, refer to Submitting a Service Ticket.

Related Operations