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 the Aiven web console, select the VPC connection that you created.
6. 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.
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 on step6.
When the peering is successful, it is active in both the Aiven web console and your GCP Console.