TigerGraph Cloud supports VPC Peering connections for AWS and GCP clusters.
This is a guide for setting up a VPC peering connection between your TigerGraph Cloud VPC and another AWS VPC.
Unterminated TigerGraph Cloud solutions on AWS
Log into the cloud portal, and navigate to the Network tab. Click Initiate VPC peering.
In the TigerGraph VPC section, Choose the TigerGraph VPC that you want to initiate the peering connection from.
In the Peered VPC section, fill in the information of the VPC that you hope to peer with:
OwnerID
The ID of the VPC owner’s AWS account, ex: 123456789012
Region
The region of the VPC you want to peer with, ex: us-west-1
VPC ID
The ID of the VPC: vpc-123456789abcdef01
CIDR
CIDR-block of the peered VPC, ex: 10.0.0.0/16
. You can also use a IPv6 CIDR here if your peered VPC has one.
After you have completed the first step, a VPC peering connection will be sent to your VPC. Follow the steps below to accept the peering connection on your AWS VPC. See more in AWS's documentation on Accept VPC Peering Request.
Go to “VPC service” → “Peering Connections” in the AWS web console
Accept the connection from the TigerGraph VPC
After accepting the peering request, you still need to update your route table for the peering connection.
To add a route for a VPC peering connection
Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.
In the navigation pane, choose Route Tables.
Select the check box next to the route table that's associated with the subnet in which your instance resides.
Choose Actions, Edit routes.
Choose Add route.
For Destination, enter the CIDR block of the TigerGraph VPC you are peering with. You can find the CIDR block of the TigerGraph VPC at Peering Connections in the VPC service where you accepted the peering connection. There is a column "Requester CIDRs".
For Target, select the VPC peering connection, and then choose Save changes.
This is a guide for setting up a VPC peering connection between your TigerGraph Cloud VPC and another GCP VPC.
At least one unterminated TigerGraph Cloud solution on GCP
Log in to the Cloud portal and navigate to the Network tab, click "Initiate VPC Peering"
In the TigerGraph VPC section, choose the TigerGraph VPC that you want to initiate the peering connection from.
In the Peered VPC section, fill in the information of the VPC that you hope to peer with:
VPC ID: projects/[projectID]/global/networks/[VPCName]
, where projectID
is the ID of your GCP project, and VPCName
is the name of the VPC.
After completing Step 1, your TigerGraph VPC will create a peering configuration to the VPC you hope to peer with. At this time, the peering connection will appear as Inactive. To complete the peering connection, your still need to create a matching peering configuration on your peered VPC to the TigerGraph VPC:
In the Google Cloud Console, go to the VPC Network Peering page. Go to VPC Network Peering
Click Create connection.
Click Continue.
Enter a Name for your peering connection.
Under Your VPC network, select a network you want to peer.
Select the TigerGraph network as the network to peer with.
Select In another project. You will need to specify the project ID that includes the network you want to peer with and the name of the VPC network:
Project ID:tgcloud-prod
VPC network name: Name of your TigerGraph Cloud VPC. You can find it in the TigerGraph Cloud portal - Network tab - VPC Peering page. Choose GCP
as the platform, and in the VPC column is the VPC name.
You can leave the other fields as they are (with only Export subnet routes with public IP selected) unless you need special configurations.
Click Create.
After creating the matching peering configuration, the status of your VPC connection should change to Active,
meaning the two VPCs are peered successfully.