Create CloudAMQP instances in a virtual private cloud (VPC) on Google Cloud Platform and peer with an internal VPC to keep traffic private.
A VPC network is a virtual version of the traditional physical networks that exist within and between physical data centers. Each VPC network is subdivided into subnets. When creating an instance, a subnet must be created, causing the instance to draw its primary internal IP address from that subnet. Instances in a VPC network communicate with instances in all other subnets of the same VPC network using their RFC1918 private IP addresses. Read more at Google VPC docs
Launch a CloudAMQP cluster in GCP VPC
Create your plan in a dedicated VPC and select subnetDedicated VPC is only available for our dedicated plans. When you've selected VPC you'll get to select the VPC subnet. Make sure it doesn't overlap with any VPC subnets you want to peer with.
It is not possible to create a VPC after the instance has been created so make sure you do it when creating a new instance.
Create peering request to CloudAMQPWhen the new instance has been created, navigate to the VPC tab in the CloudAMQP Console, and create a peering request to your VPC Network.
Next step is to create a peering request from your GCP account to your CloudAMQP VPC network. More information on how to do that is available in this guide.
Accept the peering requestTo accept the peering request, go to the VPC tab in the CloudAMQP Console and click Accept for the pending request.
To learn more about VPC peering with GCP, please read this guide.
Questions and feedback
Hope this article helped you understand how to do a VPC Peering Connections to a CloudAMQP VPC!
Please email us at email@example.com if you have any suggestions or feedback.