If you need to connect Message Queue for Apache Kafka only to a virtual private cloud (VPC), you can purchase and deploy a Message Queue for Apache Kafka instance of the VPC type. You cannot change the network type after you select it.
Prerequisites
- Message Queue for Apache Kafka is granted the permission to access resources of other cloud services. For more information, see Step 1: Obtain the access permissions.
- A VPC is created. For more information, see Create a VPC.
Step 1: Purchase a Message Queue for Apache Kafka instance
- Log on to the Message Queue for Apache Kafka console.
- In the top navigation bar, select the region where you want to purchase an instance.
- In the left-side navigation pane, click Overview.
- On the Overview page, click Purchase Instance.
- On the page that appears, set Network to VPC. Select appropriate configurations as required. Then, click Buy Now.
- Confirm and pay for the order.
Step 2: Obtain the VPC information
- Log on to the VPC console.
- Select the region where the VPC is deployed.
- In the left-side navigation pane, click VSwitches.
- On the VSwitches page, click the specified instance. View the vSwitch ID and VPC ID on the VSwitch Details page.
Step 3: Deploy the instance
Step 4: View the endpoint
In the Message Queue for Apache Kafka console, click Instance Details in the left-side navigation pane. In the Basic Information section, view the value of Default Endpoint.