Set up Virtual Private Cloud (VPC) peering on Google Cloud Platform (GCP)#
Once you’ve created a VPC on the Aiven platform, you can follow these instructions to set up VPC peering on GCP.
Open your GCP Console.
Select VPC Networks and find the VPC that you want to connect to.
Click the project name and make note of the Project ID.
Under VPC Networks, make note of the VPC Network Name.
In Aiven Console, select VPCs from the sidebar on the Services page.
On the Virtual private clouds page, select the VPC connection that you created.
On the VPC Peering connections page, enter the project ID and VPC network name from GCP, then click Add peering connection.
This adds a new connection with the Pending Peer status.
Note
Click the blue Pending peer icon and make a note of the Aiven project name and the network name.
In your GCP Console, go to VPC > VPC network peering and select Create Connection.
Enter a name for the peering connection, and enter the same project ID and network name that you found in step 7.
Click Create.
When the peering is successful, it is active in both Aiven Console and your GCP Console.