How to activate VPC on CloudAMQP

This page is available on dedicated instances with VPC enabled

A Virtual Private Cloud (VPC) is a public cloud environment that allows users or companies to set up private clouds in a shared cloud infrastructure. It is possible to set up a peering connection between your VPC and a CloudAMQP VPC with AWS and Google Cloud Platform.


VPC is $99 per month

How to launch a CloudAMQP cluster in a VPC

  1. Create a plan in a dedicated VPC

    A dedicated VPC is only available for dedicated plans. See our Plans & Pricing for more information. Configuration step for VPC inside CloudAMQP Shown: Part of the configuring step when creating a new instance in CloudAMQP

  2. Select a VPC subnet

    When creating a VPC, the VPC subnet must be selected. Ensure that it does not overlap with any VPC subnets needed for peering.

  3. Create a peering request to CloudAMQP

    Open the details for the new instance as soon as it is created and navigate to the VPC view. At the top of the page, find the information needed to create the peering request.

Launch a CloudAMQP cluster in Amazon AWS VPC

  1. Create Peering Connection in AWS

    Log in to the AWS account, go to VPC and click Peering Connections. Click Create Peering Connection and create a request from the VPC to the CloudAMQP VPC. Ensure the DNS Resolution configures correctly; see section DNS Resolution below for more information.

  2. Accept the peering request

    To accept the peering request, go to the VPC tab in the CloudAMQP Console and click the Accept button for the pending request.

  3. Create a route to CloudAMQP VPC

    In AWS, navigate to VPC, and select the VPC for which the peering request was created. Click on the Route table in the Description tab to go to the routing table associated with the VPC.

    Now click the Routes tab, then Edit routes, and finally Add route. Enter the subnet for the CloudAMQP VPC, select Peering connection in the target dropdown, and select the peering connection just created.

    Click Save routes button, and it is done! Configuration step for VPC inside Amazon AWS Shown: Adding routes to a VPC route table in AWS.
    For further information see AWS Documentation for routing table.

DNS Resolution for Amazon AWS VPC

When peering a CloudAMQP cluster with a VPC, two different hostnames are provided, for example, and . The first one is for internal communication between servers in the VPC, and the second one is for public communication, e.g, to access the management UI. In our blog post "Amazon VPC Peering with CloudAMQP" you can learn more about how the public hostname can be set to resolve to the internal IP address, if the requester is located inside the VPC.

Launch a CloudAMQP cluster in Google Cloud Platform VPC

  1. Create peering request to CloudAMQP

    Create a peering request from your GCP account to your CloudAMQP VPC network. More information on how to do this is available in the Google Cloud Docs:
    Using VPC Network Peering.

  2. Accept the peering request

    To accept the peering request, go to the VPC tab in the CloudAMQP Console and create a peering request from the CloudAMPQ VPC to your GCP account.

    Note that only "subnet peering routes" get imported by default, i.e. static and dynamic routes are not exchanged.