Managing Transit Subnets
A transit IP address assigned from a transit subnet is shared by servers in a VPC to access or provide services accessible from an on-premises server or a remote VPC.
Creating a Transit Subnet
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Under Network, click NAT Gateway.
The NAT gateway console is displayed.
- In the navigation pane on the left, choose NAT Gateway > Private NAT Gateway.
- Click the Transit Subnets tab and then Create Transit Subnet.
- Set the parameters as prompted. For details, see Table 1.
Table 1 Parameter descriptions Parameter
Description
Name
The transit subnet name. The name can include up to 64 characters and can include digits, letters, underscores (_), and hyphens (-).
VPC
The public VPC that the transit subnet belongs to.
Subnet
The transit subnet to be created.
Description
Supplementary information about the transit subnet. The description can contain up to 255 characters.
Assigning a Transit IP Address
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Under Network, click NAT Gateway.
The NAT gateway console is displayed.
- In the navigation pane on the left, choose NAT Gateway > Private NAT Gateway.
- Click the Transit Subnets tab and then click the target subnet name.
The transit subnet details page is displayed.
- Click Assign Transit IP Address and set parameters as prompted.
Table 2 Parameter descriptions Parameter
Description
Assignment Mode
The assignment mode of the transit IP address.
- Automatic
- Manual
IP Address
This parameter is available when Assignment Mode is set to Manual. This IP address must be included in the transit subnet.
Other Operations
Modifying a Transit Subnet
You can modify the name, description, and total number of IP addresses of transit subnet.
- On the Transit Subnets tab page, locate the row that contains the target subnet, and click Modify or choose More > Apply to Change the Number of IP Addresses in the Operation column.
- Click OK.
Deleting a Transit Subnet
You can delete a transit subnet if you no longer need it.
After the transit subnet is deleted, instances in the corresponding VPCs can no longer communicate with others through the private NAT gateway.
- Locate the row that contains the transit subnet to be deleted and click the Delete in the Operation column.
- Click Yes.
Releasing a Transit IP Address
You can release a transit IP address if you no longer need it.
- In the transit IP address list on the transit subnet details page, locate the row that contains the target transit IP address and click Release in the Operation column.
- Click Yes.
Last Article: Deleting a DNAT Rule
Next Article: Connecting to an On-premises Data Center or a Remote VPC
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.