Updated on 2024-04-18 GMT+08:00

Buying an Enterprise Switch

Scenarios

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.

Prerequisites

  • You have planned the resources required both on the cloud and on premises. For details about resource planning, see 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.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. On the console homepage, choose Networking > Enterprise Switch.

    The Enterprise Switch page is displayed.

  4. In the upper right corner of the page, click Buy.

    The page for buying an enterprise switch is displayed.

  5. Configure parameters as prompted. For details, see Table 1.
    Table 1 Parameter descriptions

    Parameter

    Description

    Example Value

    Billing Mode

    Mandatory

    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.
    NOTE:

    The yearly/monthly billing mode is available only in regions LA-Santiago and AF-Johannesburg.

    Pay-per-use

    Region

    Mandatory

    Select the region nearest to you to ensure the lowest latency possible.

    LA-Santiago

    Active AZ

    Mandatory

    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.

    AZ1

    Standby AZ

    Mandatory

    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.

    AZ2

    Specifications

    Mandatory

    Currently, the following enterprise switch specifications are supported:
    • Basic
      • Maximum Bandwidth: 3 Gbit/s
      • Maximum PPS: 500,000
      • Connected Subnets: 1
    • Standard
      • Maximum Bandwidth: 5 Gbit/s
      • Maximum PPS: 1,000,000
      • Connected Subnets: 3
    • Enhanced
      • Maximum Bandwidth: 10 Gbit/s
      • Maximum PPS: 2,000,000
      • Connected Subnets: 6

    The specifications cannot be changed after the enterprise switch is created.

    Enhanced

    VPC

    Mandatory

    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.

    vpc-01

    Tunnel Subnet

    Mandatory

    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.

    subnet-01

    Local Tunnel IP Address

    Mandatory

    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

    Name

    Mandatory

    Enter the name of the enterprise switch. The name:
    • Must contain 1 to 64 characters.
    • Can contain letters, digits, underscores (_), hyphens (-), and periods (.).

    esw-01

    Description

    Optional

    Enter the description of the enterprise switch in the text box as required.

    -

  6. Click Next.
  7. 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.

Follow-Up Operations

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.