Set up VPC peering on AWS
Learn how to set up VPC peering on AWS.
Prerequisites
Create a VPC on the Aiven platform.
Set up VPC peering
-
Open your AWS Console.
-
Go to My Account and make note of your account ID.
-
Go to the VPC service to find the VPC to connect and copy its ID.
-
In Aiven Console, select VPCs from the sidebar on the Services page.
-
On the Virtual private clouds page, select the VPC connection that you created.
-
On the VPC Peering connections page, enter your AWS account ID and VPC ID, select the region for your AWS VPC, and select Add peering connection.
noteA new connection with the Pending Acceptance status is added in your AWS Console.
-
In your AWS Console, ensure the account ID and VPC ID match those listed in the Aiven Console and, if so, click Actions > Accept Request.
-
Update your AWS route tables to match your Aiven CIDR settings.
When you accept the request in AWS Console, the peering connection gets activated in the Aiven Console.