This guide describes how to use the Peering Gateway service from the console.
Peering is a feature to connect two different VPCs. Normally, VPCs cannot communicate with each other because they are in different network zones. You can connect them using a floating IP, but it incurs extra charges depending on your network usage. However, the peering feature allows you to connect two VPCs at no additional cost.
A <-> B <-> C connection, A and C cannot be connected.If you want to connect to a different VPC through a peer VPC, configure the Route settings provided from Peering so that the packets are delivered via VM instances.
Note
For how to use Route, see "Common Feature > Route" below.
If the IP address ranges of the two VPCs overlap, they cannot be used.
Each IP address range must not be a subset of the other. Otherwise, peering creation will fail.
In regions other than the Korea regions, communication is only possible with subnets that are connected to the Default Routing Table.
Note
When you create a peering, a routing rule is implicitly added to the default routing table that forwards packets destined for the other VPC's IP address range to the peering gateway for routing peering communication. Therefore, you cannot set up another route in the default routing table with the other VPC's IP address range as the CIDR. Also, be aware if you add a route that specifies a portion of the other VPC's IP address range as the CIDR because it has a higher priority than routes intended for peering communication, which may prevent peering communication.
In the Korea regions, separate routes must be configured in the routing tables of both peered VPCs to enable communication.
When retrieving ports associated with peering using the API, the retrieval method differs depending on whether a peer ID exists in the peering resource.
Note
For information on how to check the peer ID, refer to "Reference > How to check the peer ID" at the bottom of this page.
Region peering is a feature to connect two VPCs created in different regions. Peering can be used to connect VPCs in the same region, but it cannot be used to connect VPCs in different regions. However, region peering allows you to connect two VPCs in different regions.
A <-> B <-> C connection, A and C cannot be connected.If you want to connect to a different VPC through a peer VPC, configure the Route settings provided from Peering so that the packets are delivered via VM instances.
Note
For how to use Route, see "Common Feature > Route" below.
You can connect to the same project, different projects, or both.
Note
To create a region peering between different projects, your project's tenant ID and VPC ID must be allowed in the peer project's peering allowed targets. This is not required when creating a region peering within the same project. Before you can create a region peering between different projects, you must send your tenant ID and VPC ID to the administrator of the peer project and request to register the information with the peering allowed targets. Once the peer project has registered the information, you can create a project peering according to the following steps. For how to use the peering allowed targets, see the "Common Feature > Peering Allowed List" .
Select a peer tenant.
Note
For the peer tenant ID, see the "References" section below.
Enter a peer VPC ID.
Note
For the peer tenant ID, see the "References" section below.
Project peering is a feature to connect two VPCs created in different projects. Peering can be used to connect VPCs in the same project, but it cannot be used to connect VPCs in different project. However, the project peering feature allows you to connect two VPCs in different projects.
A <-> B <-> C connection, A and C cannot be connected.If you want to connect to a different VPC through a peer VPC, configure the Route settings provided from Peering so that the packets are delivered via VM instances.
Note
For how to use route, see "Common Feature > Route" below.
Note
To create a project peering, your project's tenant ID and VPC ID must be allowed in the peering allowed targets of the peer project. Before you can create a project peering, you must send your tenant ID and VPC ID to the administrator of the peer project and request to register the information with the peering allowed targets. Once the peer project has registered the information, you can create a project peering according to the following steps. For how to use the peering allowed targets, see the "Common Feature > Manage Peering Allowed Targets" .
Describes the common feature provided by peering (peering, region peering, and project peering).
The Region Peering, Project Peering page submenu allows you to set up a peering connection request between different projects on the receiving end. Enter the peer tenant ID of the VPC sending the request and the peer VPC ID to add it to the peering allowed VPCs and allow the peer to accept the request.
Enter Name, Peer Tenant ID and Peer VPC ID and click Confirm.
Note
To find out the peer tenant ID and peer VPC ID, see the References section below.
The Route settings provided from Peering allows you to make a configuration where traffic is delivered to a different VPC via VM instances of a peer VPC. The peering's route allows you to specify and configure a VM instance's port and virtual IP port that processes all incoming traffic from the peering. By deploying Network Virtual Appliance VM in a VM instance that serves as the route's gateway, you can control traffic in the VM instance and deliver it to a different peering. * If you want to configure a Hub and Spoke VPC connection through peering and control all traffic with Network Virtual Appliance located in the Hub VPC, you can use the routing feature of Peering.
Click Change Route
Note
For peering, there are two buttons. Change Peer Route means adding a route to the Peer VPC selected when creating a peering, and Change Local Route means the location for Local VPC.
Click the + button.
Select a gateway.
Note
For gateway, only instances and virtual IPs can be seleted.
Click the Confirm button.
Click the Change Route button.
Note
For peering, there are two buttons. Change Peer Route means adding a route to the Peer VPC selected when creating a peering, and Change Local Route means the location for Local VPC.
Check the VPC ID according to the following steps.
Note
If you don't have access to the project that the peer VPC belongs to, ask the administrator of the peer project to provide you with the VPC ID.
Check the Tenant ID according to the following steps.
Note
If you do not have access to the peer project, obtain a tenant ID from the administrator of the peer project.
Follow the steps below to check the peer ID of a peering.
Note
For peerings without a peer ID, ports can be retrieved using the existing method.