Help Center/ Elastic IP/ Best Practices/ Using a Shared Bandwidth to Enable ECSs to Access the Internet via the Same Network Egress
Updated on 2025-09-04 GMT+08:00

Using a Shared Bandwidth to Enable ECSs to Access the Internet via the Same Network Egress

Scenarios

A shared bandwidth allows multiple EIPs in the same region to share the same bandwidth. After a shared bandwidth is assigned, you can add multiple EIPs in the same region to the shared bandwidth. In this way, multiple EIPs can share the same bandwidth and their public network egresses can be managed in a unified manner. You can bind EIPs to ECSs, NAT gateways, or load balancers. After the EIPs are bound, these instances share the same bandwidth.

This section describes how to use shared bandwidths to provide unified public network egresses for ECSs.

Scenario 1: ECSs with EIPs Bound Using a Shared Bandwidth

If you have ECSs that have EIPs bound, you can add these EIPs to a shared bandwidth to manage the public network egress in a unified manner.

Configuration Process

Figure 1 Configuration process for ECSs with EIPs bound using a shared bandwidth

Procedure

  1. Buy a shared bandwidth in the region where the ECSs are located.

    For details, see Assigning a Shared Bandwidth.

  2. Add the EIPs bound to the ECSs to the shared bandwidth.

    For details, see Adding EIPs to a Shared Bandwidth.

Scenario 2: ECSs Without EIPs Bound Using a Shared Bandwidth

If you have ECSs that need to have EIPs bound, you can add the EIPs to a shared bandwidth when assigning the EIPs to manage the public network egress in a unified manner.

Configuration Process

Figure 2 Configuration process for ECSs without EIPs bound using a shared bandwidth

Procedure

  1. Buy a shared bandwidth in the region where the ECSs are located.

    For details, see Assigning a Shared Bandwidth.

  2. Buy EIPs and add them to the shared bandwidth.
    1. If there are no available EIPs in the region where the ECS is located, buy an EIP and add it to the shared bandwidth.
    2. If there are available EIPs in the region where the ECS instance is located, select an EIP and add it to the shared bandwidth.
  3. Bind the EIPs to the ECS.

    For details, see Binding an EIP to an Instance.

Related Operations

Unbinding an EIP from an Instance: Unbind an EIP when the EIP is no longer required.

Releasing or Unsubscribing From an EIP: Release a pay-per-use EIP or unsubscribe from a yearly/monthly EIP when the EIP is no longer required.