Add Amazon VPC Transit Gateway

You can set up an Amazon VPC Transit Gateway to connect your internal VPCs to Redpanda services while maintaining full control over network traffic. The transit gateway acts as a central hub for routing traffic between VPCs, enabling communication between a Redpanda cluster and client applications hosted in different VPCs that can be in different AWS accounts.

AWS Transit Gateway is available for BYOC and BYOVPC clusters.

Set up Amazon VPC Transit Gateway

To set up Amazon VPC Transit Gateway for Redpanda:

  1. Create a transit gateway in your AWS account.

  2. Create transit gateway attachments to the VPC hosting Redpanda and the VPC that will communicate to Redpanda (where the producer or consumer resides).

  3. Update the transit gateway route table with the new routes for transit gateway attachments.

For detailed instructions, see the AWS Transit Gateways documentation.

Example

The Redpanda Cloud Examples repository provides sample Terraform code to set up and manage an Amazon VPC Transit Gateway for accessing Redpanda services across multiple VPCs. It includes steps for when the Redpanda cluster and client applications are hosted in the same AWS account and in different AWS accounts.

Your implementation may differ depending on the networking configuration within your VPCs.