Apply for a direct connection in the self-service mode to enable ECSs in your VPC to communicate with your data center or private network.
To request a direct connection, you need to create a connection, a virtual gateway, and a virtual interface.
In case the created single connection is faulty, you are recommended to create two connections to connect to different access locations. For details, see Redundant Connection Access.
in the upper left corner and select a region and a project.
Parameter |
Description |
Example Value |
|---|---|---|
Region |
Specifies the region in which the services will be handled. If you already selected a region and a project on the management console, you do not need to select the region here. |
eu-de |
Name |
Specifies the connection name.
|
dc-123 |
Location |
Specifies the connection access location. You can select Biere or Magdeburg. |
Biere |
Peering Position |
Specifies the physical location of the connection. The address is an identifier.
|
Marderbug-DC01 |
Bandwidth |
Specifies the bandwidth size in the unit of Mbit/s.
|
100 |
Description |
Provides supplementary information about the connection. It can contain 0 to 128 characters. |
This is a connection. |

Parameter |
Description |
Example Value |
|---|---|---|
Name |
Specifies the virtual gateway name. It can contain 1 to 64 characters. Only digits, letters, underscores (_), and hyphens (-) are allowed. |
vgw-123 |
VPC |
Specifies the VPC where the virtual gateway resides. |
VPC-001 |
CIDR Block |
Specifies the CIDR network segment of the VPC to be accessed by the direct connection. You can add a maximum of 50 CIDR blocks. Each pair must be unique. Separate every two CIDR blocks with commas (,). A direct connection can access multiple VPCs. For details, see Using a Direct Connection to Access Multiple VPCs. |
192.168.0.0/16 |
Description |
Provides supplementary information about the virtual gateway. It can contain 0 to 128 characters. |
This is a virtual gateway. |
Parameter |
Description |
Example Value |
|---|---|---|
Region |
Specifies the region in which the services will be handled. If you already selected a region and a project on the management console, you do not need to select the region here. |
eu-de |
Name |
Specifies the virtual interface name. It can contain 1 to 64 characters. Only digits, letters, underscores (_), and hyphens (-) are allowed. |
vif-123 |
Connection |
Specifies the connection to be associated. A connection can be associated with only one virtual interface. Only connections that are not bound to other interfaces are available in the list. |
dc-123 |
Virtual Gateway |
Select the virtual gateway to be associated. You can select a virtual gateway that has virtual interfaces bound. However, the connection associated with the virtual interfaces that have been bound to the virtual gateway needs to be at different locations. |
vgw-123 |
VLAN |
Specifies the virtual interface VLAN ID. The system automatically allocates a VLAN ID. You do not need to set this parameter. |
30 |
Bandwidth |
Specifies the virtual interface bandwidth in the unit of Mbit/s. If the selected connection is a hosting connection, the virtual interface exclusively uses the connection bandwidth. That is, the connection bandwidth is the bandwidth of the virtual interface. |
100 |
Remote Subnet |
Specifies the remote subnet and mask. You can enter a maximum of 50 remote subnets. Each pair must be unique. Separate every two remote subnets with commas (,). The remote subnet of the virtual interface cannot be the same as the VPC CIDR block of the virtual gateway. |
192.168.51.0/24 |
Description |
Provides supplementary information about the virtual interface. It can contain 0 to 128 characters. |
This is a virtual interface. |