VPCs

Manage your YugabyteDB Managed VPCs

A virtual private cloud (VPC) is a virtual network where you can deploy clusters that you want to connect with services hosted with the same provider. The VPC reserves a range of IP addresses with the cloud provider you select. You must set up a dedicated VPC before deploying your cluster. A VPC must be created before you can configure a peering connection or private service endpoint.

For lowest latencies, create your VPC in the same region(s) as your applications. If you are connecting to your application via a private service endpoint (AWS only), your VPC must be located in the same region as the endpoint to which you are linking.

VPCs on the VPC Network tab of the Network Access page displays a list of VPCs configured for your cloud that includes the VPC name, provider, region, CIDR, number of peering connections, number of clusters deployed in the VPC, and status.

VPCs

To view VPC details, select a VPC in the list to display the VPC Details sheet.

To terminate a VPC, click the Delete icon for the VPC in the list you want to terminate, and then click Terminate. You can also terminate a VPC by clicking Terminate VPC in the VPC Details sheet. You can't terminate a VPC with active peering connections or clusters.

Create a VPC

To create a VPC, do the following:

  1. On the Network Access page, select VPC Network, then VPCs.
  2. Click Create VPC to display the Create VPC sheet.
  3. Enter a name for the VPC.
  4. Choose the provider (AWS).
  5. Select the region.
  6. Specify the CIDR address. Ensure the following:
    • the address does not overlap with that of any application VPC you want to peer.
    • the address does not overlap with VPCs that will be used for other regions of a multi-region cluster.
    • for production clusters, use network sizes of /24 or /25.
  7. Click Save.
  1. On the Network Access page, select VPC Network, then VPCs.

  2. Click Create VPC to display the Create VPC sheet.

  3. Enter a name for the VPC.

  4. Choose the provider (GCP).

  5. Choose one of the following options:

    • Automated - VPCs are created globally and GCP assigns network blocks to each region supported by YugabyteDB Managed. (Not recommended for production, refer to Considerations for auto mode VPC networks in the GCP documentation.)
    • Custom - Select a region. Click Add Region to add additional regions. If the VPC is to be used for a multi-region cluster, add a region for each of the regions in the cluster.
  6. Specify the CIDR address. CIDR addresses in different regions can't overlap.

    • For Automated, use network sizes of /16, /17, or /18.
    • For Custom, use network sizes of /24, /25, or /26.

    Ensure the address does not overlap with that of the application VPC.

  7. Click Save.

YugabyteDB Managed adds the VPC to the VPCs list with a status of Creating. If successful, after a minute or two, the status will change to Active.

Limitations

  • You assign a VPC when you create a cluster. You can't switch VPCs after cluster creation.
  • You can't change the size of your VPC once it is created.
  • You can't peer VPCs with overlapping ranges with the same application VPC.
  • You can create a maximum of 3 AWS VPCs per region.
  • You can create a maximum of 3 GCP VPCs.
  • VPCs are not supported on Sandbox clusters.

If you need additional VPCs, contact Yugabyte Support.