What Are the Differences Between a Dedicated Bandwidth and a Shared Bandwidth? Can a Dedicated Bandwidth Be Changed to a Shared Bandwidth or the Other Way Around?
You can select a dedicated or shared bandwidth based on your requirements by referring to Table 1.
| Item | Dedicated Bandwidth | Shared Bandwidth |
|---|---|---|
| Concepts | If you assign an EIP and do not add it to a shared bandwidth, the EIP uses a dedicated bandwidth by default no matter how the EIP is billed. A dedicated bandwidth can only be used by one EIP. Each EIP can only be bound to one cloud resource, such as an ECS, a NAT gateway, or a load balancer. | A shared bandwidth can be used by multiple pay-per-use EIPs.
|
| Features |
|
|
| Applicable scenarios |
|
|
| Changes between dedicated and shared bandwidths | 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.
| |
Bandwidth Preemption Descriptions
- Dedicated bandwidth: Each EIP has a fixed bandwidth and is not affected by other EIPs.
For example, both EIP-A and EIP-B are allocated 20 Mbit/s of dedicated bandwidth.
If the bandwidth of EIP-A hits 30 Mbit/s, there will be packet loss due to the bandwidth limit, while the bandwidth of EIP-B remains idle.
- Shared bandwidth: If the bandwidth usage of some EIPs is high, the idle bandwidth of other EIPs can be used.
For example, two EIPs (EIP-A and EIP-B) are added to a shared bandwidth of 40 Mbit/s.
- If EIP-A uses 30 Mbit/s and EIP-B uses 10 Mbit/s, the total bandwidth is 40 Mbit/s. EIP-A can use the idle bandwidth of EIP-B to increase its bandwidth and prevent packet loss.
- If EIP-A uses 30 Mbit/s and EIP-B uses 15 Mbit/s, the total bandwidth reaches 45 Mbit/s and exceeds the 40 Mbit/s limit. In this case, the flexibility of the shared bandwidth fails and there will be packet loss on both EIPs.