Buying an Enterprise Switch
This section describes how to buy an enterprise switch. An enterprise switch allows Layer 2 communication between an on-premises data center and a VPC based on VPN or Direct Connect.
- Before using enterprise switches, plan resources on and off the cloud by referring to How Enterprise Switches Work.
- An enterprise switch establishes a Layer 2 network based on a Layer 3 network between an on-premises data center and a VPC created by Direct Connect or VPN. You need to create a Direct Connect or VPN connection first by referring to Use Direct Connect or VPN to Communicate at Layer 3.
Notes and Constraints
- The switch in an on-premises data center must support VXLAN because the enterprise switch needs to establish a VXLAN tunnel to the data center at Layer 2.
- The local tunnel subnet must have three IP addresses reserved for the enterprise switch.
- Log in to the management console.
- Click in the upper left corner and select the desired region and project.
- On the console homepage, choose Networking > Enterprise Switch.
The Enterprise Switch page is displayed.
- In the upper right corner of the page, click Buy.
The page for buying an enterprise switch is displayed.
- Configure parameters as prompted. For details, see Table 1.
Table 1 Parameter descriptions
Enterprise switches can be billed on a yearly/monthly or pay-per-use basis.
- If you buy a yearly/monthly enterprise switch, you need to make a one-off payment for the enterprise switch in your selected period.
- If you buy a pay-per-use enterprise switch, your enterprise switch is billed by the second, and settled by the hour. If the usage is less than an hour, you are billed based on the actual duration consumed.
The yearly/monthly billing mode is available only in regions LA-Santiago and AF-Johannesburg.
Select the region nearest to you to ensure the lowest latency possible.
Enterprise switches are deployed in active/standby mode. Select the AZ where the active node is deployed.
An active AZ carries traffic. You can set the AZ to the one where your ECSs that need to communicate with an on-premises data center are deployed to ensure quick and uninterrupted access to ECSs.
Enterprise switches are deployed in active/standby mode. Select the AZ where the standby node is deployed.
A standby AZ is used for backup and disaster recovery. Set the standby AZ to be different from the active AZ.
MandatoryCurrently, the following enterprise switch specifications are supported:
- Maximum Bandwidth: 3 Gbit/s
- Maximum PPS: 500,000
- Connected Subnets: 1
- Maximum Bandwidth: 5 Gbit/s
- Maximum PPS: 1,000,000
- Connected Subnets: 3
- Maximum Bandwidth: 10 Gbit/s
- Maximum PPS: 2,000,000
- Connected Subnets: 6
The specifications cannot be changed after the enterprise switch is created.
VPC that the enterprise switch belongs to.
If Tunnel Connection is set to Direct Connect or VPN, the VPC is set to the one that the Direct Connect virtual gateway or VPN gateway belongs to by default.
Subnet of the VPC that the enterprise switch belongs to. It is the local tunnel subnet.
Local and remote tunnel subnets communicate with each other at Layer 3 over Direct Connect or VPN. Enterprise switches allow communications between cloud and on-premises networks at Layer 2 based on the Layer 3 network between tunnel subnets.
Local Tunnel IP Address
IP address in the local tunnel subnet, which can be automatically assigned or manually specified.
If an enterprise switch establishes a VXLAN tunnel with an on-premises data center at Layer 2, each end of the VXLAN tunnel requires a tunnel IP address, that is the local and remote tunnel IP addresses. The two IP addresses must be different.
Automatically assign IP address
MandatoryEnter the name of the enterprise switch. The name:
- Must contain 1 to 64 characters.
- Can contain letters, digits, underscores (_), hyphens (-), and periods (.).
Enter the description of the enterprise switch in the text box as required.
- Click Next.
- Confirm the enterprise switch information and click Submit.
This operation takes 3 to 6 minutes to complete. If the status is Running, the enterprise switch is created.
After an enterprise switch is created, you need to create a Layer 2 connection and configure a remote tunnel gateway. For details, see Getting Started.