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

Modifying a VPN Gateway

Scenario

You can modify basic information about a VPN gateway, including the name and local subnet.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Click in the upper left corner of the page, and choose Networking > Virtual Private Network.
  4. In the navigation pane on the left, choose Virtual Private Network > Enterprise – VPN Gateways.
  5. Click the S2C VPN Gateways tab.
  6. Locate the row that contains the target VPN gateway, and click Modify Basic Information in the Operation column.

    To modify only the name of a VPN gateway, you can also click on the right of the VPN gateway name.

  7. Modify the name and local subnet of the VPN gateway as prompted.
  8. Click OK.

Table 1 describes the parameters for modifying the VPN gateway.

Table 1 Parameters for modifying the VPN gateway

Parameter

Description

Modifiable or Not

Name

Name of a VPN gateway. The value can contain only letters, digits, underscores (_), hyphens (-), and periods (.).

Y

EIP

To change an EIP, unbind it and bind a new one.

If a VPN connection has been created for an EIP, the EIP cannot be unbound.

NOTE:
  • Only the bandwidth size can be changed.
  • The EIP name and type can be changed only on the EIP console.

Y

Local Subnet

VPC subnets with which your on-premises data center needs to communicate through the customer gateway.

Y

Billing Mode

The value can be Yearly/Monthly or Pay-per-use.

Y

VPN Connection Groups

The number of VPN connection groups needs to be specified only when Billing Mode is set to Yearly/Monthly.

Y

Region

For low network latency and fast resource access, select the region nearest to your target users.

Resources cannot be shared across regions.

N

Specification

Three options are available: Professional 1, Professional 2, and GM.

The supported specifications are subject to those displayed on the management console.

Associate With

The options include VPC and Enterprise Router.

N

Enterprise Router

The associated enterprise router needs to be specified only when Associate With is set to Enterprise Router.

N

VPC

VPC that the on-premises data center needs to access.

N

Interconnection Subnet

This subnet is used for communication between the VPN gateway and VPC. Ensure that the selected interconnection subnet has four or more assignable IP addresses.

N

BGP ASN

BGP AS number.

N

AZ

An AZ is a geographic location with independent power supply and network facilities in a region. AZs in the same VPC are interconnected through private networks and are physically isolated.

  • If two or more AZs are available, select two AZs.

    The VPN gateway deployed in two AZs has higher availability. You are advised to select the AZs where resources in the VPC are located.

  • If only one AZ is available, select this AZ.

N