Shared Bandwidth
What is Shared Bandwidth
Shared Bandwidth: A shared bandwidth provides bandwidth sharing service and centralized speed control for public network VIPs. You can bind multiple VIPs to a shared bandwidth to allow instances using these VIPs to share the same bandwidth resource, thereby reducing the cost on public network communications.
Fundamental
Shared Bandwidth is a network service provided by a VPC vRouter. A shared bandwidth can be used by multiple public network VIPs. The total network speed of these VIPs is limited below the size of the shared bandwidth.
Public network VIPs provide network services, such as EIP and Port Forwarding, to VPC networks, enabling the VM instances on VPC networks to access the public network. If an amount of VM instances use VIPs belonging to the same shared bandwidth, these VM instance can share the bandwidth resource and are limited centrally on the network speed when they access the public network. This effectively helps you reduce the cost on public network.
Currently, a shared bandwidth can be used by VIPs residing on the same VPC vRouters. To make a VIP successfully limited by a shared bandwidth, you must make it provide network services to VM NICs on the VPC networks attached to the VPC vRouter that the shared bandwidth attaches. If a VIP is bound to a shared bandwidth but is removed from the specified VPC vRouter later, the shared bandwidth no longer limit its speed.
Advantages
The Shared Bandwidth service provided by ZStack Cloud has the following advantages:
Reduce Network Cost: Allows multiple VM instances to share the same bandwidth resource, increasing the utilization of the bandwidth as well as reducing the bandwidth costs.
Flexible O&M: You can bind/unbind a VIP to/from a shared bandwidth whenever you need, flexibly choosing whether to use the bandwidth sharing and centralized speed limit service. In addition to Shared Bandwidth, ZStack Cloud provides other methods for you to meet various requirements on the network speed limit.
- Adding QoS to a VIP individually: You can add a QoS to a VIP individually to provide a dedicated bandwidth and speed limit service for it. Note that if the VIP is bind to a shared bandwidth, the QoS added for it individually does not take effect during it is using the shared bandwidth. After the VIP is unbind from the shared bandwidth, its individual QoS takes effect again.
- Adding QoS to a NIC individually: You can add a QoS to a VM NIC individually from the VM details page to provide a dedicated bandwidth and speed limit service for the NIC. If the NIC has an individual QoS added as well as uses a VIP with QoS, its speed is limited by the lower one among its own QoS and the VIP QoS.
Good Performance Guarantee: Shared bandwidth and other QoS services provided by ZStack Cloud guarantee a necessary bandwidth for core business during network congestion to ensure the stable running of these businesses.
Quick Start
To use the Shared Bandwidth service, follow these steps:
- Create a shared bandwidth and associate a VPC vRouter.
- Bind public network VIPs on the VPC vRouter to the shared bandwidth.
- Create network services, such as EIPs, based on the VIPs.
- Bind EIPs to VM NICs.
- The VM NICs share this shared bandwidth and are centrally limited on the network speed.
Create Shared Bandwidth
Log in to ZCF and switch to the corresponding region. On the main menu, choose Resource Center > Network Service > Advanced Network Service > Shared Bandwidth. On the Shared Bandwidth page, click Create Shared Bandwidth. Then, the Create Shared Bandwidth page is displayed.
On the displayed page, set the following parameters:
Name: Enter a name for the shared bandwidth. The name must be 1 to 128 characters in length and can contain Chinese characters, letters, digits, spaces, hyphens (-), underscores (_), periods (.), parenthesis (), colons (:), and plus signs (+) and cannot begin or end with spaces.
Description: Optional. Enter a description for the shared bandwidth.
Size: Set the upper limit value of the total network speed of VIPs bound to this shared bandwidth. Unit: Kbps/Mbps/Gbps. Valid valued: 128Kbps~30Gbps. Enter an integer.
Public Network: Select a public network.
VPC vRouter: Select a VPC vRouter. A shared bandwidth can attach a VPC vRouter. A VPC vRouter can attach multiple shared bandwidth.
We recommend that you do not attach more than 10 shared bandwidths to one VPC vRouter. Otherwise, the network performance may be reduced. Make a reasonable plan according to your business needs.
VIP: Select VIPs. You can select public network VIPs on the selected VPC vRouter.
- We recommend that you do not bind more than 20 VIPs to one shared bandwidth because this reduces the network performance. Make a reasonable plan according to your business needs.
- The speed of a VIP bound to a shared bandwidth is limited by this shared bandwidth only. If you set an individual QoS for this VIP before, this QoS does not take effect while the VIP is using the shared bandwidth.
Manage Shared Bandwidth
Log in to ZCF and switch to the corresponding region. On the main menu, click Resource Center > Network Service > Advanced Network Service > Shared Bandwidth. Then, the Shared Bandwidth page is displayed.
The following lists the operations you can perform on a shared bandwidth
| Action | Description |
|---|---|
| Create Shared Bandwidth | Creates a shared bandwidth. |
| Edit Shared Bandwidth | Modifies the name or description of a shared bandwidth. |
| Bind VIP | Bind VIPs to a shared bandwidth.
|
| Unbind VIP | Unbind VIPs from a shared bandwidth
|
| Delete | Deletes a shared bandwidth.
|
