Google Cloud VPC peering
By creating a virtual private cloud (VPC), you can connect your Google Cloud resources and DataStax Astra DB databases. VPC peering allows you to communicate across the VPCs.
For more about VPC peering on Astra DB databases hosted on Google Cloud, see VPC Network Peering overview.
Prerequisites
-
Create a VPC in your Google Cloud account.
Procedure
-
In the Astra Portal, go to Databases, and then select your database.
-
On the Overview tab, click Add Peering Connection.
-
In the Add Peering Connection dialog, in the Project ID field, enter your Google Cloud project name.
-
In the VPC Network Name field, enter the VPC Network Name from the list of VPCs in your Google Cloud VPC dashboard.
-
Click Initiate.
-
Sign in to the Google Cloud console, and then go to VPC Network.
-
Open VPC network peering, select Create Connection, and then select Continue.
-
In the Create peering connection dialog, enter a name for the connection and select the VPN network.
-
Under Peered VPC Network, enable In another project, and then enter the Astra DB Project ID and the VPC network name from your database’s Network Peering configuration.
-
Select Initiate Peering.