Updated on 2025-05-07 GMT+08:00

Buying a VPN Gateway

Scenarios

To connect your on-premises data center or private network to your ECSs in a VPC, buy a VPN gateway first.

Prerequisites

  • A VPC has been created. For details about how to create a VPC, see the Virtual Private Cloud User Guide.
  • Security group rules have been configured for the VPC, and ECSs can communicate with other devices on the cloud. For details about how to configure security group rules, see the Virtual Private Cloud User Guide.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner, select a region, and choose Network > Virtual Private Network.

    The VPN console is displayed.

  3. In the navigation pane on the left, choose Virtual Private Network > Classic – VPN Gateways.

    If Enterprise Edition VPN is available for the selected region, choose Virtual Private Network > Classic.

  4. On the VPN Gateways page, click Create VPN Gateway.
  5. Configure VPN gateway parameters based on Table 1 and click Create Now.
    Table 1 Description of VPN gateway parameters

    Parameter

    Description

    Example Value

    Region

    Regions are geographic areas that are physically isolated from each other. The networks inside different regions are not connected to each other, so resources cannot be shared across regions. For low network latency and fast resource access, select the region nearest to your target users.

    -

    Name

    Name of a VPN gateway.

    vpngw-001

    VPC

    Name of the VPC to which the VPN gateway connects.

    vpc-001

    Type

    VPN type. IPsec is selected by default.

    IPsec

    Reliability

    Only Active-active is supported.

    Active-active