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 solutions on AWS

2. Procedure

2.1. Initiate VPC peering

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

Network tab

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.

2.2. Accept VPC peering request

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.

  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.