Set up VPC Peering on AWS

This is a guide for setting up a VPC peering connection between your TigerGraph Cloud VPC and another AWS VPC.

1. Prerequisites

  • Unterminated TigerGraph Cloud clusters on AWS

2. Procedure

2.1. Initiate VPC peering

Log into the cloud portal and navigate to the Network tab on the left. Click Initiate VPC peering.

Network tab

Choose AWS and enter a region such as us-west-1.

aws peering

In the Peer VPC section, fill in the information of the VPC that you want to peer with:

  • AWS Account ID

    • The ID of the VPC owner’s AWS account.

  • Region

    • The region of the VPC you want to peer with.

  • VPC ID

    • The ID of the VPC from the AWS dashboard.

  • CIDR

    • CIDR-block of the peered VPC. You can also use an IPv6 CIDR here if your peered VPC has one.

Click Initiate VPC Peering.

2.2. Accept VPC peering request

TigerGraph then sends a VPC peering connection to your VPC. Follow the steps below to accept the peering connection on your AWS VPC. See more in AWS’s documentation on Accepting VPC Peering Connections.

  1. Go to VPC service  Peering Connections in the AWS web console

  2. Accept the connection from the TigerGraph VPC

2.3. Update route table for VPC peering connection

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:

  1. Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

  2. In the navigation pane, choose Route Tables.

  3. Select the checkbox next to the route table that’s associated with the subnet in which your instance resides.

  4. Choose Actions  Edit routes.

  5. Choose Add route.

  6. 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".

  7. For Target, select the VPC peering connection, and then choose Save changes.