VPC Peering Connections

VPC peering connection is a network connection between two VPCs. Through this connection, the instances in different VPCs can communicate with each other as if they are in the same network.

Precautions

  1. EMQ X Cloud only supports creating peering connection at the same region
  2. EMQ x cloud does not support CIDR of 100.0.0.0/8,101.0.0.0/8 . Please plan your VPC CIDR reasonably
  3. Peering connections are bound to resources. Please create peering connections before creating resources

AWS Cloud VPC Peering Connection

Creating peering connection

  1. Log in to EMQ X Cloud console, go to the deployment details page, click the + VPC Peering Connection button, and record Region of deploymentVPC ID of deploymentCIDR of deploymentAccount ID of EMQ X Cloud in the pop-up dialog box, which need to be used later. Please don’t close this dialog box

    create-vpc1

  2. Log in to the Amazon Web Services console, switch to the region where Region of deployment is recorded in step 1, go to Networking & Content Delivery -> VPC -> Peering Connection, and click the button of Create Peering Connection

    • Select Another account of AccountAccount ID , fill in the Account ID of EMQ X Cloud recorded in step 1
    • Select This region(us-east-1) of Region
    • For VPC (Accepter), fill in the VPC ID of deployment in step 1.

    aws-vpc-request

    After filling in all the information, click the button of Create Peering Connection

  3. Once created, the following will be displayed. Please record Requester VPC owner, Requester VPC ID, VPC Peering Connection, which need to be used later

    aws-vpc1

  4. Return to EMQ X Cloud console, fill in the information recorded in step 3, and click the Confirm button to complete the creation of the peering connection

    • For Peering ID, fill in the recorded VPC Peering Connection
    • For Account ID, fill in the recorded Requester VPC owner
    • For VPC ID, fill in the recorded Requester VPC ID

    create-vpc2

  5. Return to Amazon Web Services console, go to Networking & Content Delivery -> VPC -> Route Tables, add the CIDR of deployment recorded in step 1 to the route table of the corresponding VPC

    route-tables

  6. Go to Networking & Content Delivery -> VPC -> Security Groups,configure the security group bound to the corresponding VPC, edit inbound rules and add a rule

    security-groups

Delete peering connections

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

Note: 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 deployment details

    vpc-list

  2. Click the delete button on the right side of the peering connection

    vpc-delete

results matching ""

    No results matching ""