Skip to content

VPC Peering Connection with Confluent Cloud

This document describes how to create a VPC peering connection between EMQX Cloud and Confluent Cloud to enable private network communication between your EMQX Cloud deployment and the Confluent Cloud cluster.

Create a VPC Peering Connection

After the Confluent Cloud cluster has been created, you can add peering by referring to the following steps:

  1. Navigate to Network Management in your Confluent Cloud environment.

  2. Select the For dedicated cluster tab.

  3. Select the network associated with the dedicated cluster you want to connect to. Under the Ingress connections column, click the button to create a new peering connection.

    confluent_vpc_peering1

  4. Enter the VPC details from EMQX Cloud.

    You can get the information from the Network Management -> VPC Peering Connection section of your deployment in the EQMX Cloud Console.

    vpc_info

  5. Once the peering is added in Confluent, go to the Network Overview page and copy the Confluent Cloud VPC ID.

    confluent_vpc_peering2

  6. Return to the EMQX Cloud console. Enter the Confluent Cloud VPC ID you just copied and click Confirm. When the status changes to Running, the VPC peering connection is successfully established.

    vpc

Delete a VPC Peering Connection

To delete a peering connection, you need to ensure that the status of the peering connection is Running.

TIP

Before deleting the peering connection, please make sure that there are no associated resources in the deployment; otherwise, there will be unpredictable risks

  1. Go to the VPC Peering Connection area on the Network Management page.

    vpc-list

  2. Click the "delete" icon in the Actions column of the peering connection.

    vpc-delete